Hi Vivek,

You can ignore the 'Generic Netlink family' error, as you've mentioned.

From the output of dpdk_nic_bind, I can see that you're using the in-kernel 
standard IXGBE driver - you'll need to use one of the kernel drivers from the 
DPDK codebase to use a DPDK-compatible NIC with OVS-DPDK:

e.g. (for IGB_UIO driver)
        - modprobe uio
        - insmod $RTE_SDK/$RTE_TARGET/kmod/igb_uio.ko
        - $RTE_SDK/tools/dpdk_nic_bind.py -b <PCI_IDs of NIC ports> igb_uio
        - check that driver has bound successfully: 
$RTE_SDK/tools/dpdk_nic_bind.py --s
        - kick off test setup as normal

Btw, and on a completely separate point, could you remove the company signature 
at the end of your mail, as it's redundant on an Open Source mailing list?

Thanks,
Mark

>
>Hi
>
>I am trying  to add a port in OVS bridge by following command as below-
>
>ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk but I get error 
>message as below-
>
>|00018|dpif_netlink|ERR|Generic Netlink family 'ovs_datapath' does not exist. 
>The Open vSwitch kernel module is probably not loaded.
>|00019|bridge|INFO|bridge br0: using datapath ID 0000ae4edb87d04f
>|00020|connmgr|INFO|br0: added service controller 
>"punix:/usr/local/var/run/openvswitch/br0.mgmt"
>|00021|bridge|WARN|could not open network device dpdk0 (No such device)
>|00022|memory|INFO|peak resident set size grew 160% in last 10.0 seconds, from 
>6812 kB to 17716 kB
>|00023|memory|INFO|handlers:17 ports:1 revalidators:7 rules:5
>|00024|bridge|WARN|could not open network device dpdk0 (No such device)
>
>As per my understanding Not to worry for "Generic Netlink family error" 
>because I am building OVS in user space and not in kernel space. Please 
>correct me if I am wrong.
>
>Question#1->I am much more concerned about adding of port to OVS bridge. Why 
>port dpdk0  is not being added to bridge?
>
>
>Please find output of dpdk_nic_bind.py script-
>
>./tools/dpdk_nic_bind.py --status
>
>Network devices using DPDK-compatible driver
>============================================
><none>
>
>Network devices using kernel driver
>===================================
>0000:01:00.0 'Ethernet Controller 10-Gigabit X540-AT2' if=eth0 drv=ixgbe 
>unused=igb_uio,uio_pci_generic 
>0000:01:00.1 'Ethernet Controller 10-Gigabit X540-AT2' if=eth1 drv=ixgbe 
>unused=igb_uio,uio_pci_generic 
>0000:06:00.0 'Ethernet Controller 10-Gigabit X540-AT2' if=eth2 drv=ixgbe 
>unused=igb_uio,uio_pci_generic 
>0000:06:00.1 'Ethernet Controller 10-Gigabit X540-AT2' if=eth3 drv=ixgbe 
>unused=igb_uio,uio_pci_generic 
>0000:81:00.0 'Ethernet Controller 10-Gigabit X540-AT2' if=eth4 drv=ixgbe 
>unused=igb_uio,uio_pci_generic 
>0000:81:00.1 'Ethernet Controller 10-Gigabit X540-AT2' if=eth5 drv=ixgbe 
>unused=igb_uio,uio_pci_generic 
>
>Other network devices
>=====================
><none>
>
>
>Question#2-> Only DPDK compaitable driver network devices  should be used in 
>place of dpdk0? 
>
>Thanks & regards
>Vivek
>
>
>
>
>::DISCLAIMER::
>----------------------------------------------------------------------------------------------------------------------------------------------------
>The contents of this e-mail and any attachment(s) are confidential and 
>intended for the named recipient(s) only.
>E-mail transmission is not guaranteed to be secure or error-free as 
>information could be intercepted, corrupted, 
>lost, destroyed, arrive late or incomplete, or may contain viruses in 
>transmission. The e mail and its contents 
>(with or without referred errors) shall therefore not attach any liability on 
>the originator or HCL or its affiliates. 
>Views or opinions, if any, presented in this email are solely those of the 
>author and may not necessarily reflect the 
>views or opinions of HCL or its affiliates. Any form of reproduction, 
>dissemination, copying, disclosure, modification, 
>distribution and / or publication of this message without the prior written 
>consent of authorized representative of 
>HCL is strictly prohibited. If you have received this email in error please 
>delete it and notify the sender immediately. 
>Before opening any email and/or attachments, please check them for viruses and 
>other defects.
>----------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to