diff options
author | 2025-01-06 14:19:15 -0800 | |
---|---|---|
committer | 2025-01-07 18:14:09 -0800 | |
commit | 484d3675f2aa7710a4092411a203b719486e8666 (patch) | |
tree | b8c67caad28c7249a8855aeffa674f52c9aa6fdd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | igb: Add AF_XDP zero-copy Tx support (diff) | |
download | wireguard-linux-484d3675f2aa7710a4092411a203b719486e8666.tar.xz wireguard-linux-484d3675f2aa7710a4092411a203b719486e8666.zip |
igc: Allow hot-swapping XDP program
Currently, the driver would always close and reopen the network interface
when setting/removing the XDP program, regardless of the presence of XDP
resources. This could cause unnecessary disruptions.
To avoid this, introduces a check to determine if there is a need to
close and reopen the interface, allowing for seamless hot-swapping of
XDP programs.
Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Avigail Dahan <avigailx.dahan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20250106221929.956999-8-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions