aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2024-09-13 10:57:11 -0400
committerPaolo Abeni <[email protected]>2024-09-19 13:00:36 +0200
commitba0da2dc934ec5ac32bbeecbd0670da16ba03565 (patch)
tree9c844cc8227fba9ad2313f6e650eeea30e7663ec /tools/testing/selftests/bpf/prog_tests/autoload.c
parent194ef9d0de9021df4a0ba8b112f91e56adaddd22 (diff)
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 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions