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 09896A0540; Thu, 16 Jul 2020 11:33:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B5CA61BE9C; Thu, 16 Jul 2020 11:33:15 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 18BD64F9A for ; Thu, 16 Jul 2020 11:33:13 +0200 (CEST) IronPort-SDR: zFL+Onz8K7f2Drm9Hgr45KhOYmB/z1LEkUbv0XeUEchKFOd3R+OAVCKIZOZGrk2CAU6IbCdPBs 0ZkVXzak5Ctw== X-IronPort-AV: E=McAfee;i="6000,8403,9683"; a="214086041" X-IronPort-AV: E=Sophos;i="5.75,358,1589266800"; d="scan'208";a="214086041" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2020 02:33:12 -0700 IronPort-SDR: HBrwwOiYv9vWoRyy+doJjkbgnz82NPMwxN3huCHKFxKo/Sd2N9W0PvbpyISyLhdCSsogK2DjEk ZRmTj3Bi1Olg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,358,1589266800"; d="scan'208";a="486546168" Received: from npg_dpdk_nic_yuanpeng_tester62.sh.intel.com ([10.67.119.61]) by fmsmga005.fm.intel.com with ESMTP; 16 Jul 2020 02:33:11 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Thu, 16 Jul 2020 16:38:58 +0000 Message-Id: <1594917538-7217-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH]test_plans: add ipv6 pattern to conflict rule case 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 ipv6 conflict rules check to negative case. Signed-off-by: Peng Yuan diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst index 63ad6f2..f398929 100644 --- a/test_plans/cvl_fdir_test_plan.rst +++ b/test_plans/cvl_fdir_test_plan.rst @@ -1812,6 +1812,7 @@ Subcase 6: conflicted rules 1. Create a FDIR rule:: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 1 / end + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 / end actions queue index 1 / mark / end the rule is created successfully. @@ -1821,12 +1822,17 @@ Subcase 6: conflicted rules flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions drop / end flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 3 / mark / end flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / udp src is 22 dst is 23 / end actions queue index 3 / mark / end + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 / end actions queue index 2 / mark / end + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 / end actions rss queues 2 3 end / mark / end + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2021 / end actions mark / end + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 / udp src is 22 dst is 23 / end actions queue index 1 / mark / end Failed to create the two flows, report message:: - first two rules: Rule already exists!: File exists - last two rules: + + or:: + Invalid input action number: Invalid argument 3. check there is only one rule listed. -- 2.7.4