summaryrefslogtreecommitdiff
path: root/drivers/net/af_packet/Makefile
diff options
context:
space:
mode:
authorWojciech Zmuda <woz@semihalf.com>2016-03-02 12:55:41 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-16 19:05:47 +0100
commite6ee4db01b4d2a4f9a52a3d9297912f6c6e946d0 (patch)
tree85b00ee342591fb274b29f9c606091eaee3f191f /drivers/net/af_packet/Makefile
parent139f39a9785910d4ee7be233011b995be01f3353 (diff)
downloaddpdk-e6ee4db01b4d2a4f9a52a3d9297912f6c6e946d0.zip
dpdk-e6ee4db01b4d2a4f9a52a3d9297912f6c6e946d0.tar.gz
dpdk-e6ee4db01b4d2a4f9a52a3d9297912f6c6e946d0.tar.xz
af_packet: make the device detachable
Allow dynamic deallocation of af_packet device through proper API functions. To achieve this: * set device flag to RTE_ETH_DEV_DETACHABLE * implement rte_pmd_af_packet_devuninit() and expose it through rte_driver.uninit() * copy device name to ethdev->data to make discoverable with rte_eth_dev_allocated() Moreover, make af_packet init function static, as there is no reason to keep it public. Signed-off-by: Wojciech Zmuda <woz@semihalf.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Diffstat (limited to 'drivers/net/af_packet/Makefile')
-rw-r--r--drivers/net/af_packet/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/af_packet/Makefile b/drivers/net/af_packet/Makefile
index ce5d239..cb1a7ae 100644
--- a/drivers/net/af_packet/Makefile
+++ b/drivers/net/af_packet/Makefile
@@ -50,11 +50,6 @@ CFLAGS += $(WERROR_FLAGS)
#
SRCS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += rte_eth_af_packet.c
-#
-# Export include files
-#
-SYMLINK-y-include += rte_eth_af_packet.h
-
# this lib depends upon:
DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += lib/librte_mbuf
DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += lib/librte_ether