]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit064fd9bf2b8a66507c184cc15d70b20c7f02d11a
treef1edb2ec6544a98fd670ab7eacb506283267f2de
parentbb16d869ab60f21e93c457ac15e5792d743ea92c
ionic: refactor use of ionic_rx_fill()

[ Upstream commit d07459c44de5c1c48fb6c92f2af3a68948b56141 ]

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: ab178f345960 ("ionic: missed doorbell workaround")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c