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 567E8A0350; Mon, 22 Jun 2020 04:44:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 395FE1C0D6; Mon, 22 Jun 2020 04:44:26 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id B8D211C0CD for ; Mon, 22 Jun 2020 04:44:24 +0200 (CEST) IronPort-SDR: 5Gjf8aSXOGPBaZ/AHONYt3Ohd6QKEvZGVjXT9CsjomVjcOQkUBkmcTFrMQgX2aU3sDyGspUmYT iKDCYqwfufzw== X-IronPort-AV: E=McAfee;i="6000,8403,9659"; a="123308437" X-IronPort-AV: E=Sophos;i="5.75,265,1589266800"; d="scan'208";a="123308437" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2020 19:44:23 -0700 IronPort-SDR: EjBVqYP2PW2aKqjocxlEhwVxBCHE77tjiycwNVyBTBnKbzVYEq5ph+iiXkuh5L2fXTyWGU5pxB 4qjqBScthNlQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,265,1589266800"; d="scan'208";a="478292476" Received: from npg_dpdk_nic_yuanpeng_tester62.sh.intel.com ([10.67.119.61]) by fmsmga005.fm.intel.com with ESMTP; 21 Jun 2020 19:44:22 -0700 From: Peng Yuan To: dts@dpdk.org Cc: pengyuan Date: Mon, 22 Jun 2020 09:51:37 +0000 Message-Id: <1592819497-17496-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [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" 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_plan.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 8. verify matched packet can be still redirected to queue 1 with FDIR matched ID=0x0. +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="00:11:22:33:44:55")/IP(src="192.168.0.22",dst="192.168.0.23") / Raw('x' * 80)],iface="enp175s0f0") + + check the packet are redirected to queue 2 with FDIR matched ID=0x1 + Subcase 2: add/delete rules --------------------------- @@ -2579,6 +2589,9 @@ Subcase 3: delete rules 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. 1. create 15360 rules on port 0:: -- 2.14.3