Re: [dpdk-dev] [PATCH 3/3] app/testpmd: fix uninitialized members when setting PFC

2020-02-04 Thread Ferruh Yigit
On 1/28/2020 11:21 AM, Ferruh Yigit wrote: > On 1/21/2020 11:44 AM, Wei Hu (Xavier) wrote: >> From: "Wei Hu (Xavier)" >> >> Only a part of members in the local structure variable named pfc_conf are >> initialized in the function named cmd_priority_flow_ctrl_set_parsed when >> typing "set pfc_ctrl.

Re: [dpdk-dev] [PATCH 3/3] app/testpmd: fix uninitialized members when setting PFC

2020-01-28 Thread Ferruh Yigit
On 1/21/2020 11:44 AM, Wei Hu (Xavier) wrote: > From: "Wei Hu (Xavier)" > > Only a part of members in the local structure variable named pfc_conf are > initialized in the function named cmd_priority_flow_ctrl_set_parsed when > typing "set pfc_ctrl..." command, and others are random values. Howeve

[dpdk-dev] [PATCH 3/3] app/testpmd: fix uninitialized members when setting PFC

2020-01-21 Thread Wei Hu (Xavier)
From: "Wei Hu (Xavier)" Only a part of members in the local structure variable named pfc_conf are initialized in the function named cmd_priority_flow_ctrl_set_parsed when typing "set pfc_ctrl..." command, and others are random values. However, those uninitialized members may cause failure. This