Re: [PATCH net] bnxt: don't handle XDP in netpoll
From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-07-27 19:05:23
From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-07-27 19:05:23
On Thu, 27 Jul 2023 11:52:10 -0700 Michael Chan wrote:
These TX packet completions have already been counted in __bnxt_poll_work(). If we do nothing here, I think the TX ring will forever be out-of-sync with the completion ring.
I see... Do you prefer adding a return value to tx_int() to tell __bnxt_poll_work_done() whether the work has been done; or to clear tx_pkts in the handler itself rather than the caller?