Re: [dpdk-dev] [PATCH] kni: update link only on change

2021-07-09 Thread Thomas Monjalon
24/06/2021 15:32, Ferruh Yigit: > 'rte_kni_update_link()' updates virtual KNI interface link using kernel > sysfs interface. > If the requested link status is same as interface link status, do not > update the link status but return with success. > > Signed-off-by: Ferruh Yigit Applied, thanks.

[dpdk-dev] [PATCH] kni: update link only on change

2021-06-24 Thread Ferruh Yigit
'rte_kni_update_link()' updates virtual KNI interface link using kernel sysfs interface. If the requested link status is same as interface link status, do not update the link status but return with success. Signed-off-by: Ferruh Yigit --- Cc: Dan Gora --- lib/kni/rte_kni.c | 5 - lib/kni/