Re: [dpdk-dev] [PATCH] app/testpmd: fix dcb config failure

2018-07-24 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xiaoyun Li > Sent: Tuesday, July 24, 2018 12:33 PM > To: Lu, Wenzhuo ; Wu, Jingjing > > Cc: dev@dpdk.org; Li, Xiaoyun ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] app/testpmd: fix dcb conf

[dpdk-dev] [PATCH] app/testpmd: fix dcb config failure

2018-07-24 Thread Xiaoyun Li
After adding RSS hash offload check, default rss_hf will fail on devices that do not support all bits. This will lead to dcb config failure. The patch fixes this issue by taking rss_hf as a suggested value and only setting bits that the device supports based on rte_eth_dev_get_info. Fixes: 8863a1f