[ovs-discuss] OVS with DPDK - Setup issue

Kumar Sanjay10 kumar.sanjay10 at tcs.com
Fri Dec 1 09:23:54 UTC 2017


 
Hi,

I  am trying to work on DPDK with OVS. But, getting an error during the  "setup DPDK devices using VFIO". List of commands executed as follows:

DPDK Building:         #export DPDK_DIR=/home/tcs/dpdk-17.11 



#export DPDK_TARGET=x86_64-native-linuxapp-gcc#export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET   #make install T=$DPDK_TARGET DESTDIR=install   
  OVS Building:   #cd openvswitch-2.8.0/    #./boot.sh       #./configure –with-dpdk=$DPDK_BUILD   #make && make install   
  #echo 'vm.nr_hugepages=2048' > /etc/sysctl.d/hugepages.conf   #sysctl -w vm.nr_hugepages=10         #grep HugePages_ /proc/meminfo   #mkdir -p /dev/hugepages                 #mount -t hugetlbfs none /dev/hugepages``   
  #dmesg | grep -e DMAR -e IOMMU   #cat /proc/cmdline | grep iommu=pt         #cat /proc/cmdline | grep intel_iommu=on - No Response 
  #modprobe vfio-pci                 #chmod a+x /dev/vfio                 #chmod 0666 /dev/vfio/*   
  #$DPDK_DIR/usertools/dpdk-devbind.py --bind=vfio-pci eth1   Routing table indicates that interface 0000:1c:00.1 is active. Not modifying   
  #$DPDK_DIR/usertools/dpdk-devbind.py --status   Network devices using DPDK-compatible driver   ============================================  <none>   
  Network devices using kernel driver   ===================================  0000:1c:00.0 'Device 37d2' if=eth0 drv=i40e unused=vfio-pci *Active*   0000:1c:00.1 'Device 37d2' if=eth1 drv=i40e unused=vfio-pci *Active*   
  #ifconfig 0000:1c:00.1 down   0000:1c:00.1: ERROR while getting interface flags: No such device   
  #$DPDK_DIR/usertools/dpdk-devbind.py --status   Network devices using kernel driver   ===================================  0000:1c:00.0 'Device 37d2' if=eth0 drv=i40e unused=vfio-pci *Active*   0000:1c:00.1 'Device 37d2' if=eth1 drv=i40e unused=vfio-pci   
  #$DPDK_DIR/usertools/dpdk-devbind.py --bind=vfio-pci eth1   Error: bind failed for 0000:1c:00.1 - Cannot bind to driver vfio-pci   Error: unbind failed for 0000:1c:00.1 - Cannot open /sys/bus/pci/drivers//unbind   
  #$DPDK_DIR/usertools/dpdk-devbind.py --status   Network devices using kernel driver   ===================================  0000:1c:00.0 'Device 37d2' if=eth0 drv=i40e unused=vfio-pci *Active*   
  #ifconfig 0000:1c:00.1 up   0000:1c:00.1: ERROR while getting interface flags: No such device   
  #$DPDK_DIR/usertools/dpdk-devbind.py &#8211;status  (eth1 is not up)  

Note: I have tried with other version, but response is same as above.

Please let me know the way to resolve this issue.

Thanks & Regards,

Sanjay Kumar 
Synergy Park, ODC5
Hyderabad - 500032
Mobile Phone : +91 9394 829 881
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20171201/a415a2af/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OVS with DPDK Build issue.odt
Type: application/octet-stream
Size: 51693 bytes
Desc: not available
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20171201/a415a2af/attachment-0001.obj>


More information about the discuss mailing list