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

Thomas Monjalon thomas at monjalon.net
Mon Nov 8 11:53:12 CET 2021


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 version checks.
> 
> [1]
> 0a4dd594982a ("etherdevice: Rename random_ether_addr to eth_random_addr")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks.





More information about the dev mailing list