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


Attachment: OVS with DPDK Build issue.odt
Description: Binary data

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to