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

Zhou, Danny danny.zhou at intel.com
Fri Dec 12 16:24:44 CET 2014


DPDK does not have PMD to support veth. I guess you might want to try to run DPDK in container, right? 
If that is the case, you have to assign a NIC's PF or VF to container to be driven by DPDK PMD.

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sachin Sharma
> Sent: Friday, December 12, 2014 9:35 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] How to add veth interfaces in dpdk
> 
> 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?
> 
> 
> Regards,
> Sachin.


More information about the dev mailing list