[PATCH net v2] net: xilinx: axienet: Schedule NAPI in two steps
Eric Dumazet
edumazet at google.com
Fri Sep 13 08:37:35 PDT 2024
On Fri, Sep 13, 2024 at 4:57 PM Sean Anderson <sean.anderson at linux.dev> 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 at linux.dev>
> Reviewed-by: Shannon Nelson <shannon.nelson at amd.com>
> ---
Reviewed-by: Eric Dumazet <edumazet at google.com>
More information about the linux-arm-kernel
mailing list