- 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
- 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
- ovs-vsctl add-port nic0 dpdk0 -- set interface dpdk0 type=dpdk options:dpdk-devargs=0000:31:00.0 ; ovs-vsctl del-port dpdk0
- # ovs-vsctl add-br ovsbr0 -- set bridge ovsbr0 datapath_type=netdev
- # ovs-vsctl add-bond ovsbr0 dpdkbond dpdk0 dpdk1 bond_mode=balance-tcp lacp=active -- set interface dpdk0 type=dpdk -- set Interface dpdk1 type=dpdk
- # ovs-vsctl set interface dpdk0 type=dpdk
- # ovs-vsctl set interface dpdk0 options:dpdk-devargs=0000:31:00.0
- # ovs-vsctl set interface dpdk1 type=dpdk
- # ovs-vsctl set interface dpdk1 options:dpdk-devargs=0000:31:00.1
- ovs-vsctl add-br nic0 -- set bridge nic0 datapath_type=netdev
- ovs-vsctl add-br public0 nic0 418
- ovs-vsctl add-br guest0 nic0 450
- ovs-vsctl add-br management0 nic0 417
- ovs-vsctl add-br storage0 nic0 3209
- 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
- ovs-vsctl set bridge nic0 datapath_type=netdev
- ovs-vsctl set interface ens2f0 type=dpdk
- ovs-vsctl set interface ens2f0 options:dpdk-devargs=0000:31:00.0
- ovs-vsctl set interface ens2f1 type=dpdk
- ovs-vsctl set interface ens2f1 options:dpdk-devargs=0000:31:00.1
- /etc/sysconfig/network-scripts/ bond0?
- 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"
- BOOT_IMAGE=/boot/vmlinuz-3.10.0-693.17.1.el7.x86_64 root=UUID=fa414390-f78d-49d4-a164-54615a32977b ro console=tty0
- console=ttyS0,115200n8 crashkernel=auto rhgb quiet default_hugepagesz=1GB hugepagesz=1G hugepages=32 iommu=pt intel_iommu=on
- 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
- 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
- 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
- tuned.non_isolcpus=00300003 intel_pstate=disable nosoftlockup
- 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"
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
— Expand Paste to full width of browser