ionic: minimal work with 0 budget
authorShannon Nelson <shannon.nelson@amd.com>
Sat, 10 Feb 2024 00:13:07 +0000 (16:13 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 Feb 2024 01:34:11 +0000 (17:34 -0800)
commit2f74258d997c8b93627041d94daa265b5f0d1b4d
treecb2f8d511b49f4bd9551452647743568a66b7a6a
parent1692b9775e745f84b69dc8ad0075b0855a43db4e
ionic: minimal work with 0 budget

We should be doing as little as possible besides freeing Tx
space when our napi routines are called with budget of 0, so
jump out before doing anything besides Tx cleaning.

See commit afbed3f74830 ("net/mlx5e: do as little as possible in napi poll when budget is 0")
for more info.

Fixes: fe8c30b50835 ("ionic: separate interrupt for Tx and Rx")
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20240210001307.48450-1-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c