summaryrefslogtreecommitdiff
path: root/drivers/net/pcap
diff options
context:
space:
mode:
authorJan Blunck <jblunck@infradead.org>2016-10-24 12:22:22 -0400
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-10-25 18:49:18 +0200
commit9fa80cb26bd0bdb4bb25b1f39f9a2c898d493554 (patch)
tree4320301f982ae68c45f174049de4e5ec4c4b37c0 /drivers/net/pcap
parentd63eed6b2dcaf65c71d613f1f6dd172b697a1258 (diff)
downloaddpdk-next-eventdev-9fa80cb26bd0bdb4bb25b1f39f9a2c898d493554.zip
dpdk-next-eventdev-9fa80cb26bd0bdb4bb25b1f39f9a2c898d493554.tar.gz
dpdk-next-eventdev-9fa80cb26bd0bdb4bb25b1f39f9a2c898d493554.tar.xz
net: register aliases for renamed vdev drivers
This registers the legacy names of the driver being renamed in commit 2f45703c17ac ("drivers: make driver names consistent"). Signed-off-by: Jan Blunck <jblunck@infradead.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Diffstat (limited to 'drivers/net/pcap')
-rw-r--r--drivers/net/pcap/rte_eth_pcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c
index 0c4711d..0162f44 100644
--- a/drivers/net/pcap/rte_eth_pcap.c
+++ b/drivers/net/pcap/rte_eth_pcap.c
@@ -1065,6 +1065,7 @@ static struct rte_vdev_driver pmd_pcap_drv = {
};
RTE_PMD_REGISTER_VDEV(net_pcap, pmd_pcap_drv);
+RTE_PMD_REGISTER_ALIAS(net_pcap, eth_pcap);
RTE_PMD_REGISTER_PARAM_STRING(net_pcap,
ETH_PCAP_RX_PCAP_ARG "=<string> "
ETH_PCAP_TX_PCAP_ARG "=<string> "