Hi There,

We downloaded the latest version master branch from 
github<https://github.com/openvswitch/ovs> and tried to setup OVS with DPDK 
mode, however looks like dpdk mode is not supported.

root@degsdnd02:/usr/dpdk-16.04/tools#<mailto:root@degsdnd02:/usr/dpdk-16.04/tools#>
 export DB_SOCK=/usr/local/var/run/openvswitch/db.sock
root@degsdnd02:/usr/dpdk-16.04/tools#<mailto:root@degsdnd02:/usr/dpdk-16.04/tools#>
 ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile --                  
                                    detach --log-file
ovs-vswitchd: Using --dpdk to configure DPDK is not supported.


Is there any change impacts the parameter recently? I remember I tried the 
master branch which was grubbed by Apr.28th , the dpdk mode OVS were working 
well with the above command.

dpdk: 16.04

Best Regards,
Alex

root@degsdnd02:~# cd /usr/dpdk-16.04
root@degsdnd02:/usr/dpdk-16.04# mkdir -p /mnt/huge
root@degsdnd02:/usr/dpdk-16.04# mount -t hugetlbfs nodev /mnt/huge
root@degsdnd02:/usr/dpdk-16.04# echo 2048 > 
/sys/devices/system/node/node0/hugep                                            
                                            ages/hugepages-2048kB/nr_hugepages
root@degsdnd02:/usr/dpdk-16.04# modprobe uio
root@degsdnd02:/usr/dpdk-16.04# insmod 
x86_64-native-linuxapp-gcc/kmod/igb_uio.k                                       
                                                 o
root@degsdnd02:/usr/dpdk-16.04# cd tools/
root@degsdnd02:/usr/dpdk-16.04/tools# ./dpdk_nic_bind.py --s

Network devices using DPDK-compatible driver
============================================
<none>

Network devices using kernel driver
===================================
0000:03:00.0 'I350 Gigabit Network Connection' if=em1 drv=igb unused=igb_uio 
*Ac                                                                             
           tive*
0000:03:00.3 'I350 Gigabit Network Connection' if=eth1 drv=igb unused=igb_uio
0000:81:00.0 'Ethernet Controller LX710 for 40GbE QSFP+' if=p787p1 drv=i40e 
unus                                                                            
            ed=igb_uio
0000:81:00.1 'Ethernet Controller LX710 for 40GbE QSFP+' if=p787p2 drv=i40e 
unus                                                                            
            ed=igb_uio
0000:83:00.0 'Device 15d0' if=p801p1 drv=fm10k unused=igb_uio
0000:85:00.0 'Device 15d0' if=p802p1 drv=fm10k unused=igb_uio
0000:88:00.0 'Ethernet 10G 2P X710 Adapter' if=p803p1 drv=i40e unused=igb_uio
0000:88:00.1 'Ethernet 10G 2P X710 Adapter' if=p803p2 drv=i40e unused=igb_uio
0000:88:00.2 'Ethernet 10G 2P X710 Adapter' if=p803p3 drv=i40e unused=igb_uio
0000:88:00.3 'Ethernet 10G 2P X710 Adapter' if=p803p4 drv=i40e unused=igb_uio

Other network devices
=====================
<none>
root@degsdnd02:/usr/dpdk-16.04/tools# ./dpdk_nic_bind.py -b igb_uio 81:00.0
root@degsdnd02:/usr/dpdk-16.04/tools# ./dpdk_nic_bind.py -b igb_uio 81:00.1
root@degsdnd02:/usr/dpdk-16.04/tools# modprobe openvswitch
root@degsdnd02:/usr/dpdk-16.04/tools# mkdir -p /usr/local/etc/openvswitch
root@degsdnd02:/usr/dpdk-16.04/tools# rm /usr/local/etc/openvswitch/conf.db
rm: cannot remove '/usr/local/etc/openvswitch/conf.db': No such file or 
directory
root@degsdnd02:/usr/dpdk-16.04/tools# ovsdb-tool create 
/usr/local/etc/openvswitch/conf.db /usr/loc                                     
                                al/share/openvswitch/vswitch.ovsschema
root@degsdnd02:/usr/dpdk-16.04/tools# ovsdb-server 
--remote=punix:/usr/local/var/run/openvswitch/db                                
                                     .sock 
--remote=db:Open_vSwitch,Open_vSwitch,manager_options 
--private-key=db:Open_vSwitch,SSL,priva                                         
                            te_key 
--certificate=db:Open_vSwitch,SSL,certificate 
--bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cer                                  
                                   t --pidfile --detach
root@degsdnd02:/usr/dpdk-16.04/tools# ovs-vsctl --no-wait init
root@degsdnd02:/usr/dpdk-16.04/tools# export 
DB_SOCK=/usr/local/var/run/openvswitch/db.sock
root@degsdnd02:/usr/dpdk-16.04/tools# ovs-vswitchd --dpdk -c 0x1 -n 4 -- 
unix:$DB_SOCK --pidfile --                                                      
               detach --log-file
ovs-vswitchd: Using --dpdk to configure DPDK is not supported.
root@degsdnd02:/usr/dpdk-16.04/tools#
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to