2n-clx-cx556a

2n1l-100ge2p1cx556a-rdma-dot1q-l2bdbasemaclrn-gbp-mrr

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

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

  • [Enc] Packet Encapsulations: Dot1q-IPv4 for L2 switching of IPv4. IEEE 802.1Q tagging is applied on both links TG-DUT1 .

  • [Cfg] DUT configuration: DUT1 is configured with: 2 VLAN subinterfaces (VID 100 and 200), 1 L2 BD with the 2 VLAN subinterfaces and a BVI, 1 GBP L3 RD, 1 GBP L2 BD with the L2 BD, 1 GBP EPG EPG-1 with sclass 100, the GBP L2 BD and L3 RD, 2 GBP external EP in EPG-1, 2 external subnets with sclass 200 and 300, Contracts allowing full communications between the 2 external subnets. DUT1 tested with Mellanox-CX556A with VF enabled.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUT. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header including IEEE 802.1Q tagging, 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-rdma- 
dot1q-l2bdbasemaclrn-gbp-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=1,vlan_id=100)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=2,vlan_id=200)
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=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_loopback(mac_address=b’xbaxdcx00xffxeex01’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True)
gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295})
sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1)
bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1)
gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1})
gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}})
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1})
gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0})
gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’xecrx9ax8cxc7xf7’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}})
gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’xecrx9ax8cxc7xf6’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}})
ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1})
acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}])
gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]})
gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]})
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma- 
dot1q-l2bdbasemaclrn-gbp-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=1,vlan_id=100)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=2,vlan_id=200)
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=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_loopback(mac_address=b’xbaxdcx00xffxeex01’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True)
gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295})
sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1)
bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1)
gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1})
gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}})
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1})
gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0})
gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’xecrx9ax8cxc7xf7’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}})
gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’xecrx9ax8cxc7xf6’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}})
ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1})
acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}])
gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]})
gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]})
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma- 
dot1q-l2bdbasemaclrn-gbp-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=1,vlan_id=100)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=2,vlan_id=200)
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=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
create_loopback(mac_address=b’xbaxdcx00xffxeex01’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True)
gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295})
sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1)
bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1)
gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1})
gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}})
sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1})
gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0})
gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’xecrx9ax8cxc7xf7’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}})
gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’xecrx9ax8cxc7xf6’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}})
ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1})
gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1})
acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}])
gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]})
gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]})
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-dot1q-l2bdbasemaclrn-mrr

RFC2544: Pkt throughput L2BD with IEEE 802.1Q test cases

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

  • [Enc] Packet Encapsulations: Dot1q-IPv4 for L2 switching of IPv4. IEEE 802.1Q tagging is applied on both links TG-DUT1 .

  • [Cfg] DUT configuration: DUT1 is configured with: 2 VLAN subinterfaces (VID 100 and 200), 1 L2 BD with the 2 VLAN subinterfaces, DUT1 tested with Mellanox-CX556A with VF enabled.

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

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-rdma- 
dot1q-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=1,vlan_id=100)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=2,vlan_id=200)
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=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=4,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma- 
dot1q-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=1,vlan_id=100)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=2,vlan_id=200)
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=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=4,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma- 
dot1q-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=1,vlan_id=100)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
create_vlan_subif(sw_if_index=2,vlan_id=200)
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=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
sw_interface_set_l2_bridge(rx_sw_if_index=3,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=4,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-dot1q-l2xcbase-mrr

RFC2544: Pkt throughput L2XC with IEEE 802.1Q test cases

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

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

  • [Cfg] DUT configuration: DUT1 is configured with L2 cross- connect. DUT1 is tested with Mellanox-CX556A.

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

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-rdma- 
dot1q-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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=2,flags=1)
create_vlan_subif(sw_if_index=2,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=3,enable=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=1,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma- 
dot1q-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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=2,flags=1)
create_vlan_subif(sw_if_index=2,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=3,enable=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=1,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma- 
dot1q-l2xcbase-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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=2,flags=1)
create_vlan_subif(sw_if_index=2,vlan_id=10)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=3,flags=1)
l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0)
sw_interface_set_flags(sw_if_index=1,flags=1)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=3,enable=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=3,tx_sw_if_index=1,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-eth-l2bdbasemaclrn-mrr

RFC2544: Pkt throughput L2BD test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain and MAC learning enabled. DUT1 tested with Mellanox-CX556A.

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

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-rdma- 
eth-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma- 
eth-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma- 
eth-l2bdbasemaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-eth-l2bdscale100kmaclrn-mrr

RFC2544: Pkt throughput for L2BD test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain and MAC learning enabled. DUT1 tested with Mellanox-CX556A.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUT1. TG traffic profile contains two L3 flow-groups (flow-group per direction, 50k flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses ranges are incremented as follows: port01_src ca:fe:00:00:00:00 - port01_src ca:fe:00:07:a1:1f, port01_dst fa:ce:00:00:00:00 - port01_dst fa:ce:00:07:a1:1f, port02_src fa:ce:00:00:00:00 - port02_src fa:ce:00:07:a1:1f, port02_dst ca:fe:00:00:00:00 - port02_dst ca:fe:00:07:a1:1f

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-rdma- 
eth-l2bdscale100kmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma- 
eth-l2bdscale100kmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma- 
eth-l2bdscale100kmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-eth-l2bdscale10kmaclrn-mrr

RFC2544: Pkt throughput for L2BD test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain and MAC learning enabled. DUT1 tested with Mellanox-CX556A.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUT1. TG traffic profile contains two L3 flow-groups (flow-group per direction, 5k flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses ranges are incremented as follows: port01_src ca:fe:00:00:00:00 - port01_src ca:fe:00:07:a1:1f, port01_dst fa:ce:00:00:00:00 - port01_dst fa:ce:00:07:a1:1f, port02_src fa:ce:00:00:00:00 - port02_src fa:ce:00:07:a1:1f, port02_dst ca:fe:00:00:00:00 - port02_dst ca:fe:00:07:a1:1f

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-rdma- 
eth-l2bdscale10kmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma- 
eth-l2bdscale10kmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma- 
eth-l2bdscale10kmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-eth-l2bdscale1mmaclrn-mrr

RFC2544: Pkt throughput for L2BD test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge-domain and MAC learning enabled. DUT1 tested with Mellanox-CX556A.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUT1. TG traffic profile contains two L3 flow-groups (flow-group per direction, 500k flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses ranges are incremented as follows: port01_src ca:fe:00:00:00:00 - port01_src ca:fe:00:07:a1:1f, port01_dst fa:ce:00:00:00:00 - port01_dst fa:ce:00:07:a1:1f, port02_src fa:ce:00:00:00:00 - port02_src fa:ce:00:07:a1:1f, port02_dst ca:fe:00:00:00:00 - port02_dst ca:fe:00:07:a1:1f

  • [Ref] Applicable standard specifications: RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-rdma- 
eth-l2bdscale1mmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma- 
eth-l2bdscale1mmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma- 
eth-l2bdscale1mmaclrn-mrr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=1)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-eth-l2patch-mrr

RFC2544: Pkt throughput L2patch test cases

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

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

  • [Cfg] DUT configuration: DUT1 is configured with L2 patch DUT1 tested with Mellanox-CX556A.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header,IPv4 header with 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-rdma-eth-l2patch-mrr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
l2_patch_add_del(rx_sw_if_index=1,tx_sw_if_index=2,is_add=1)
l2_patch_add_del(rx_sw_if_index=2,tx_sw_if_index=1,is_add=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma-eth-l2patch-mrr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
l2_patch_add_del(rx_sw_if_index=1,tx_sw_if_index=2,is_add=1)
l2_patch_add_del(rx_sw_if_index=2,tx_sw_if_index=1,is_add=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma-eth-l2patch-mrr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
l2_patch_add_del(rx_sw_if_index=1,tx_sw_if_index=2,is_add=1)
l2_patch_add_del(rx_sw_if_index=2,tx_sw_if_index=1,is_add=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

2n1l-100ge2p1cx556a-rdma-eth-l2xcbase-mrr

RFC2544: Pkt throughput L2XC test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4.

  • [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect. DUT1 tested with Mellanox-CX556A.

  • [Ver] TG veriffication: In MaxReceivedRate tests TG sends traffic at line rate and reports total received packets over trial period. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 254 flows per flow-group) with all packets containing Ethernet header,IPv4 header with 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-rdma-eth-l2xcbase-mrr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=1,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=2,enable=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=1,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-4t2c-rdma-eth-l2xcbase-mrr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=2,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=2,enable=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=1,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)

 64b-8t4c-rdma-eth-l2xcbase-mrr 

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f1’,host_if=’enp94s0f1’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=1,mac_address=b’xecrx9ax8cxc7xb7’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
rdma_create(name=’enp94s0f0’,host_if=’enp94s0f0’,rxq_num=4,rxq_size=1024,txq_size=1024,mode=0)
sw_interface_set_mac_address(sw_if_index=2,mac_address=b’xecrx9ax8cxc7xb6’)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
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)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_xconnect(rx_sw_if_index=1,tx_sw_if_index=2,enable=1)
sw_interface_set_l2_xconnect(rx_sw_if_index=2,tx_sw_if_index=1,enable=1)
cli_inband(cmd=’clear runtime’)
vpp-stats(path=’^/sys/node’)
cli_inband(cmd=’clear errors’)
cli_inband(cmd=’clear interfaces’)
cli_inband(cmd=’elog trace api cli barrier’)
cli_inband(cmd=’show event-logger’)
cli_inband(cmd=’show errors’)
cli_inband(cmd=’show hardware verbose’)