net/pcap: use a struct to pass user options
authorCian Ferriter <cian.ferriter@intel.com>
Fri, 14 Jun 2019 14:43:36 +0000 (15:43 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:32:18 +0000 (20:32 +0200)
commitda6ba28f05407d161a7ee113bfcdf713e4a2c909
tree555ff1062cb7dd9dec79dd3afc748c21c281b9e7
parentbbf708e54ffb2bd6ab945fba37998d1e4659623a
net/pcap: use a struct to pass user options

The argument lists on some of the device creation functions are quite
large. Using a struct to hold the user options parsed in
'pmd_pcap_probe' will allow for cleaner function calls and definitions.
Adding user options will also be easier.

Signed-off-by: Cian Ferriter <cian.ferriter@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/pcap/rte_eth_pcap.c