When I run the DPDK KNI application it gives random mac address to the ethernet ports. How can I configure it to set up the real MAC address of the hardware(ethernet ports)? It seems like I can get mac address by calling rte_eth_macaddr_get but to set up I need to call kni_net_set_mac which takes in net_device structure which again I don't have access to from my application. Is there a way to set up the mac address of dpdk ports to its original mac address in kni application.
- [dpdk-users] Setting real MAC address in KNI applicati... Sushil Adhikari
- Re: [dpdk-users] Setting real MAC address in KNI ... Andriy Berestovskyy
- Re: [dpdk-users] Setting real MAC address in ... Sushil Adhikari
