[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


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":

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

More information about the dev mailing list