[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Jan 10 00:11:43 CET 2014
Hello,
09/01/2014 10:49, Daniel Kan :
> The problem appears to be that rxmode.mq_mode was never set to ETH_MQ_RX_RSS
> in testpmd.c; it’s initialized to 0.
You're right. Its broken since the commit "ETH_MQ_RX_NONE should disable RSS":
http://dpdk.org/browse/dpdk/commit/?id=243db2ddee3094a2cb39fdd4b17e26df4e7735e1
> There should probably be a configuration for that, or should be set when
> rxq > 1.
RSS can be configured or disabled with testpmd options or commands.
So it must be fixed in 2 places:
- in app/test-pmd/parameters.c for options
- in app/test-pmd/cmdline.c for commands
When setting rss_hf, mq_mode must be set accordingly.
Note that DCB feature can use mq_mode.
Thanks for the report. Patch is welcome :)
--
Thomas
More information about the dev
mailing list