From patchwork Tue Aug 11 13:23:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng, Yuan" X-Patchwork-Id: 75354 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 172B0A04D8; Tue, 11 Aug 2020 08:17:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CCBE11C00D; Tue, 11 Aug 2020 08:17:56 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 8720B1B203 for ; Tue, 11 Aug 2020 08:17:54 +0200 (CEST) IronPort-SDR: +Krb2ggwQ8x0HoL7jF8VKhEtj8pwWbQGpV6wq1GMrUaEtwkNX3XlHm5zC9pBWRgeinQcrfEjsv P5xgASsYBhpw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="141289202" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="141289202" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2020 23:17:53 -0700 IronPort-SDR: 6CZyuXeeNZ4XUCvZ/BaRUDM2uxc8v6VleXgKqb7xbLHYFU92bGrS/JZ0CBsKOKgy56WLVeVfBV lWJMrx+exVuA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="334470211" Received: from npg_dpdk_nic_yuanpeng_tester62.sh.intel.com ([10.67.119.61]) by orsmga007.jf.intel.com with ESMTP; 10 Aug 2020 23:17:52 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Tue, 11 Aug 2020 13:23:55 +0000 Message-Id: <1597152235-167895-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH]test_plans: change 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" add MPLS label to MPLS packet Signed-off-by: Peng Yuan diff --git a/test_plans/iavf_fdir_test_plan.rst b/test_plans/iavf_fdir_test_plan.rst index eb35b8c5..b2c35535 100644 --- a/test_plans/iavf_fdir_test_plan.rst +++ b/test_plans/iavf_fdir_test_plan.rst @@ -163,6 +163,7 @@ Prerequisites >>> sys.path.append('/root') >>> from pfcp import PFCP >>> from scapy.contrib.gtp import * + >>> from scapy.contrib.mpls import * Default parameters @@ -1446,7 +1447,7 @@ Subcase 1: L2 Ethertype queue index 6. send a mismatched packet:: - sendp([Ether(dst="00:11:22:33:44:55",type=0x8847)],iface="enp134s0f1") + sendp([Ether(dst="00:11:22:33:44:55",type=0x8847)/MPLS(label=0xee456)/IP()],iface="enp134s0f1") check the packet received has not FDIR matched ID.