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

Jakub Kicinski
2022-11-12T04:07:02Z

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.