[dpdk-users] Configuring MAC Address of KNI - Don't want random

Jay Rolette rolette at infinite.io
Tue Apr 12 17:40:08 CEST 2016

On Mon, Apr 11, 2016 at 4:01 AM, Andriy Berestovskyy <aber at semihalf.com>

> Hi sml,
> The KNI uses old ixgbe and igb Linux drivers in order to support
> ethtool. Here is the list of supported e1000 devices:
> http://dpdk.org/browse/dpdk/tree/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h#n37
> The list is somewhat shorter than the list of supported devices in
> DPDK itself. So there are some devices which work well in DPDK, but
> KNI generates random MACs for them.
> The DPDK community decided to get rid of the KNI, so your only option
> is to set the MAC on vEth using ip(8) or ifconfig(8). You can also add
> an option into the /etc/network/interfaces (or similar), so the MAC
> will be configured once your vEth device is up.

Sorry, but this is incorrect. DPDK has definitely NOT decided to get rid of

There is a desire to find better solutions than KNI, but for that to
happen, there has to be something that provides equivalent functionality.
There are multiple products built on DPDK that rely on KNI for various

There are some proposals for ways to get away from KNI, but nothing
accepted or scheduled to replace or even deprecate KNI.


More information about the users mailing list