ionic: batch rx buffer refilling
authorShannon Nelson <snelson@pensando.io>
Thu, 12 Nov 2020 18:22:04 +0000 (10:22 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Nov 2020 21:22:58 +0000 (13:22 -0800)
commita8205ab6208f79bc767ebdf26d79e661219996e8
treefe841ae2893c0f6f683ae0422f9f0b13fc0c74be
parente7e8e087acde0890eb7829c03c5bdcf24c469bed
ionic: batch rx buffer refilling

We don't need to refill the rx descriptors on every napi
if only a few were handled.  Waiting until we can batch up
a few together will save us a few Rx cycles.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_dev.h
drivers/net/ethernet/pensando/ionic/ionic_txrx.c