* Re: [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
2021-03-30 15:20 [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss xiewei
@ 2021-03-30 6:47 ` Xie, WeiX
2021-03-31 6:49 ` Tu, Lijuan
0 siblings, 1 reply; 3+ messages in thread
From: Xie, WeiX @ 2021-03-30 6:47 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
> -----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>
[-- Attachment #2: Testddp_mpls.log --]
[-- Type: application/octet-stream, Size: 126202 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
@ 2021-03-30 15:20 xiewei
2021-03-30 6:47 ` Xie, WeiX
0 siblings, 1 reply; 3+ messages in thread
From: xiewei @ 2021-03-30 15:20 UTC (permalink / raw)
To: dts; +Cc: xiewei
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(-)
diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py
index 53fd4a76..7c677c3c 100644
--- a/tests/TestSuite_ddp_mpls.py
+++ b/tests/TestSuite_ddp_mpls.py
@@ -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))
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
2021-03-30 6:47 ` Xie, WeiX
@ 2021-03-31 6:49 ` Tu, Lijuan
0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-03-31 6:49 UTC (permalink / raw)
To: Xie, WeiX, dts
> -----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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-31 6:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 15:20 [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss xiewei
2021-03-30 6:47 ` Xie, WeiX
2021-03-31 6:49 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).