diff options
author | Maciej Fijalkowski <[email protected]> | 2024-07-26 20:17:14 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-07-29 08:52:29 -0700 |
commit | ebc33a3f8d0aeddf19fd5827add24b82ae171829 (patch) | |
tree | e8c1a5d320752997cc73df853be09098c04ef672 /scripts/gdb/linux/stackdepot.py | |
parent | 9da75a511c5558fa3da56759984fd1fa859186f0 (diff) |
ice: improve updating ice_{t,r}x_ring::xsk_pool
xsk_buff_pool pointers that ice ring structs hold are updated via
ndo_bpf that is executed in process context while it can be read by
remote CPU at the same time within NAPI poll. Use synchronize_net()
after pointer update and {READ,WRITE}_ONCE() when working with mentioned
pointer.
Fixes: 2d4238f55697 ("ice: Add support for AF_XDP")
Reviewed-by: Shannon Nelson <[email protected]>
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel)
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions