3n-skx-x710

10ge2p1x710-avf-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr

RFC2544: Pkt throughput L2BD test cases with vhost and vpp link bonding

  • [Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. 802.1q tagging is applied on link between DUT1 and DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 bridge-domain with MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with Intel-X710.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-2lbvpplacp-dot1q- 
l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-avf-2lbvpplacp-dot1q- 
l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-avf-2lbvpplacp-dot1q- 
l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

10ge2p1x710-avf-2lbvpplacp-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-mrr

RFC2544: Pkt throughput L2BD test cases with vhost and vpp link bonding

  • [Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. 802.1q tagging is applied on link between DUT1 and DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 bridge-domain with MAC learning enabled. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with Intel-X710.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-2lbvpplacp-dot1q- 
l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-avf-2lbvpplacp-dot1q- 
l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-avf-2lbvpplacp-dot1q- 
l2bdbasemaclrn-eth-2vhostvr1024-1vm-vppl2xc-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/var/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=6,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=7,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=8,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=2,shg=0,port_type=0,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

10ge2p1x710-avf-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-mrr

RFC2544: Pkt throughput L2XC test cases with vhost and vpp link bonding

  • [Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running testpmd interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with Intel-X710.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-2lbvpplacp-dot1q- 
l2xcbase-eth-2vhostvr1024-1vm-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=1,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=6,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=6,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=2,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-avf-2lbvpplacp-dot1q- 
l2xcbase-eth-2vhostvr1024-1vm-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=1,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=6,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=6,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=2,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-avf-2lbvpplacp-dot1q- 
l2xcbase-eth-2vhostvr1024-1vm-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=1,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=6,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=6,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=2,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

10ge2p1x710-avf-2lbvpplacp-dot1q-l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-mrr

RFC2544: Pkt throughput L2XC test cases with vhost and vpp link bonding

  • [Top] Network Topologies: TG-DUT1=DUT2-TG 3-node circular topology with single links between TG and DUT nodes and double link between DUT nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect. 802.1q tagging is applied on link between DUT1 and DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with VPP link bonding (mode LACP, transmit policy l34) on link between DUT1 and DUT2 and L2 cross- connect. Qemu VNFs are connected to VPP via vhost-user interfaces. Guest is running VPP l2xc interconnecting vhost-user interfaces, rxd/txd=1024. DUT1/DUT2 is tested with Intel-X710.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-2lbvpplacp-dot1q- 
l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=1,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=6,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=6,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=2,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=1,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-avf-2lbvpplacp-dot1q- 
l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=1,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=6,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=6,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=2,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=3,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-avf-2lbvpplacp-dot1q- 
l2xcbase-eth-2vhostvr1024-1vm-vppl2xc-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=2,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=4,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=1,enable=True)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=6,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=236453888,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=169345024,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=3,flags=1)
hw_interface_set_mtu(sw_if_index=3,mtu=9200)
sw_interface_set_flags(sw_if_index=4,flags=1)
hw_interface_set_mtu(sw_if_index=4,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bond_create(id=4294967295,use_custom_mac=False,mac_address=None,mode=5,lb=1,numa_only=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
hw_interface_set_mtu(sw_if_index=5,mtu=9200)
bond_enslave(sw_if_index=1,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
bond_enslave(sw_if_index=3,bond_sw_if_index=5,is_passive=False,is_long_timeout=False)
sw_interface_bond_dump()
sw_interface_slave_dump(sw_if_index=5)
sw_interface_set_flags(sw_if_index=5,flags=1)
create_vlan_subif(sw_if_index=5,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=6,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=6,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-1’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vhost_user_if(is_server=False,sock_filename=’/run/vpp/sock-1-2’,enable_gso=False)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=6,tx_sw_if_index=7,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=7,tx_sw_if_index=6,enable=True)
sw_interface_set_flags(sw_if_index=2,flags=1)
sw_interface_set_flags(sw_if_index=8,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=8,enable=True)
sw_interface_set_l2_xconnect(rx_sw_if_index=8,tx_sw_if_index=2,enable=True)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=3)
sw_interface_rx_placement_dump(sw_if_index=4)
sw_interface_rx_placement_dump(sw_if_index=5)
sw_interface_rx_placement_dump(sw_if_index=6)
sw_interface_rx_placement_dump(sw_if_index=7)
sw_interface_rx_placement_dump(sw_if_index=8)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=1,worker_id=1,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=2,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=7,queue_id=3,worker_id=3,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=0,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=1,worker_id=5,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=2,worker_id=6,is_main=False)
sw_interface_set_rx_placement(sw_if_index=8,queue_id=3,worker_id=7,is_main=False)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)