[dpdk-dev] [PATCH] app/testpmd: fix RSS rx by setting mq_mode
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Jan 13 11:31:06 CET 2014
Hello,
11/01/2014 03:46, Daniel Kan:
> --- 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;
> + }
The fix looks good. Thanks.
Please, could you add a detailed explanation and a signed-off as described in
the guidelines:
http://dpdk.org/dev#send
I think it's a good idea to point to the commit which has introduced the bug.
Note also that "RSS rx" may be simply "RSS".
Thank you
--
Thomas
More information about the dev
mailing list