container memif

10ge2p1vic1227-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2BD with memif and IEEE 802.1Q test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain. IEEE 802.1Q tagging is applied on link between DUT1 and DUT2.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Cisco-VIC-1227.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1vic1227-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2BD test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Cisco-VIC-1227.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
64b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1vic1227-eth-l2xcbase-eth-1memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 configured with L2 cross- connect. DUT1 and DUT2 tested with Cisco-VIC-1227. Container is connected to VPP via Memif interface running same VPP version as running on DUT. Resources are limited via cgroup to use 5 cores allocated from pool of isolated CPUs. There are no memory contraints. Cross Horizontal topology with packets flowing via DUT (VPP) to Container, then via horizontal memif to the next Container, and so on until the last Container then to NIC (in last Container). Single Container is supported as of now.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1vic1227-eth-l2xcbase-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Cisco-VIC-1227. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1vic1227-eth-l2xcbase-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Cisco-VIC-1227. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
1518b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
64b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
64b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1vic1227-ethip4-ip4base-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing with two FIB tables and two static IPv4 /24 route entries per FIB table. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use cores allocated from pool of isolated CPUs. There are no memory contraints. DUTs are tested with Cisco-VIC-1227.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:2b:05:1e:67
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:28:16:7f:4b
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:5f:a1:50:bd
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:56:12:71:9b
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:b7:7a:90:90
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:ce:23:c0:a7
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:c5:a3:fe:69
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:4f:13:72:4e
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:25:86:df:67
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:f3:72:30:e0
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:98:80:82:8e
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:61:e1:db:22
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:87:2b:8e:db
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:01:c5:ff:5c
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:ac:5d:6e:98
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:82:33:3d:91
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:3a:4d:a5:6f
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:23:8d:2c:70
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:82:8f:ba:f9
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:53:06:c0:07
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:d4:9e:fc:3d
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:38:67:2d:0c
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:13:8a:ad:34
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:15:45:f2:5d
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:e1:72:12:17
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:8a:0f:78:31
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:88:24:b2:63
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:ed:61:0c:7f
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:86:39:dc:b1
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:80:c9:1c:50
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:a9:c4:5d:9e
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:1f:57:e5:78
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:5c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 00:fe:c8:e4:eb:4c
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:22:7d:4c:6c
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:d2:53:8c:73
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 00:fe:c8:e4:d0:9b
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:5d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:6d:47:29:ae
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:54:75:a3:3c
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2BD with memif and IEEE 802.1Q test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain. IEEE 802.1Q tagging is applied on link between DUT1 and DUT2.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Intel-X520-DA2.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x520-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2BD test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Intel-X520-DA2.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
imix-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x520-eth-l2xcbase-eth-1memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 configured with L2 cross- connect. DUT1 and DUT2 tested with Intel-X520-DA2. Container is connected to VPP via Memif interface running same VPP version as running on DUT. Resources are limited via cgroup to use 5 cores allocated from pool of isolated CPUs. There are no memory contraints. Cross Horizontal topology with packets flowing via DUT (VPP) to Container, then via horizontal memif to the next Container, and so on until the last Container then to NIC (in last Container). Single Container is supported as of now.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x520-eth-l2xcbase-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Intel-X520-DA2. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Intel-X520-DA2. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
9000b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x520-ethip4-ip4base-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing with two FIB tables and two static IPv4 /24 route entries per FIB table. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use cores allocated from pool of isolated CPUs. There are no memory contraints. DUTs are tested with Intel-X520-DA2.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:7b:ed:a2:db
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:3f:08:77:2c
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:4b:d8:11:00
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:9a:51:91:81
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:55:62:08:77
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:ab:0c:e8:61
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:c2:cf:ae:98
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:bf:bd:fd:5e
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:7d:8d:70:0d
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:51:1d:9a:2e
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:bf:7b:88:b3
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:b3:e1:65:bd
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:cc:4e:5c:73
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:65:f3:01:00
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:86:51:49:ee
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:7d:4b:dd:9c
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:c1:b2:e7:f9
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:a7:31:a4:28
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:25:77:f3:25
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:4c:0b:7d:b1
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:76:60:fc:39
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:9e:57:d5:d7
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:df:5a:c3:85
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:41:0f:d7:ca
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:e9:24:4a:bc
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:38:3d:1d:ab
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:22:6a:e1:38
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:8d:97:0a:d6
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
9000b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:d4:ae:02:ec
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:97:13:af:70
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:cc:57:42:20
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:74:94:d6:fe
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
9000b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:ba:6b:e8:f1
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:50:9d:27:45
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:e5:c8:c9:a1
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:4b:72:ed:52
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
imix-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:4e:ad:b5:c4
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:55:c0:59:6c
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:3c:4c:e7:6f
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:bb:60:e4:59
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:00:f2:31:42
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:9c:04:ca:e6
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:f9:ad:8d:d7
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:b7:be:ac:a7
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:a0
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 90:e2:ba:b5:05:e5
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:1f:a7:43:55
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:a2:bd:9c:f8
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 90:e2:ba:b5:0a:18
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:a1
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:1f:b7:ff:97
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:a6:9c:be:e6
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x710-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2BD with memif and IEEE 802.1Q test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain. IEEE 802.1Q tagging is applied on link between DUT1 and DUT2.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Intel-X710.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x710-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2BD test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Intel-X710.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
imix-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x710-eth-l2xcbase-eth-1memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 configured with L2 cross- connect. DUT1 and DUT2 tested with Intel-X710. Container is connected to VPP via Memif interface running same VPP version as running on DUT. Resources are limited via cgroup to use 5 cores allocated from pool of isolated CPUs. There are no memory contraints. Cross Horizontal topology with packets flowing via DUT (VPP) to Container, then via horizontal memif to the next Container, and so on until the last Container then to NIC (in last Container). Single Container is supported as of now.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x710-eth-l2xcbase-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Intel-X710. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

10ge2p1x710-eth-l2xcbase-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Intel-X710. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
imix-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)

10ge2p1x710-ethip4-ip4base-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing with two FIB tables and two static IPv4 /24 route entries per FIB table. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use cores allocated from pool of isolated CPUs. There are no memory contraints. DUTs are tested with Intel-X710.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:a4:e8:f1:0a
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:11:28:28:1a
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:b0:d3:cf:3d
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:64:dc:17:ce
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:f8:6a:0f:12
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:cf:c8:69:1e
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:e0:e1:07:0c
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:b1:58:0d:1a
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:4a:ef:bb:94
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:39:40:48:b6
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:d4:e7:90:6f
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:22:ca:28:79
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:48:52:45:07
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:cb:6f:22:e3
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:24:cd:a9:e7
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:8b:04:55:59
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:b8:ea:19:16
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:3f:e6:9e:35
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:48:17:f9:c9
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:3f:2e:d7:81
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:f3:8b:32:0e
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:b5:14:f3:39
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:e8:3a:a8:4f
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:24:0a:f9:d5
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
9000b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:8f:40:93:89
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:96:4c:b3:f8
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:b6:15:30:ec
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:7e:e6:0b:75
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
9000b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:ff:4e:93:6e
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:29:90:17:46
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:ea:f7:e6:bc
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:a8:ff:bf:a1
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
9000b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:b9:19:de:28
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:d3:cd:43:ae
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:bd:8f:4c:34
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:e5:b8:c7:ec
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
imix-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:60:8b:cf:f0
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:dd:38:f1:63
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:fc:30:97:02
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:92:81:16:aa
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:4a:ba:b5:6f
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:44:63:3a:b5
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:01:f5:53:e0
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:a7:07:05:65
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 3c:fd:fe:9c:ee:2c
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac 3c:fd:fe:9c:ef:95
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:bb:e9:7e:5c
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:ab:3b:26:72
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_dump
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 3c:fd:fe:9c:ee:c4
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 3c:fd:fe:9c:ee:2d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:93:27:ac:e3
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:0c:34:1e:30
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

40ge2p1vic1385-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2BD with memif and IEEE 802.1Q test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain. IEEE 802.1Q tagging is applied on link between DUT1 and DUT2.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Cisco-VIC-1385.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=5,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-dot1q-l2bdbasemaclrn-eth-2memif-1dcr-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
create_vlan_subif sw_if_index 1 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
create_vlan_subif sw_if_index 2 vlan 10
sw_interface_dump
sw_interface_dump
exec show interfaces
sw_interface_set_flags sw_if_index 3 admin-up link-up
l2_interface_vlan_tag_rewrite(vtr_op=3,tag2=0,push_dot1q=1,tag1=0,sw_if_index=3)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 5 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=5,enable=1,shg=0,port_type=0,bd_id=2)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
show_threads()
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=3)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=5,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=5,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

40ge2p1vic1385-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2BD test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 bridge domain.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with two L2 bridge domains and MAC learning enabled. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory constraints. DUT1 and DUT2 tested with Cisco-VIC-1385.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
1518b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2bdbasemaclrn-eth-2memif-1lxc-ndrpdr
 DUT1:  
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=2,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=1,enable=1,shg=0,port_type=0,bd_id=2)
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=3,enable=1,shg=0,port_type=0,bd_id=1)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_l2_bridge(rx_sw_if_index=4,enable=1,shg=0,port_type=0,bd_id=2)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

40ge2p1vic1385-eth-l2xcbase-eth-1memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 configured with L2 cross- connect. DUT1 and DUT2 tested with Cisco-VIC-1385. Container is connected to VPP via Memif interface running same VPP version as running on DUT. Resources are limited via cgroup to use 5 cores allocated from pool of isolated CPUs. There are no memory contraints. Cross Horizontal topology with packets flowing via DUT (VPP) to Container, then via horizontal memif to the next Container, and so on until the last Container then to NIC (in last Container). Single Container is supported as of now.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-1memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=2)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=1)
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=2,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=2,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

40ge2p1vic1385-eth-l2xcbase-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Cisco-VIC-1385. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-2memif-1dcr-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

40ge2p1vic1385-eth-l2xcbase-eth-2memif-1lxc-ndrpdr

