[ovs-discuss] Using DPDK datapath and kernel module datapath

MCGRATH, GIL gm2391 at att.com
Wed Oct 8 21:13:46 UTC 2014

Being new to this dpdk stuff sorry for being a bit naïve. But I do need to
some help.

The documentation says vswitchd will print the number of dpdk devices

What is the exactly is the command I use to do this? I already am running
the ovs-vswitch deamon.

Also given I only did a single dpdk bind I am assuming the port to use is

I tried to execute the following at got the following error:

# ovs-vsctl add-port br-p1p1 dpdk0 -- set Interface p1p1 type=dpdk
ovs-vsctl: no row "p1p1" in table Interface

‹ Gil

On 10/8/14, 2:33 PM, "Pravin Shelar" <pshelar at nicira.com> wrote:

>On Wed, Oct 8, 2014 at 7:36 AM, MCGRATH, GIL <gm2391 at att.com> wrote:
>> All,
>> I build OVS from github trunk following the DPDK instructions.
>> A few questions:
>> Can I also load the kernel module and use create non
>> and non type=dpdk ports? (I.e. Use OVS as I normally do on non DPDK
>> interfaces?)
>> When I did the following command "$DPDK_DIR/tools/dpdk_nic_bind.py
>> --bind=igb_uio p1p1² I notice that the device ³p1p1² is no longer
>>present on
>> ³ip a² output. What device do I use to add-port tot he bridge using
>> type=dpdk? The output of "$DPDK_DIR/tools/dpdk_nic_bind.py ‹status² is:
>`dpdk_nic_bind --bind` command removes nic from kernel stack and moves
>it under userspace driver. So ip command can not see those nics.
>> Network devices using DPDK-compatible driver
>> ============================================
>> 0000:05:00.0 '82599 10 Gigabit Dual Port Backplane Connection'
>> unused=
>> Network devices using kernel driver
>> ===================================
>> 0000:04:00.0 'OneConnect 10Gb NIC (be3)' if=em1 drv=be2net
>> 0000:04:00.1 'OneConnect 10Gb NIC (be3)' if=em2 drv=be2net
>> 0000:04:00.2 'OneConnect 10Gb NIC (be3)' if=em3 drv=be2net
>> 0000:04:00.3 'OneConnect 10Gb NIC (be3)' if=em4 drv=be2net
>> *Active*
>> 0000:05:00.1 '82599 10 Gigabit Dual Port Backplane Connection' if=p1p2
>> drv=ixgbe unused=igb_uio
>> 0000:21:00.0 '82599 10 Gigabit Dual Port Backplane Connection' if=p2p1
>> drv=ixgbe unused=igb_uio
>> 0000:21:00.1 '82599 10 Gigabit Dual Port Backplane Connection' if=p2p2
>> drv=ixgbe unused=igb_uio
>> Other network devices
>> =====================
>> <none>
>> ‹ Gil
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss

More information about the discuss mailing list