[V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
Commit Message
iavf has rss hash rx offload capability by default, but i40evf not have.
So the hash value and rx queue number will be random when receive wrong label MPLS packets.
If want to wrong label packets received by default queue 0, just launch test-pmd with parameter "--disable-rss".
Signed-off-by: xiewei <weix.xie@intel.com>
---
v2: re-launch testpmd is a waste of time, and start testpmd with 'disable-rss` directly.
v1: compatible with iavf and i40evf for vf.
tests/TestSuite_ddp_mpls.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Xie, WeiX <weix.xie@intel.com>
> Sent: Tuesday, March 30, 2021 11:20 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
Tested-by: Xie Wei <weix.xie@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie, WeiX
> Sent: 2021年3月30日 14:47
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-
> rss
>
> > -----Original Message-----
> > From: Xie, WeiX <weix.xie@intel.com>
> > Sent: Tuesday, March 30, 2021 11:20 PM
> > To: dts@dpdk.org
> > Cc: Xie, WeiX <weix.xie@intel.com>
> > Subject: [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
>
> Tested-by: Xie Wei <weix.xie@intel.com>
Applied, thanks
@@ -129,7 +129,7 @@ class Testddp_mpls(TestCase):
"Default","--port-topology=chained --txq=%s --rxq=%s"
% (PF_MAX_QUEUE, PF_MAX_QUEUE))
self.vm0_testpmd.start_testpmd(
- VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s"
+ VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s --disable-rss"
% (VF_MAX_QUEUE, VF_MAX_QUEUE))