From patchwork Thu Aug 13 06:15:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 75475 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91BF2A04B0; Thu, 13 Aug 2020 08:16:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4AF4D1C022; Thu, 13 Aug 2020 08:16:15 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E34D51C020 for ; Thu, 13 Aug 2020 08:16:12 +0200 (CEST) IronPort-SDR: AQ3q+z+0SCJJzRP6qXU8kpDEEaENnRBq4W+oNr0ZiT0ZwvRdB60dC7XYODIteDMtqkuiyRk6mS aGyPuudLUidw== X-IronPort-AV: E=McAfee;i="6000,8403,9711"; a="151815239" X-IronPort-AV: E=Sophos;i="5.76,307,1592895600"; d="scan'208";a="151815239" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2020 23:16:11 -0700 IronPort-SDR: OjisXWsBkZ0PaOExM4i0GNzz4rEfe8fpvLyi+NBpWkwt2M2uKyJOOAv0VDns/AZnqDtHE/UqpE 9x83vCI8JX/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,307,1592895600"; d="scan'208";a="399068460" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 12 Aug 2020 23:16:10 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 13 Aug 2020 14:15:02 +0800 Message-Id: <20200813061502.12248-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/iavf_fdir:modify mpls packet format 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" According to test plan, modify MPLS packet format. Signed-off-by: Xie wei Tested-by: Xie,WeiX < weix.xie@intel.com> Signed-off-by: Xie wei --- tests/TestSuite_iavf_fdir.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py index 2e02006..c8a93d2 100644 --- a/tests/TestSuite_iavf_fdir.py +++ b/tests/TestSuite_iavf_fdir.py @@ -295,7 +295,7 @@ L2_Ethertype = [ 'Ether(dst="00:11:22:33:44:55",type=0x8100)', 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)', 'Ether(dst="00:11:22:33:44:55",type=0x88f7)/"\\x00\\x02"', - 'Ether(dst="00:11:22:33:44:55",type=0x8847)'] + 'Ether(dst="00:11:22:33:44:55",type=0x8847)/MPLS(label=0xee456)/IP()'] PFCP = [ 'Ether(dst="00:11:22:33:44:55")/IP()/UDP(sport=22, dport=8805)/PFCP(Sfield=0)', @@ -329,7 +329,7 @@ tv_l2_ethertype_queue_index = { {"port_id": 0, "queue": 4, "mark_id": 4}, {"port_id": 0, "queue": 4, "mark_id": 4}, {"port_id": 0, "queue": 5, "mark_id": 5}, - {"port_id": 0, "queue": 0}] + {"port_id": 0, "passthru": 1}] } tv_l2_ethertype_queue_group = { @@ -351,7 +351,7 @@ tv_l2_ethertype_queue_group = { {"port_id": 0, "queue": 0, "mark_id": 2}, {"port_id": 0, "queue": 0, "mark_id": 2}, {"port_id": 0, "queue": 0, "mark_id": 3}, - {"port_id": 0, "queue": 0}] + {"port_id": 0, "passthru": 1}] } tv_l2_ethertype_passthru = { @@ -373,7 +373,7 @@ tv_l2_ethertype_passthru = { {"port_id": 0, "queue": 0, "mark_id": 3}, {"port_id": 0, "queue": 0, "mark_id": 3}, {"port_id": 0, "queue": 0, "mark_id": 4}, - {"port_id": 0, "queue": 0}] + {"port_id": 0, "passthru": 1}] } tv_l2_ethertype_mark_rss = { @@ -395,7 +395,7 @@ tv_l2_ethertype_mark_rss = { {"port_id": 0, "queue": 0, "mark_id": 0}, {"port_id": 0, "queue": 0, "mark_id": 0}, {"port_id": 0, "queue": 0, "mark_id": 3}, - {"port_id": 0, "queue": 0}] + {"port_id": 0, "passthru": 1}] } tv_l2_ethertype_mark = { @@ -417,7 +417,7 @@ tv_l2_ethertype_mark = { {"port_id": 0, "queue": 0, "mark_id": 2}, {"port_id": 0, "queue": 0, "mark_id": 2}, {"port_id": 0, "queue": 0, "mark_id": 0}, - {"port_id": 0, "queue": 0}] + {"port_id": 0, "passthru": 1}] } tv_l2_ethertype_drop = { @@ -439,7 +439,7 @@ tv_l2_ethertype_drop = { {"port_id": 0, "drop": 1}, {"port_id": 0, "drop": 1}, {"port_id": 0, "drop": 1}, - {"port_id": 0, "queue": 0}] + {"port_id": 0, "passthru": 1}] } tv_pfcp_queue_index = {