diff options
author | Song Yoong Siang <yoong.siang.song@intel.com> | 2025-01-06 14:19:15 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-07 18:14:09 -0800 |
commit | 484d3675f2aa7710a4092411a203b719486e8666 (patch) | |
tree | b8c67caad28c7249a8855aeffa674f52c9aa6fdd /scripts/lib/kdoc/kdoc_parser.py | |
parent | f8e284a02afc9797d5f626fc7dfb6f7d381d4e77 (diff) |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions