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 6DB4DA04FA; Thu, 11 Jun 2020 06:49:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5A56B1DB8; Thu, 11 Jun 2020 06:49:46 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CD1B71C01 for ; Thu, 11 Jun 2020 06:49:44 +0200 (CEST) IronPort-SDR: BqnWn27z30BlddfN9FfUn99f3amilMM8mzu247/GU+tLCGDttkUvPuU5QCWQuyD7x+4keE/Czh 20DHAHjTuIgw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2020 21:49:44 -0700 IronPort-SDR: AemV6dgLKF5Lg5REozvzIp14sF5T5bdC21m7OFKzJ5rmwQQvBFevD5Qvxb1H5771rY3hP5SyFt 4nI7DqNhklag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,498,1583222400"; d="scan'208";a="306838306" Received: from ubuntu.sh.intel.com (HELO xqm-virtio_tester.sh.intel.com) ([10.240.183.52]) by fmsmga002.fm.intel.com with ESMTP; 10 Jun 2020 21:49:42 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Thu, 11 Jun 2020 12:42:04 +0800 Message-Id: <1591850524-31669-2-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1591850524-31669-1-git-send-email-qimaix.xiao@intel.com> References: <1591850524-31669-1-git-send-email-qimaix.xiao@intel.com> Subject: [dts] [PATCH V1]cvl_fdir_test_plan.rst: update cvl 25g max rules and add steps in port_stop_start_reset 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" Signed-off-by: Xiao Qimai --- test_plans/cvl_fdir_test_plan.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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:: -- 1.8.3.1