[dpdk-dev] How to add veth interfaces in dpdk

Marc Sune marc.sune at bisdn.de
Fri Dec 12 14:41:35 CET 2014


On 12/12/14 14:34, Sachin Sharma wrote:
> Hi all,
>
> I have created veth interfaces using  command "sudo ip link add veth1 type
> veth peer name veth2". However, when I use command "sudo
> ./tools/igb_uio_bind.py --force --bind=igb_uio veth1" to add veth into
> dpdk. It gives me an error that "Unknown device: veth1. Please specify
> device in "bus:slot.func" format". I do not see even veth interfaces using
> command "sudo ./tools/igb_uio_bind.py --status". Is there any way that I
> can add these interfaces into dpdk?

veth are software interfaces, meaning there is no real NIC behind. 
That's why you cannot bind them to igb_uio.

You can use KNI interfaces for communicating a DPDK application with the 
kernel interfaces and viceversa. There is an overhead on doing so, but 
whether this is an appropriate solution or not, depends on your use 
case. What do you plan to do?

Marc

>
>
> Regards,
> Sachin.



More information about the dev mailing list