[dts] [PATCH V1 1/2] test_plans/fortville_rss_input_test_plan: remove global configurations of hash filter case

Jiang, YuX yux.jiang at intel.com
Wed Sep 15 03:52:32 CEST 2021


> -----Original Message-----
> From: Tu, Lijuan <lijuan.tu at intel.com>
> Sent: Tuesday, September 14, 2021 3:57 PM
> To: Jiang, YuX <yux.jiang at intel.com>; dts at dpdk.org
> Cc: Jiang, YuX <yux.jiang at intel.com>
> Subject: RE: [dts] [PATCH V1 1/2] test_plans/fortville_rss_input_test_plan:
> remove global configurations of hash filter case
> 
> 
> 
> > -----Original Message-----
> > From: dts <dts-bounces at dpdk.org> On Behalf Of Yu Jiang
> > Sent: 2021年8月19日 19:35
> > To: dts at dpdk.org
> > Cc: Jiang, YuX <yux.jiang at intel.com>
> > Subject: [dts] [PATCH V1 1/2]
> > test_plans/fortville_rss_input_test_plan: remove global configurations
> > of hash filter case
> >
> > According to dpdk commit 81db321da ethdev: remove legacy HASH filter
> > type support, remove case test_global_hash_configuration
> >
> > Signed-off-by: Yu Jiang <yux.jiang at intel.com>
> 
> dpdk commit 81db321da says "Instead of HASH filter RTE flow API should be
> used"
> Is the RTE flow API for HASH filter already in dts ? if yes, could you provide
> the position.
> 
I check this suite has one case: Test Case: test query RSS rule  includes "testpmd> flow create 0 ingress pattern end actions rss types end queues end func simple_xor / end" and verify rule's hash function.
And get_hash_global_config 0 Is not supported due to commit id, only can use " testpmd> flow query 0 0 rss" to query rss  hash function. If no, rss rule, it can not query rss hash. 
So this is why i remove this case. @Peng, Yuan Do you have any good suggestion about this?

> > ---
> >  test_plans/fortville_rss_input_test_plan.rst | 29
> > ----------------------------
> >  1 file changed, 29 deletions(-)
> >
> > diff --git a/test_plans/fortville_rss_input_test_plan.rst
> > b/test_plans/fortville_rss_input_test_plan.rst
> > index 1f249ac..a73b1b5 100644
> > --- a/test_plans/fortville_rss_input_test_plan.rst
> > +++ b/test_plans/fortville_rss_input_test_plan.rst
> > @@ -58,35 +58,6 @@ Prerequisites
> >      testpmd>set verbose 1
> >      testpmd>start
> >
> > -Test Case: test global configurations of hash filter -
> > ====================================================
> > -
> > -create a rule that set global configurations of hash filters is toeplitz::
> > -
> > -    testpmd> flow create 0 ingress pattern end actions rss types end
> queues end
> > func simple_xor / end
> > -    testpmd> flow list 0
> > -
> > -verify the Rule is RSS.
> > -
> > -get the status of hash configuration::
> > -
> > -    testpmd> get_hash_global_config 0
> > -
> > -verify Hash function is simple_xor.
> > -
> > -delete the rule::
> > -
> > -    testpmd> flow flush 0
> > -    testpmd> flow list 0
> > -
> > -verify the rules have been destroyed.
> > -
> > -get the status of hash configuration::
> > -
> > -    testpmd> get_hash_global_config 0
> > -
> > -verify Hash function is toeplitz.
> > -
> >  Test Case: test symmetric hash configuration
> > ============================================
> >
> > --
> > 2.7.4
> 



More information about the dts mailing list