From f086a318374c4f6d85500b0f3a9c2ea1ebac618d Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Fri, 26 Aug 2016 12:17:39 +0100 Subject: [PATCH] net/pcap: use macros for parameter string Signed-off-by: Ferruh Yigit Acked-by: Stephen Hemminger --- drivers/net/pcap/rte_eth_pcap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 "="); -- 2.20.1