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 5F6A4A0350; Sun, 28 Jun 2020 08:35:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 44C551C10A; Sun, 28 Jun 2020 08:35:18 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id ED5251C036 for ; Sun, 28 Jun 2020 08:35:16 +0200 (CEST) IronPort-SDR: lkvLN4KjaJEF8af9y3WnwpEGiJURnJlqgRJakNQwGLXazBayseJhQ5XdfFfq/wZuRc3unIDv5S w9z2tux2WOtg== X-IronPort-AV: E=McAfee;i="6000,8403,9665"; a="147334505" X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="147334505" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2020 23:35:15 -0700 IronPort-SDR: L9OjwjV+e0qeDivet1S/3rvei9hV2rIYaoTLvL/cGcdHG5HD61RGzyeiMU+8T5E3xwaDTtdvP/ LVOmv6r/bLMg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="355160646" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 27 Jun 2020 23:35:15 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 23:35:15 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 23:35:15 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.174]) with mapi id 14.03.0439.000; Sun, 28 Jun 2020 14:35:12 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst Thread-Index: AQHWSD8UzXKJSISpf0mGC0RcNBPbV6jtm/zg Date: Sun, 28 Jun 2020 06:35:11 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC65901@SHSMSX101.ccr.corp.intel.com> References: <1592819497-17496-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1592819497-17496-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst 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" Applied Failed. Applying: test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst error: patch failed: test_plans/cvl_fdir_test_plan.rst:2463 error: test_plans/cvl_fdir_test_plan.rst: patch does not apply Patch failed at 0001 test_plans: Add 4*25 NIC description for cvl_fdir_test= _plan.rst -----Original Message----- From: dts On Behalf Of Peng Yuan Sent: 2020=1B$BG/=1B(B6=1B$B7n=1B(B22=1B$BF|=1B(B 17:52 To: dts@dpdk.org Cc: Peng, Yuan Subject: [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_tes= t_plan.rst From: pengyuan Add 4*25 NIC description for cvl_fdir_test_plan.rst Signed-off-by: pengyuan diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_p= lan.rst index 12e5041..254bb53 100644 --- a/test_plans/cvl_fdir_test_plan.rst +++ b/test_plans/cvl_fdir_test_plan.rst @@ -2463,6 +2463,16 @@ Subcase 1: port stop/port start/port reset =20 8. verify matched packet can be still redirected to queue 1 with FDIR matc= hed ID=3D0x0. =20 +9. add a new rule:: + + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src = is 192.168.0.22 dst is 192.168.0.23 / end actions queue index 2 / mark id 1= / end + +10. list the rule and send matched packet:: + + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.22",dst=3D= "192.168.0.23") / Raw('x' * 80)],iface=3D"enp175s0f0") + + check the packet are redirected to queue 2 with FDIR matched ID=3D0x1 + Subcase 2: add/delete rules --------------------------- =20 @@ -2579,6 +2589,9 @@ Subcase 3: delete rules =20 Subcase 4: max rules -------------------- +This case is designed based on 2*100G NIC. +If 4*25 NIC, each PF port has 512 fdir rules guaranteed. +So there can be created 14848 fdir rules on 1 PF port. =20 1. create 15360 rules on port 0:: =20 --=20 2.14.3