[dpdk-dev] [PATCH] app/testpmd: fix testpmd failure due to RSS offload check

2018-04-24 Thread Qi Zhang
After add RSS hash offload check, default rss_hf will fail on devices that not support all bits, the patch introduce RSS negotiate flag, when it is set, RSS configuration will negotiate with device capability. By default negotiate is turn on, so it will not break exist PMD. It can be disabled by "-

Re: [dpdk-dev] [PATCH] app/testpmd: fix testpmd failure due to RSS offload check

2018-04-24 Thread Adrien Mazarguil
On Tue, Apr 24, 2018 at 05:13:46PM +0100, Ferruh Yigit wrote: > On 4/24/2018 3:39 PM, Ferruh Yigit wrote: > > On 4/24/2018 3:18 PM, Qi Zhang wrote: > >> After add RSS hash offload check, default rss_hf will fail on > >> devices that not support all bits, the patch take rss_hf as > >> a suggest valu

Re: [dpdk-dev] [PATCH] app/testpmd: fix testpmd failure due to RSS offload check

2018-04-24 Thread Ferruh Yigit
On 4/24/2018 3:39 PM, Ferruh Yigit wrote: > On 4/24/2018 3:18 PM, Qi Zhang wrote: >> After add RSS hash offload check, default rss_hf will fail on >> devices that not support all bits, the patch take rss_hf as >> a suggest value and only set bits that device supported base on >> rte_eth_dev_get_inf

Re: [dpdk-dev] [PATCH] app/testpmd: fix testpmd failure due to RSS offload check

2018-04-24 Thread Ferruh Yigit
On 4/24/2018 3:18 PM, Qi Zhang wrote: > After add RSS hash offload check, default rss_hf will fail on > devices that not support all bits, the patch take rss_hf as > a suggest value and only set bits that device supported base on > rte_eth_dev_get_info. > > Fixes: 527624c663f8 ("ethdev: add suppor

[dpdk-dev] [PATCH] app/testpmd: fix testpmd failure due to RSS offload check

2018-04-24 Thread Qi Zhang
After add RSS hash offload check, default rss_hf will fail on devices that not support all bits, the patch take rss_hf as a suggest value and only set bits that device supported base on rte_eth_dev_get_info. Fixes: 527624c663f8 ("ethdev: add supported hash function check") Signed-off-by: Qi Zhang