Re: [dpdk-dev] [PATCH] ethdev: fix device info getting

2018-07-12 Thread Lu, Wenzhuo
Hi Andrew, > -Original Message- > From: Andrew Rybchenko [mailto:arybche...@solarflare.com] > Sent: Thursday, July 12, 2018 4:06 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ethdev: fix device info getting > > On 12.07.2018 08:27, Wenzhuo Lu

Re: [dpdk-dev] [PATCH] ethdev: fix device info getting

2018-07-12 Thread Andrew Rybchenko
On 12.07.2018 08:27, Wenzhuo Lu wrote: The device information cannot be gotten correctly before the configuration is set. Because on some NICs the information has dependence on the configuration. Fixes: 3be82f5cc5e3 ("ethdev: support PMD-tuned Tx/Rx parameters") Signed-off-by: Wenzhuo Lu ---

[dpdk-dev] [PATCH] ethdev: fix device info getting

2018-07-11 Thread Wenzhuo Lu
The device information cannot be gotten correctly before the configuration is set. Because on some NICs the information has dependence on the configuration. Fixes: 3be82f5cc5e3 ("ethdev: support PMD-tuned Tx/Rx parameters") Signed-off-by: Wenzhuo Lu --- lib/librte_ethdev/rte_ethdev.c | 47 ++