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 <[email protected]> Acked-by: Maciej Fijalkowski <[email protected]> --- drivers/net/ethernet/intel/igc/igc_xdp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Tested-by: Avigail Dahan <[email protected]>
