From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C9A4A00C2; Wed, 30 Nov 2022 04:57:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87F1642D0C; Wed, 30 Nov 2022 04:57:41 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2BD6A4014F for ; Wed, 30 Nov 2022 04:57:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669780660; x=1701316660; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/QuwJJZT3RXCshVAssBl8Xdy55yALI6797oKTvb2WsM=; b=G7UK6GSH4vl93HAt2G/rFkMJOHOJUJwFNoPXkFQ/JTWMbPTPrDl7Embg XjslbgVKAgcrZpgzdzwQao7qTuWHqU+9xZAcgJFhCjYjJv7VNojcEkrNJ i5GwImKzeixsonnaCpnE5AeypFfgFE4IxQluN0tRdnVh1x9FA0f5RKRNV hcRzng7HvfkehL6LrPU2YNxDRsLUInsyUsvvWPOyuiHRYcgG6KDzHtK1K JCLkAascgnpV9r3kq5QKYrFjqfctEMpZjNnS2B87K6B5MKt/EoUCU/r8u WOAef1NSkVEDfIZgxQbNbB3J9AxBIDF+qUxTy8+lePPIbBMVRujSpoqie g==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="298665872" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="298665872" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2022 19:57:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="972945052" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="972945052" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.114.198]) by fmsmga005.fm.intel.com with ESMTP; 29 Nov 2022 19:57:37 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, Ke Xu Subject: [DTS][PATCH V1 1/2] test_plans/ice_qinq: update test plan to support represented port action from deprecated vf action Date: Wed, 30 Nov 2022 11:56:26 +0800 Message-Id: <20221130035627.99362-2-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221130035627.99362-1-ke1.xu@intel.com> References: <20221130035627.99362-1-ke1.xu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org A new API is introduced to replace the VF actions in DPDK 22.11. To support This new API, several modifications are made. Testpmd args are modified to support appyling representors for the new API. Rules are modified for the old API being deprecated, changing to the new API. Ports id are modified corresponding to the port representors and modified API. Signed-off-by: Ke Xu --- test_plans/ice_qinq_test_plan.rst | 104 +++++++++++++++--------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/test_plans/ice_qinq_test_plan.rst b/test_plans/ice_qinq_test_plan.rst index 37396f41..7c157575 100644 --- a/test_plans/ice_qinq_test_plan.rst +++ b/test_plans/ice_qinq_test_plan.rst @@ -80,7 +80,7 @@ Prerequisites 12. For test cases for DCF switch filter(01-06), use below cmd to launch testpmd:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -a 0000:18:01.2 -a 0000:18:01.3 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf,representor=[1] -a 0000:18:01.1 -a 0000:18:01.2 -a 0000:18:01.3 -- -i testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -139,7 +139,7 @@ subcase: dest mac ----------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / ipv4 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / ipv4 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -170,7 +170,7 @@ subcase: src ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv4 src is 196.222.232.221 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv4 src is 196.222.232.221 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -201,7 +201,7 @@ subcase: dst ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv4 dst is 196.222.232.221 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv4 dst is 196.222.232.221 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -235,7 +235,7 @@ subcase: dest mac ----------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / ipv6 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / ipv6 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -266,7 +266,7 @@ subcase: src ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv6 src is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv6 src is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -297,7 +297,7 @@ subcase: dst ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -330,7 +330,7 @@ Test case 03: DCF switch for MAC_QINQ_PPPOE_PAY 1. create a rule:: - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -368,7 +368,7 @@ Test case 04: DCF switch for MAC_QINQ_PPPOE_PAY_Proto 1. create a rule:: - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / pppoe_proto_id is 0x0057 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / pppoe_proto_id is 0x0057 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -403,7 +403,7 @@ subcase: dest mac ----------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv4 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv4 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -435,7 +435,7 @@ subcase: src ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv4 src is 196.222.232.221 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv4 src is 196.222.232.221 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -467,7 +467,7 @@ subcase: dst ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv4 dst is 196.222.232.221 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv4 dst is 196.222.232.221 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -502,7 +502,7 @@ subcase: dest mac ----------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv6 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv6 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -534,7 +534,7 @@ subcase: src ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv6 src is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv6 src is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -566,7 +566,7 @@ subcase: dst ip --------------- 1. create a rule:: - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / vlan tci is 1 / pppoes seid is 1 / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / end actions represented_port ethdev_port_id1 / end testpmd> flow list 0 check the rule exists in the list. @@ -1577,7 +1577,7 @@ Common Steps ..note:: For , you can use "-c 0x6 -n 4", you can also refer to testpmd doc for other setings. - For , you can use "0000:3b:01.0,cap=dcf -a 0000:3b:01.1" for this test plan. + For , you can use "0000:3b:01.0,cap=dcf,representor=[1] -a 0000:3b:01.1" for this test plan. 2. Set verbose:: @@ -1622,7 +1622,7 @@ Test Steps ~~~~~~~~~~ 1. Validate a rule:: - testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 src is dst is / end actions vf id 1 / end + testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1630,7 +1630,7 @@ Test Steps 2. Create a rule and list rules:: - testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 src is dst is / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1643,7 +1643,7 @@ Test Steps ID Group Prio Attr Rule 0 0 0 i-- ETH VLAN VLAN IPV4 => VF -3. Send matched packet in scapy on tester, check the port 1 of DUT received this packet. +3. Send matched packet in scapy on tester, check the port 2 of DUT received this packet. Tester:: @@ -1651,11 +1651,11 @@ Tester:: DUT:: - testpmd> port 1/queue 0: received 1 packets + testpmd> port 2/queue 0: received 1 packets src=A4:BF:01:4D:6F:32 - dst=00:11:22:33:44:55 - type=0x8100 - length=122 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4 - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN -4. Send mismatched packet in scapy on tester, check the port 1 of DUT could not receive this packet. +4. Send mismatched packet in scapy on tester, check the port 2 of DUT could not receive this packet. Tester:: @@ -1680,7 +1680,7 @@ Tester:: testpmd> flow list 0 Check the rule not exists in the list. - Send matched packets in step 3, check the packets are not to port 1. + Send matched packets in step 3, check the packets are not to port 2. Test Case 2: MAC_QINQ_IPV6 -------------------------- @@ -1690,7 +1690,7 @@ Test Steps ~~~~~~~~~~ 1. Validate a rule:: - testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / end actions vf id 1 / end + testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1698,7 +1698,7 @@ Test Steps 2. Create a rule and list rules:: - testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1711,7 +1711,7 @@ Test Steps ID Group Prio Attr Rule 0 0 0 i-- ETH VLAN VLAN IPV6 => VF -3. Send matched packet in scapy on tester, check the port 1 of DUT received this packet. +3. Send matched packet in scapy on tester, check the port 2 of DUT received this packet. Tester:: @@ -1719,11 +1719,11 @@ Tester:: DUT:: - testpmd> port 1/queue 0: received 1 packets + testpmd> port 2/queue 0: received 1 packets src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x8100 - length=142 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV6 - l2_len=18 - inner_l2_len=4 - inner_l3_len=40 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN -4. Send mismatched packet in scapy on tester, check the port 1 of DUT could not receive this packet. +4. Send mismatched packet in scapy on tester, check the port 2 of DUT could not receive this packet. Tester:: @@ -1748,7 +1748,7 @@ Tester:: testpmd> flow list 0 Check the rule not exists in the list. - Send matched packets in step 3, check the packets are not to port 1. + Send matched packets in step 3, check the packets are not to port 2. Test Case 3: MAC_QINQ_IPV4_UDP ------------------------------ @@ -1758,7 +1758,7 @@ Test steps ~~~~~~~~~~ 1. Validate a rule:: - testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / udp src is dst is / end actions vf id 1 / end + testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / udp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1766,7 +1766,7 @@ Test steps 2. Create a rule and list rules:: - testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / udp src is dst is / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / udp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1779,7 +1779,7 @@ Test steps ID Group Prio Attr Rule 0 0 0 i-- ETH VLAN VLAN IPV4 UDP => VF -3. Send matched packet in scapy on tester, check the port 1 of DUT received this packet. +3. Send matched packet in scapy on tester, check the port 2 of DUT received this packet. Tester:: @@ -1787,11 +1787,11 @@ Tester:: DUT:: - testpmd> port 1/queue 0: received 1 packets + testpmd> port 2/queue 0: received 1 packets src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x8100 - length=130 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4 INNER_L4_UDP - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - inner_l4_len=8 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN -4. Send mismatched packet in scapy on tester, check the port 1 of DUT could not receive this packet. +4. Send mismatched packet in scapy on tester, check the port 2 of DUT could not receive this packet. Tester:: @@ -1816,7 +1816,7 @@ Tester:: testpmd> flow list 0 Check the rule not exists in the list. - Send matched packets in step 3, check the packets are not to port 1. + Send matched packets in step 3, check the packets are not to port 2. Test Case 4: MAC_QINQ_IPV4_TCP ------------------------------ @@ -1826,7 +1826,7 @@ Test Steps ~~~~~~~~~~ 1. Validate a rule:: - testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / tcp src is dst is / end actions vf id 1 / end + testpmd> flow validate 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / tcp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1834,7 +1834,7 @@ Test Steps 2. Create a rule and list rules:: - testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / tcp src is dst is / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv4 / tcp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1847,7 +1847,7 @@ Test Steps ID Group Prio Attr Rule 0 0 0 i-- ETH VLAN VLAN IPV4 TCP => VF -3. Send matched packet in scapy on tester, check the port 1 of DUT received this packet. +3. Send matched packet in scapy on tester, check the port 2 of DUT received this packet. Tester:: @@ -1855,11 +1855,11 @@ Tester:: DUT:: - testpmd> port 1/queue 0: received 1 packets + testpmd> port 2/queue 0: received 1 packets src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x8100 - length=142 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4 INNER_L4_TCP - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - inner_l4_len=20 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN -4. Send mismatched packet in scapy on tester, check the port 1 of DUT could not receive this packet. +4. Send mismatched packet in scapy on tester, check the port 2 of DUT could not receive this packet. Tester:: @@ -1884,7 +1884,7 @@ Tester:: testpmd> flow list 0 Check the rule not exists in the list. - Send matched packets in step 3, check the packets are not to port 1. + Send matched packets in step 3, check the packets are not to port 2. #Pipeline mode @@ -1896,7 +1896,7 @@ Test Steps ~~~~~~~~~~ 1. Validate a rule:: - testpmd> flow validate 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / udp src is dst is / end actions vf id 1 / end + testpmd> flow validate 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / udp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1904,7 +1904,7 @@ Test Steps 2. Create a rule and list rules:: - testpmd> flow create 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / udp src is dst is / end actions vf id 1 / end + testpmd> flow create 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / udp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1917,7 +1917,7 @@ Test Steps ID Group Prio Attr Rule 0 0 0 i-- ETH VLAN VLAN IPV6 UDP => VF -3. Send matched packet in scapy on tester, check the port 1 of DUT received this packet. +3. Send matched packet in scapy on tester, check the port 2 of DUT received this packet. Tester:: @@ -1925,11 +1925,11 @@ Tester:: DUT:: - testpmd> port 1/queue 0: received 1 packets + testpmd> port 2/queue 0: received 1 packets src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x8100 - length=150 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV6 INNER_L4_UDP - l2_len=18 - inner_l2_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN -4. Send mismatched packet in scapy on tester, check the port 1 of DUT could not receive this packet. +4. Send mismatched packet in scapy on tester, check the port 2 of DUT could not receive this packet. Tester:: @@ -1954,7 +1954,7 @@ Tester:: testpmd> flow list 0 Check the rule not exists in the list. - Send matched packets in step 3, check the packets are not to port 1. + Send matched packets in step 3, check the packets are not to port 2. Test case 6: MAC_QINQ_IPV6_TCP ------------------------------ @@ -1964,7 +1964,7 @@ Test steps ~~~~~~~~~~ 1. Validate a rule:: - testpmd> flow validate 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / tcp src is dst is / end actions vf id 1 / end + testpmd> flow validate 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / tcp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1972,7 +1972,7 @@ Test steps 2. Create a rule and list rules:: - testpmd> flow create 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / tcp src is dst is / end actions vf id 1 / end + testpmd> flow create 0 priority 0 ingress pattern eth dst is / vlan tci is / vlan tci is / ipv6 dst is / tcp src is dst is / end actions represented_port ethdev_port_id1 / end Get the message:: @@ -1985,7 +1985,7 @@ Test steps ID Group Prio Attr Rule 0 0 0 i-- ETH VLAN VLAN IPV6 TCP => VF -3. Send matched packet in scapy on tester, check the port 1 of DUT received this packet. +3. Send matched packet in scapy on tester, check the port 2 of DUT received this packet. Tester:: @@ -1993,11 +1993,11 @@ Tester:: DUT:: - testpmd> port 1/queue 0: received 1 packets + testpmd> port 2/queue 0: received 1 packets src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x8100 - length=162 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV6 INNER_L4_TCP - l2_len=18 - inner_l2_len=4 - inner_l3_len=40 - inner_l4_len=20 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN -4. Send mismatched packet in scapy on tester, check the port 1 of DUT could not receive this packet. +4. Send mismatched packet in scapy on tester, check the port 2 of DUT could not receive this packet. Tester:: @@ -2022,6 +2022,6 @@ Tester:: testpmd> flow list 0 Check the rule not exists in the list. - Send matched packets in step 3, check the packets are not to port 1. + Send matched packets in step 3, check the packets are not to port 2. -- 2.25.1