diff options
| author | Sean Anderson <[email protected]> | 2024-09-13 14:57:11 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-09-19 11:00:36 +0000 |
| commit | ba0da2dc934ec5ac32bbeecbd0670da16ba03565 (patch) | |
| tree | 9c844cc8227fba9ad2313f6e650eeea30e7663ec /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | net: phy: aquantia: fix -ETIMEDOUT PHY probe failure when firmware not present (diff) | |
| download | kernel-ba0da2dc934ec5ac32bbeecbd0670da16ba03565.tar.gz kernel-ba0da2dc934ec5ac32bbeecbd0670da16ba03565.zip | |
net: xilinx: axienet: Schedule NAPI in two steps
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 <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions
