git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c8870f
)
net/pcap: use macros for parameter string
author
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 26 Aug 2016 11:17:39 +0000
(12:17 +0100)
committer
Bruce 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
patch
|
blob
|
history
diff --git
a/drivers/net/pcap/rte_eth_pcap.c
b/drivers/net/pcap/rte_eth_pcap.c
index
595d4f8
..
7dc6d67
100644
(file)
--- 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
=<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>");