Reshma Pattan
bde516d5a8
ethdev: get port by name
Converted rte_eth_dev_get_port_by_name to a public API. Converted rte_eth_dev_get_name_by_port to a public API. The librte_pdump library provides the APIs to enable or disable the packet capture either using the port id or pci address or device name. So pdump library need to do a mapping from name to port and port to name internally to validate the device name and register the Rx and Tx callbacks for the mapped ports. So these APIs are made public for the pdump library for doing the mentioned mappings. Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD license for the core libraries and drivers. The kernel components are GPLv2 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org
Description
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%