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>
Fri, 3 Mar 2023 10:45:51 +0000 (11:45 +0100)
commit765b3a0e0a8119b04f76541b8b36291b929c1e80
tree1e8cbd54cfd840662e3621651bb3b2df39d9999f
parentd383d0f28ecac0f3375bdfb9a0c4bfac979f6f8f
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c