Re: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure

2020-05-18 Thread Ferruh Yigit
On 5/18/2020 3:57 PM, Matan Azrad wrote: > > Hi > > From: Andrew Rybchenko >> CC net/nfp maintainer >> >> On 5/13/20 8:16 PM, Ting Xu wrote: >>> When rte_eth_dev_rss_hash_conf_get() is called, if the variable >>> rss_conf is not initialized, the pointer member variable rss_key may >>> have a ran

Re: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure

2020-05-18 Thread Ferruh Yigit
On 5/18/2020 2:32 PM, Andrew Rybchenko wrote: > CC net/nfp maintainer > > On 5/13/20 8:16 PM, Ting Xu wrote: >> When rte_eth_dev_rss_hash_conf_get() is called, if the variable >> rss_conf is not initialized, the pointer member variable rss_key >> may have a random address, which leads to an error

Re: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure

2020-05-18 Thread Matan Azrad
Hi From: Andrew Rybchenko > CC net/nfp maintainer > > On 5/13/20 8:16 PM, Ting Xu wrote: > > When rte_eth_dev_rss_hash_conf_get() is called, if the variable > > rss_conf is not initialized, the pointer member variable rss_key may > > have a random address, which leads to an error in the followi

Re: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure

2020-05-18 Thread Andrew Rybchenko
CC net/nfp maintainer On 5/13/20 8:16 PM, Ting Xu wrote: > When rte_eth_dev_rss_hash_conf_get() is called, if the variable > rss_conf is not initialized, the pointer member variable rss_key > may have a random address, which leads to an error in the following > processing. This patch initialized t

Re: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure

2020-05-13 Thread Iremonger, Bernard
> -Original Message- > From: dev On Behalf Of Ting Xu > Sent: Wednesday, May 13, 2020 6:16 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Yigit, Ferruh ; > arybche...@solarflare.com; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v5] ethdev: fix DCB

Re: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure

2020-05-13 Thread Ferruh Yigit
On 5/13/2020 6:16 PM, Ting Xu wrote: > When rte_eth_dev_rss_hash_conf_get() is called, if the variable > rss_conf is not initialized, the pointer member variable rss_key > may have a random address, which leads to an error in the following > processing. This patch initialized the variable rss_conf

[dpdk-dev] [PATCH v5] ethdev: fix DCB set failure

2020-05-13 Thread Ting Xu
When rte_eth_dev_rss_hash_conf_get() is called, if the variable rss_conf is not initialized, the pointer member variable rss_key may have a random address, which leads to an error in the following processing. This patch initialized the variable rss_conf to avoid this situation. Fixes: 16321de09396