Re: [dpdk-dev] [PATCH v2 07/13] ethdev: add device matching field name

2018-09-21 Thread Thomas Monjalon
21/09/2018 14:16, Gaëtan Rivet: > On Thu, Sep 20, 2018 at 06:17:13PM +0200, Thomas Monjalon wrote: > > 19/09/2018 18:03, Gaetan Rivet: > > > The eth device class can now parse a field name, > > > matching the eth_dev name with one passed as > > > > > >"class=eth,name=xx" > > > > I am not

Re: [dpdk-dev] [PATCH v2 07/13] ethdev: add device matching field name

2018-09-21 Thread Gaëtan Rivet
On Thu, Sep 20, 2018 at 06:17:13PM +0200, Thomas Monjalon wrote: > 19/09/2018 18:03, Gaetan Rivet: > > The eth device class can now parse a field name, > > matching the eth_dev name with one passed as > > > >"class=eth,name=xx" > > I am not sure what is the purpose of the "name" property.

Re: [dpdk-dev] [PATCH v2 07/13] ethdev: add device matching field name

2018-09-20 Thread Thomas Monjalon
19/09/2018 18:03, Gaetan Rivet: > The eth device class can now parse a field name, > matching the eth_dev name with one passed as > >"class=eth,name=xx" I am not sure what is the purpose of the "name" property. I think we should not need it to choose a port by its ethdev name. If you are

[dpdk-dev] [PATCH v2 07/13] ethdev: add device matching field name

2018-09-19 Thread Gaetan Rivet
The eth device class can now parse a field name, matching the eth_dev name with one passed as "class=eth,name=xx" Signed-off-by: Gaetan Rivet Acked-by: Andrew Rybchenko --- lib/librte_ethdev/rte_class_eth.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/librte_ethdev/rte