Re: [dpdk-dev] [PATCH v3 3/3] app/testpmd: fix dynamic config error

2021-01-22 Thread Ferruh Yigit
On 1/22/2021 5:04 PM, Ferruh Yigit wrote: On 1/22/2021 9:01 AM, Steve Yang wrote: The offloads of 'tx/rx_conf' didn't keep up with the corresponding offloads of 'dev_conf' if rx queue capability was 0, it would cause the configuration invalid. For example: Configuring 'max-pkt-len' would change

Re: [dpdk-dev] [PATCH v3 3/3] app/testpmd: fix dynamic config error

2021-01-22 Thread Ferruh Yigit
On 1/22/2021 9:01 AM, Steve Yang wrote: The offloads of 'tx/rx_conf' didn't keep up with the corresponding offloads of 'dev_conf' if rx queue capability was 0, it would cause the configuration invalid. For example: Configuring 'max-pkt-len' would change 'rx_offloads' in dev_conf while rx_conf.of

[dpdk-dev] [PATCH v3 3/3] app/testpmd: fix dynamic config error

2021-01-22 Thread Steve Yang
The offloads of 'tx/rx_conf' didn't keep up with the corresponding offloads of 'dev_conf' if rx queue capability was 0, it would cause the configuration invalid. For example: Configuring 'max-pkt-len' would change 'rx_offloads' in dev_conf while rx_conf.offloads of each queue still kept the old va