dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] app/testpmd: fix RSS rx by setting mq_mode
@ 2014-01-11  2:46 Daniel Kan
       [not found] ` <1389408367-19376-1-git-send-email-dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Kan @ 2014-01-11  2:46 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

---
 app/test-pmd/testpmd.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index b11eb2e..355db0f 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -1546,6 +1546,9 @@ init_port_config(void)
 		if (nb_rxq > 0) {
 			port->dev_conf.rx_adv_conf.rss_conf.rss_key = NULL;
 			port->dev_conf.rx_adv_conf.rss_conf.rss_hf = rss_hf;
+			if (nb_rxq > 1 && rss_hf != 0) {
+				port->dev_conf.rxmode.mq_mode = ETH_MQ_RX_RSS;
+			}
 		} else {
 			port->dev_conf.rx_adv_conf.rss_conf.rss_key = NULL;
 			port->dev_conf.rx_adv_conf.rss_conf.rss_hf = 0;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-01-17 11:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-11  2:46 [PATCH] app/testpmd: fix RSS rx by setting mq_mode Daniel Kan
     [not found] ` <1389408367-19376-1-git-send-email-dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
2014-01-13 10:31   ` Thomas Monjalon
     [not found]     ` <201401131131.06203.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-01-13 11:18       ` Ananyev, Konstantin
     [not found]         ` <2601191342CEEE43887BDE71AB97725808E4ED39-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-01-13 11:32           ` Thomas Monjalon
2014-01-13 19:17       ` [PATCH v2] app/testpmd: fix RSS " Daniel Kan
     [not found]         ` <1389640630-21003-1-git-send-email-dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
2014-01-14 17:42           ` Maxime Leroy
     [not found]             ` <CAEykdvr+9JD0MKwwGqf-4+jSnVaPFGPnMYnr_VFfgCn2+hPcEg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-14 19:57               ` Daniel Kan
     [not found]                 ` <8FCA4423-9762-47DD-868C-028FD8AAE2BB-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
2014-01-14 21:34                   ` Thomas Monjalon
2014-01-16  0:27               ` [PATCH v3] Daniel Kan
2014-01-16  0:31               ` [PATCH v3] app/testpmd: fix RSS rx by setting mq_mode Daniel Kan
     [not found]                 ` <1389832299-30033-1-git-send-email-dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
2014-01-16 12:34                   ` Maxime Leroy
     [not found]                     ` <CAEykdvp9RP9rA8t_stNNygAw9rZyLRxUo3G-ej-Wy=pEkvTzrg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-17 11:25                       ` Thomas Monjalon

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).