Re: [PATCH net 1/1] net: stmmac: ensure tx function is not running in stmmac_xdp_release()

From: Jakub Kicinski
Date: Fri Nov 11 2022 - 23:05:45 EST


On Thu, 10 Nov 2022 14:45:52 +0800 Noor Azura Ahmad Tarmizi wrote:
> When stmmac_xdp_release() is called, there is a possibility that tx
> function is still running on other queues which will lead to tx queue
> timed out and reset adapter.
>
> This commit ensure that tx function is not running xdp before release
> flow continue to run.

Do we still need that netif_trans_update() later in the function?
That looks odd.