From: Ferruh Yigit Date: Fri, 26 Aug 2016 11:17:39 +0000 (+0100) Subject: net/pcap: use macros for parameter string X-Git-Tag: spdx-start~5873 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f086a318374c4f6d85500b0f3a9c2ea1ebac618d;p=dpdk.git net/pcap: use macros for parameter string Signed-off-by: Ferruh Yigit Acked-by: Stephen Hemminger --- diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index 595d4f8c05..7dc6d67981 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/rte_eth_pcap.c @@ -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= " - "tx_pcap= " - "rx_iface= " - "tx_iface= " - "iface="); + ETH_PCAP_RX_PCAP_ARG "= " + ETH_PCAP_TX_PCAP_ARG "= " + ETH_PCAP_RX_IFACE_ARG "= " + ETH_PCAP_TX_IFACE_ARG "= " + ETH_PCAP_IFACE_ARG "=");