[Intel-wired-lan] [PATCH iwl-next 1/1] igc: Allow hot-swapping XDP program

Avigail Dahan Avigailx.dahan at intel.com
Wed Nov 27 08:34:00 UTC 2024



On 18/11/2024 6:15, Song Yoong Siang wrote:
> 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 at intel.com>
> Acked-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>
> ---
>   drivers/net/ethernet/intel/igc/igc_xdp.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
> 
Tested-by: Avigail Dahan <avigailx.dahan at intel.com>


More information about the Intel-wired-lan mailing list