From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 624592E83 for ; Thu, 11 May 2017 09:36:29 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2017 00:36:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,323,1491289200"; d="scan'208";a="85465967" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 11 May 2017 00:36:27 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Thu, 11 May 2017 15:37:40 +0800 Message-Id: <1494488267-42592-6-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1494488267-42592-1-git-send-email-huilongx.xu@intel.com> References: <1494488267-42592-1-git-send-email-huilongx.xu@intel.com> Subject: [dts] [PATCH 05/12] add link bonding rss dynamic config test plane 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: , X-List-Received-Date: Thu, 11 May 2017 07:36:29 -0000 Signed-off-by: xu,huilong --- test_plans/pmdrss_hash_test_plan.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/test_plans/pmdrss_hash_test_plan.rst b/test_plans/pmdrss_hash_test_plan.rst index 4922d3b..eda7103 100644 --- a/test_plans/pmdrss_hash_test_plan.rst +++ b/test_plans/pmdrss_hash_test_plan.rst @@ -149,4 +149,23 @@ Test Case: test_simple_symmetric The same as the above two test cases. Just pay attention to set the hash function to "simple xor" +Test Case: test_dynamic_rss_bond_config +================================= +This case test bond slaves will auto sync rss hash config, so it only support fortville nic. +#1. set up testpmd woth fortville NICs:: +./testpmd -c f -n 4 -- -i --portmask 0x3 --txqflags=0 +#2 creat bond device with mode 3:: + create bonded device 3 0 +#3 add slave to bond device:: + add bonding slave 0 2 + add bonding slave 1 2 +#4 get default hash algorithm on slave:: + get_hash_global_config 0 + get_hash_global_config 1 +#5 set hash algorithm on slave 0:: + set_hash_global_config 0 simple_xor ipv4-other enable +#6 get hash algorithm on slave 0 and 1:: + get_hash_global_config 0 + get_hash_global_config 1 +#7 check slave 0 and 1 use same hash algorithm -- 1.9.3