Subject: Re: [PATCH net] bnxt: don't handle XDP in netpoll

From: Jakub Kicinski <[email-masked]>
Date: Thu, 27 Jul 2023 12:05:22 -0700

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?