net/pcap: use macros for parameter string
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Aug 2016 11:17:39 +0000 (12:17 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/pcap/rte_eth_pcap.c

index 595d4f8..7dc6d67 100644 (file)
@@ -1092,8 +1092,8 @@ static struct rte_vdev_driver pmd_pcap_drv = {
 
 DRIVER_REGISTER_VDEV(net_pcap, pmd_pcap_drv);
 DRIVER_REGISTER_PARAM_STRING(net_pcap,
-       "rx_pcap=<string> "
-       "tx_pcap=<string> "
-       "rx_iface=<ifc> "
-       "tx_iface=<ifc> "
-       "iface=<ifc>");
+       ETH_PCAP_RX_PCAP_ARG "=<string> "
+       ETH_PCAP_TX_PCAP_ARG "=<string> "
+       ETH_PCAP_RX_IFACE_ARG "=<ifc> "
+       ETH_PCAP_TX_IFACE_ARG "=<ifc> "
+       ETH_PCAP_IFACE_ARG "=<ifc>");