From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09E3FA00E6 for ; Mon, 5 Aug 2019 12:03:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1CD31BE16; Mon, 5 Aug 2019 12:03:32 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 771461BE09 for ; Mon, 5 Aug 2019 12:03:31 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Aug 2019 03:03:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,349,1559545200"; d="scan'208";a="202406802" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 05 Aug 2019 03:03:29 -0700 From: Lin Xueqin To: dts@dpdk.org Cc: Xueqin Lin Date: Mon, 5 Aug 2019 18:03:49 +0800 Message-Id: <1564999429-118635-1-git-send-email-xueqin.lin@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH 1/2] test_plans/generic_flow_api: correct i40e could support 0x88cc ether type packet X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: Xueqin Lin Signed-off-by: Xueqin Lin --- test_plans/generic_flow_api_test_plan.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test_plans/generic_flow_api_test_plan.rst b/test_plans/generic_flow_api_test_plan.rst index f53e7c7..380d9e8 100644 --- a/test_plans/generic_flow_api_test_plan.rst +++ b/test_plans/generic_flow_api_test_plan.rst @@ -70,26 +70,24 @@ Test case: Fortville ethertype testpmd> flow validate 0 ingress pattern eth type is 0x88cc / end actions queue index 5 / end testpmd> flow create 0 ingress pattern eth type is 0x88cc / end actions queue index 6 / end - the i40e don't support the 0x88cc eth type packet. so the last two commands - failed. - 3. send packets:: pkt1 = Ether(dst="ff:ff:ff:ff:ff:ff")/ARP(pdst="192.168.1.1") pkt2 = Ether(dst="00:11:22:33:44:55", type=0x88BB)/Raw('x' * 20) pkt3 = Ether(dst="00:11:22:33:44:55", type=0x88e5)/Raw('x' * 20) pkt4 = Ether(dst="00:11:22:33:44:55", type=0x8864)/Raw('x' * 20) + pkt5 = Ether(dst="00:11:22:33:44:55", type=0x88cc)/Raw('x' * 20) - verify pkt1 to queue 2, and pkt2 to queue 3, pkt3 to queue 4, pkt4 dropped. + verify pkt1 to queue 2, and pkt2 to queue 3, pkt3 to queue 4, pkt4 dropped, pkt5 to queue 6. 4. verify rules can be listed and destroyed:: testpmd> flow list 0 testpmd> flow destroy 0 rule 0 - verify pkt1 to queue 0, and pkt2 to queue 3, pkt3 to queue 4, + verify pkt1 to queue 0, and pkt2 to queue 3, pkt3 to queue 4, pkt4 dropped, pkt5 to queue 6. testpmd> flow list 0 testpmd> flow flush 0 - verify pkt1 to queue 0, and pkt2 to queue 0, pkt3 to queue 0, pkt4 to queue 0. + verify pkt1 to queue 0, and pkt2 to queue 0, pkt3 to queue 0, pkt4 to queue 0, pkt5 to queue 0. testpmd> flow list 0 -- 2.7.5