Re: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang

2020-05-12 Thread Iremonger, Bernard
nger, Bernard > > ; sta...@dpdk.org; Andrew Rybchenko > > ; Thomas Monjalon > > > Subject: Re: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in > > FreeBSD by clang > > > > On 5/11/2020 11:25 AM, Ting Xu wrote: > > > When set DCB in testpmd

Re: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang

2020-05-11 Thread Xu, Ting
> -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, May 12, 2020 12:29 AM > To: Xu, Ting ; dev@dpdk.org > Cc: Lu, Wenzhuo ; Xing, Beilei > ; Iremonger, Bernard > ; sta...@dpdk.org; Andrew Rybchenko > ; Thomas Monjalon > Subject: Re: [dpdk-dev] [PAT

Re: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang

2020-05-11 Thread Ferruh Yigit
On 5/11/2020 11:25 AM, Ting Xu wrote: > When set DCB in testpmd by clang, there is a segmentation fault. > It is because the local variable rss_conf in get_eth_dcb_conf() > is not cleared, so that the pointer member variable rss_key has > a random address, which leads to an error in the following >

Re: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang

2020-05-11 Thread Huang, ZhiminX
/testpmd: fix DCB set failure in FreeBSD by clang When set DCB in testpmd by clang, there is a segmentation fault. It is because the local variable rss_conf in get_eth_dcb_conf() is not cleared, so that the pointer member variable rss_key has a random address, which leads to an error in the

Re: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang

2020-05-10 Thread Xing, Beilei
> -Original Message- > From: Xu, Ting > Sent: Monday, May 11, 2020 6:25 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Xing, Beilei > ; Iremonger, Bernard > ; sta...@dpdk.org > Subject: [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang > > When set DCB in testpmd by clang, the

[dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang

2020-05-10 Thread Ting Xu
When set DCB in testpmd by clang, there is a segmentation fault. It is because the local variable rss_conf in get_eth_dcb_conf() is not cleared, so that the pointer member variable rss_key has a random address, which leads to an error in the following processing. This patch initialized the local va