ovs dpdk

From Whipped Horse, 2 Years ago, written in Plain Text, viewed 256 times. This paste will bite the big one in 1 Second.
URL https://paste.steamr.com/view/46b8832d Embed
Download Paste or View Raw
  1. ovs-vsctl add-bond nic0 dpdkbond dpdk0 dpdk1 lacp=active bond_mode=balance-tcp other_config:bond-detect-mode=miimon other_config:bond-miimon-interval=100 other_config:lacp-fallback-ab=true -- set interface dpdk0 type=dpdk options:dpdk-devargs=0000:31:00.0    -- set Interface dpdk1 type=dpdk options:dpdk-devargs=0000:31:00.1
  2.  
  3. ovs-vsctl add-bond nic0 bond0 ens2f0 ens2f1 lacp=active bond_mode=balance-tcp other_config:bond-detect-mode=miimon other_config:bond-miimon-interval=100 other_config:lacp-fallback-ab=true
  4.  
  5.  
  6. ovs-vsctl add-port nic0 dpdk0 -- set interface dpdk0 type=dpdk options:dpdk-devargs=0000:31:00.0 ; ovs-vsctl del-port dpdk0
  7.  
  8. # ovs-vsctl add-br ovsbr0 -- set bridge ovsbr0 datapath_type=netdev
  9. # ovs-vsctl add-bond ovsbr0 dpdkbond dpdk0 dpdk1 bond_mode=balance-tcp lacp=active -- set interface dpdk0 type=dpdk -- set Interface dpdk1 type=dpdk
  10. # ovs-vsctl set interface dpdk0 type=dpdk
  11. # ovs-vsctl set interface dpdk0 options:dpdk-devargs=0000:31:00.0
  12. # ovs-vsctl set interface dpdk1 type=dpdk
  13. # ovs-vsctl set interface dpdk1 options:dpdk-devargs=0000:31:00.1
  14.  
  15.  
  16. ovs-vsctl add-br nic0 -- set bridge nic0 datapath_type=netdev
  17. ovs-vsctl add-br public0 nic0 418
  18. ovs-vsctl add-br guest0 nic0 450
  19. ovs-vsctl add-br management0 nic0 417
  20. ovs-vsctl add-br storage0 nic0 3209
  21. ovs-vsctl add-bond nic0 bond0 ens2f0 ens2f1 lacp=active bond_mode=balance-tcp other_config:bond-detect-mode=miimon other_config:bond-miimon-interval=100 other_config:lacp-fallback-ab=true -- set interface ens2f0 type=dpdk -- set Interface ens2f1 type=dpdk -- set interface ens2f0 options:dpdk-devargs=0000:31:00.0 -- set interface ens2f1 options:dpdk-devargs=0000:31:00.1
  22.  
  23.  
  24.  
  25.  
  26. ovs-vsctl set bridge nic0 datapath_type=netdev
  27. ovs-vsctl set interface ens2f0 type=dpdk
  28. ovs-vsctl set interface ens2f0 options:dpdk-devargs=0000:31:00.0
  29. ovs-vsctl set interface ens2f1 type=dpdk
  30. ovs-vsctl set interface ens2f1 options:dpdk-devargs=0000:31:00.1
  31.  
  32.  
  33.  
  34. /etc/sysconfig/network-scripts/ bond0?
  35.  
  36. OVS_OPTIONS="lacp=active bond_mode=balance-tcp other_config:bond-detect-mode=miimon other_config:bond-miimon-interval=100 other_config:lacp-fallback-ab=true -- set bridge bond0 datapath_type=netdev -- set interface ens2f0 type=dpdk -- set interface ens2f0 options:dpdk-devargs=0000:31:00.0 -- set interface ens2f1 type=dpdk -- set interface ens2f1 options:dpdk-devargs=0000:31:00.1"
  37.  
  38.  
  39.  
  40.  
  41. BOOT_IMAGE=/boot/vmlinuz-3.10.0-693.17.1.el7.x86_64 root=UUID=fa414390-f78d-49d4-a164-54615a32977b ro console=tty0
  42. console=ttyS0,115200n8 crashkernel=auto rhgb quiet default_hugepagesz=1GB hugepagesz=1G hugepages=32 iommu=pt intel_iommu=on
  43.  
  44.  
  45. isolcpus=2,4,6,8,10,12,14,16,18,22,24,26,28,30,32,34,36,38,3,5,7,9,11,13,15,17,19,23,25,27,29,31,33,35,37,39 skew_tick=1
  46. nohz=on nohz_full=2,4,6,8,10,12,14,16,18,22,24,26,28,30,32,34,36,38,3,5,7,9,11,13,15,17,19,23,25,27,29,31,33,35,37,39
  47. rcu_nocbs=2,4,6,8,10,12,14,16,18,22,24,26,28,30,32,34,36,38,3,5,7,9,11,13,15,17,19,23,25,27,29,31,33,35,37,39
  48. tuned.non_isolcpus=00300003 intel_pstate=disable nosoftlockup
  49.  
  50.  
  51.  
  52. OVS_EXTRA="set interface dpdk0 mtu_request=$MTU -- set interface dpdk1 mtu_request=$MTU -- set interface dpdk0 options:n_rxq=2 -- set interface dpdk1 options:n_rxq=2 -- set Interface dpdk0 options:dpdk-devargs=0000:82:00.0 -- set Interface dpdk1 options:dpdk-devargs=0000:82:00.1 -- set Interface dpdk0 mtu_request=$MTU -- set Interface dpdk1 mtu_request=$MTU -- set interface dpdk0 mtu_request=$MTU -- set interface dpdk1 mtu_request=$MTU -- set interface dpdk0 options:n_rxq=2 -- set interface dpdk1 options:n_rxq=2"

Reply to "ovs dpdk"

Here you can reply to the paste above