Re: [dpdk-dev] [PATCH v2 2/3] net/af_packet: move parse and validation of iface

2018-11-27 Thread Ferruh Yigit
On 11/20/2018 10:26 AM, Tiago Lam wrote: > Instead of re-iterating through kvlist just to parse the > ETH_AF_PACKET_IFACE_ARG argument in rte_pmd_init_internals(), we now use > the already existing iteration in rte_eth_from_packet() to parse and > validate the ETH_AF_PACKET_IFACE_ARG argument. +1

[dpdk-dev] [PATCH v2 2/3] net/af_packet: move parse and validation of iface

2018-11-20 Thread Tiago Lam
Instead of re-iterating through kvlist just to parse the ETH_AF_PACKET_IFACE_ARG argument in rte_pmd_init_internals(), we now use the already existing iteration in rte_eth_from_packet() to parse and validate the ETH_AF_PACKET_IFACE_ARG argument. This will be useful for a later commit, which needs