ionic: refactor use of ionic_rx_fill()
authorNeel Patel <neel@pensando.io>
Wed, 26 Oct 2022 14:37:44 +0000 (07:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 18:11:44 +0000 (19:11 +0100)
commita16f6ea194fe0ea24c05fa51c46cd1dc38c7380d
treef1edb2ec6544a98fd670ab7eacb506283267f2de
parentdb34b5352e92155cdb8f4566469343526b2eeb1b
ionic: refactor use of ionic_rx_fill()

[ Upstream commit e55f0f5befc26e2ba6bb8c1f945ea8e37ee0e334 ]

The same pre-work code is used before each call to
ionic_rx_fill(), so bring it in and make it a part of
the routine.

Signed-off-by: Neel Patel <neel@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: b69585bfcece ("ionic: missed doorbell workaround")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c