Re: [dpdk-dev] [PATCH 2/3] net/af_packet: add accessor for iface

2017-05-22 Thread Charles (Chas) Williams
On 05/22/2017 05:39 AM, Ferruh Yigit wrote: Hi Chas, On 5/17/2017 7:03 PM, Charles (Chas) Williams wrote: Provide an accessor for the name of the underlying linux interface used by the AF_PACKET-based interface. This patch provides a PMD specific API to get PMD internal data (internals->if_

Re: [dpdk-dev] [PATCH 2/3] net/af_packet: add accessor for iface

2017-05-22 Thread Ferruh Yigit
Hi Chas, On 5/17/2017 7:03 PM, Charles (Chas) Williams wrote: > Provide an accessor for the name of the underlying linux interface > used by the AF_PACKET-based interface. This patch provides a PMD specific API to get PMD internal data (internals->if_name). I think we should avoid PMD specific A

[dpdk-dev] [PATCH 2/3] net/af_packet: add accessor for iface

2017-05-17 Thread Charles (Chas) Williams
Provide an accessor for the name of the underlying linux interface used by the AF_PACKET-based interface. Signed-off-by: Charles (Chas) Williams --- drivers/net/af_packet/Makefile | 2 + drivers/net/af_packet/rte_eth_af_packet.c | 17 +++ drivers/net/af_packet/r