Re: [PATCH net v2] net: xilinx: axienet: Schedule NAPI in two steps
From: Eric Dumazet
Date: Fri Sep 13 2024 - 11:37:59 EST
On Fri, Sep 13, 2024 at 4:57 PM Sean Anderson <sean.anderson@xxxxxxxxx> wrote:
>
> As advised by Documentation/networking/napi.rst, masking IRQs after
> calling napi_schedule can be racy. Avoid this by only masking/scheduling
> if napi_schedule_prep returns true.
>
> Fixes: 9e2bc267e780 ("net: axienet: Use NAPI for TX completion path")
> Fixes: cc37610caaf8 ("net: axienet: implement NAPI and GRO receive")
> Signed-off-by: Sean Anderson <sean.anderson@xxxxxxxxx>
> Reviewed-by: Shannon Nelson <shannon.nelson@xxxxxxx>
> ---
Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>