diff options
author | Sriram Yagnaraman <[email protected]> | 2024-08-22 09:42:07 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-09-09 11:01:01 -0700 |
commit | 27717f8b17c098c4373ddb8fe89e1a1899c7779d (patch) | |
tree | 7d780ee4d999206af581fe2f7744f03cf3550d18 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | d2940002b0aa42898de815a1453b29d440292386 (diff) |
igb: Always call igb_xdp_ring_update_tail() under Tx lock
Always call igb_xdp_ring_update_tail() under __netif_tx_lock, add a comment
and lockdep assert to indicate that. This is needed to share the same TX
ring between XDP, XSK and slow paths. Furthermore, the current XDP
implementation is racy on tail updates.
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Signed-off-by: Sriram Yagnaraman <[email protected]>
[Kurt: Add lockdep assert and fixes tag]
Signed-off-by: Kurt Kanzenbach <[email protected]>
Acked-by: Maciej Fijalkowski <[email protected]>
Tested-by: George Kuruvinakunnel <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions