summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2024-07-26 21:17:14 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-07-29 18:52:29 +0300
commitebc33a3f8d0aeddf19fd5827add24b82ae171829 (patch)
treee8c1a5d320752997cc73df853be09098c04ef672 /tools/perf/scripts/python/export-to-postgresql.py
parent9da75a511c5558fa3da56759984fd1fa859186f0 (diff)
downloadlinux-ebc33a3f8d0aeddf19fd5827add24b82ae171829.tar.xz
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 <shannon.nelson@amd.com> Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel) Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions