2n-skx-x710

2n1l-10ge2p1x710-avf-ethip4-ip4base-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /24 route entries. DUT1 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, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-2t1c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-4t2c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 9000b-2t1c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-2t1c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-4t2c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-8t4c-avf- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

2n1l-10ge2p1x710-avf-ethip4-ip4scale2m-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and 2x1M static IPv4 /32 route entries. DUT1 is 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 DUT1. TG traffic profile contains two L3 flow-groups (flow-group per direction, 1M flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-2t1c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-4t2c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 9000b-2t1c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-2t1c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-4t2c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-8t4c-avf- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

2n1l-10ge2p1x710-avf-ethip4-ip4scale2m-rnd-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and 2x1M static IPv4 /32 route entries. DUT1 is 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 DUT1. TG traffic profile contains 2 randomized L3 flow-groups (flow-group per direction, 1M flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-2t1c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-4t2c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 9000b-2t1c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-2t1c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-4t2c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-8t4c-avf- 
ethip4-ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=35127296,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=102236160,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

2n1l-10ge2p1x710-ethip4-ip4base-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and two static IPv4 /24 route entries. DUT1 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, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4-ip4base-ndrpdr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-ethip4-ip4base-ndrpdr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-ethip4-ip4base-ndrpdr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-2t1c- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-4t2c- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 9000b-2t1c- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-2t1c- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-4t2c- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-8t4c- 
ethip4-ip4base-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘10.10.10.2’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘20.20.20.2’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx01’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x01’}}})
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

2n1l-10ge2p1x710-ethip4-ip4scale2m-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and 2x1M static IPv4 /32 route entries. DUT1 is 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 DUT1. TG traffic profile contains two L3 flow-groups (flow-group per direction, 1M flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-2t1c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-4t2c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 9000b-2t1c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-2t1c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-4t2c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-8t4c- 
ethip4-ip4scale2m-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

2n1l-10ge2p1x710-ethip4-ip4scale2m-rnd-ndrpdr

RFC2544: Pkt throughput IPv4 routing test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing and 2x1M static IPv4 /32 route entries. DUT1 is 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 DUT1. TG traffic profile contains 2 randomized L3 flow-groups (flow-group per direction, 1M flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces.

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-4t2c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 64b-8t4c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-2t1c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 1518b-4t2c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 9000b-2t1c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-2t1c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-4t2c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)

 imix-8t4c-ethip4- 
ip4scale2m-rnd-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:88’, ‘ip_address’: ‘1.1.1.1’})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:b1:89’, ‘ip_address’: ‘3.3.3.1’})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x02’}}})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 30, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x03x03x03x02’}}})
ip_route_add_del 10.0.0.0/32 count 1000000 via 1.1.1.1 sw_if_index 1
ip_route_add_del 20.0.0.0/32 count 1000000 via 3.3.3.1 sw_if_index 2
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’show runtime’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear hardware’)
cli_inband(cmd=’event-logger trace api cli barrier’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)
cli_inband(cmd=’show event-logger’)