RFC2544: Pkt throughput L2XC test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 cross connect.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with L2 cross- connect. DUT1 and DUT2 tested with Cisco-VIC-1385. LXC is connected to VPP via Memif interface. LXC is running same VPP version as running on DUT. LXC is limited via cgroup to use 3 cores allocated from pool of isolated CPUs. There are no memory contraints.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
64b-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
imix-4t4c-eth-l2xcbase-eth-2memif-1lxc-ndrpdr
 DUT1:  
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=2,enable=1,tx_sw_if_index=3)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,enable=1,tx_sw_if_index=2)
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_l2_xconnect(rx_sw_if_index=4,enable=1,tx_sw_if_index=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,enable=1,tx_sw_if_index=4)
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

40ge2p1vic1385-ethip4-ip4base-eth-2memif-1dcr-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.
  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with IPv4 routing with two FIB tables and two static IPv4 /24 route entries per FIB table. Container is connected to VPP via Memif interface. Container is running same VPP version as running on DUT. Container is limited via cgroup to use cores allocated from pool of isolated CPUs. There are no memory contraints. DUTs are tested with Cisco-VIC-1385.
  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. 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.
Name VPP API Test Commands History - Commands Used Per Test Case
1518b-1t1c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 68:05:ca:37:1f:48
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac d8:b1:90:19:41:6a
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:7e:46:39:e9
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:5f:a4:ac:d5
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 04:62:73:8c:c3:0f
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 68:05:ca:37:1f:4d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:e9:58:e6:1a
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:bc:c7:2c:68
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-2t2c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 68:05:ca:37:1f:48
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac d8:b1:90:19:41:6a
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:95:9b:3c:53
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:73:61:0d:05
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 04:62:73:8c:c3:0f
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 68:05:ca:37:1f:4d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 1 tx-queues 1
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:b6:b2:62:e3
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:c5:df:9e:9a
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=4,queue_id=0)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)
1518b-4t4c-ethip4-ip4base-eth-2memif-1dcr-ndrpdr
 DUT1:  
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 1.1.1.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 1.1.1.2/30
ip_neighbor_add_del sw_if_index 2 dst 1.1.1.1 mac 68:05:ca:37:1f:48
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 2.2.2.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 2.2.2.1/30
ip_neighbor_add_del sw_if_index 1 dst 2.2.2.2 mac d8:b1:90:19:41:6a
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT1_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT1_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:b0:41:65:61
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:aa:c6:35:31
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)

DUT2:
ip_table_add_del table 10
ip_add_del_route 10.10.10.0/24 via 2.2.2.1 vrf 10 sw_if_index 2 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 2 vrf 10
sw_interface_add_del_address sw_if_index 2 2.2.2.2/30
ip_neighbor_add_del sw_if_index 2 dst 2.2.2.1 mac 04:62:73:8c:c3:0f
ip_table_add_del table 11
ip_add_del_route 20.20.20.0/24 via 3.3.3.2 vrf 11 sw_if_index 1 resolve-attempts 10 count 1 multipath
sw_interface_set_table sw_if_index 1 vrf 11
sw_interface_add_del_address sw_if_index 1 3.3.3.1/30
ip_neighbor_add_del sw_if_index 1 dst 3.3.3.2 mac 68:05:ca:37:1f:4d
memif_socket_filename_add_del add id 1 filename /tmp/memif-DUT2_CNF1-1
memif_create id 1 socket-id 1 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
memif_socket_filename_add_del add id 2 filename /tmp/memif-DUT2_CNF1-2
memif_create id 1 socket-id 2 slave rx-queues 2 tx-queues 2
memif_dump
memif_dump
sw_interface_set_flags sw_if_index 3 admin-up link-up
sw_interface_set_flags sw_if_index 4 admin-up link-up
sw_interface_set_table sw_if_index 3 vrf 10
sw_interface_set_table sw_if_index 4 vrf 11
sw_interface_add_del_address sw_if_index 3 31.31.31.1/30
sw_interface_add_del_address sw_if_index 4 32.32.32.1/30
ip_add_del_route 20.20.20.0/24 via 32.32.32.1 vrf 10 sw_if_index 3 resolve-attempts 10 count 1
ip_add_del_route 10.10.10.0/24 via 31.31.31.1 vrf 11 sw_if_index 4 resolve-attempts 10 count 1
ip_neighbor_add_del sw_if_index 3 dst 32.32.32.1 mac 02:fe:aa:b2:fc:ff
ip_neighbor_add_del sw_if_index 4 dst 31.31.31.1 mac 02:fe:b9:9c:44:ed
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_dump
hw_interface_set_mtu sw_if_index 2 mtu 9200
hw_interface_set_mtu sw_if_index 1 mtu 9200
sw_interface_dump
show_threads()
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=2)
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_set_rx_placement(worker_id=0,sw_if_index=3,queue_id=0)
sw_interface_set_rx_placement(worker_id=1,sw_if_index=3,queue_id=1)
sw_interface_set_rx_placement(worker_id=2,sw_if_index=4,queue_id=0)
sw_interface_set_rx_placement(worker_id=3,sw_if_index=4,queue_id=1)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear runtime)
cli_inband(cmd=clear interfaces)