Re: [dpdk-dev] [PATCH] kni: update kernel API to set random MAC address

2021-11-08 Thread Thomas Monjalon
03/11/2021 13:59, Ferruh Yigit: > Previously used 'random_ether_addr()' API is removed in upstream kernel > with commit > Commit ba530fea8ca1 ("ethernet: remove random_ether_addr()") > > Replacement API 'eth_random_addr()' is around since v3.6 [1], so > simply switching to this API without any ver

[dpdk-dev] [PATCH] kni: update kernel API to set random MAC address

2021-11-03 Thread Ferruh Yigit
Previously used 'random_ether_addr()' API is removed in upstream kernel with commit Commit ba530fea8ca1 ("ethernet: remove random_ether_addr()") Replacement API 'eth_random_addr()' is around since v3.6 [1], so simply switching to this API without any version checks. [1] 0a4dd594982a ("etherdevice