[dpdk-dev] [PATCH v9 4/8] ethdev: make get port by name and get name by port public

2016-06-14 Thread Thomas Monjalon
2016-06-14 10:38, Reshma Pattan: > Converted rte_eth_dev_get_port_by_name to a public API. > Converted rte_eth_dev_get_name_by_port to a public API. No justification? It was planned to remove these functions. The unique naming of the device interfaces could be improved in EAL.

[dpdk-dev] [PATCH v9 4/8] ethdev: make get port by name and get name by port public

2016-06-14 Thread Pattan, Reshma
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 14, 2016 9:24 PM > To: Pattan, Reshma > Cc: dev at dpdk.org; david.marchand at 6wind.com > Subject: Re: [dpdk-dev] [PATCH v9 4/8] ethdev: make get port by name and get > name by port

[dpdk-dev] [PATCH v9 4/8] ethdev: make get port by name and get name by port public

2016-06-14 Thread Reshma Pattan
Converted rte_eth_dev_get_port_by_name to a public API. Converted rte_eth_dev_get_name_by_port to a public API. Signed-off-by: Reshma Pattan --- lib/librte_ether/rte_ethdev.c | 4 ++-- lib/librte_ether/rte_ethdev.h | 29 +