af_packet: move to drivers/net/
move af_packet pmd to drivers/net directory Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
980ed498eb
commit
df65e967a8
@ -208,7 +208,7 @@ F: doc/guides/sample_app_ug/kernel_nic_interface.rst
|
||||
|
||||
Linux AF_PACKET
|
||||
M: John W. Linville <linville@tuxdriver.com>
|
||||
F: lib/librte_pmd_af_packet/
|
||||
F: drivers/net/af_packet/
|
||||
|
||||
Cisco enic
|
||||
F: lib/librte_pmd_enic/
|
||||
|
@ -106,6 +106,7 @@ library with the format "librte_pmd_X.a" where "X" is the driver name.
|
||||
The drivers directory has a net subdirectory which contains::
|
||||
|
||||
drivers/net
|
||||
+-- af_packet # poll mode driver based on linux af_packet
|
||||
|
||||
Applications
|
||||
------------
|
||||
|
@ -31,6 +31,7 @@
|
||||
|
||||
include $(RTE_SDK)/mk/rte.vars.mk
|
||||
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += af_packet
|
||||
|
||||
include $(RTE_SDK)/mk/rte.sharelib.mk
|
||||
include $(RTE_SDK)/mk/rte.subdir.mk
|
||||
|
@ -1,6 +1,6 @@
|
||||
# BSD LICENSE
|
||||
#
|
||||
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
||||
# Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@ -50,7 +50,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += librte_pmd_enic
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += librte_pmd_bond
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_RING) += librte_pmd_ring
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += librte_pmd_pcap
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += librte_pmd_af_packet
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += librte_pmd_virtio
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_VMXNET3_PMD) += librte_pmd_vmxnet3
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_XENVIRT) += librte_pmd_xenvirt
|
||||
|
@ -1,6 +1,6 @@
|
||||
# BSD LICENSE
|
||||
#
|
||||
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
||||
# Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@ -49,7 +49,7 @@ CFLAGS += -I$(RTE_SDK)/lib/librte_ether
|
||||
CFLAGS += -I$(RTE_SDK)/lib/librte_ivshmem
|
||||
CFLAGS += -I$(RTE_SDK)/lib/librte_pmd_ring
|
||||
CFLAGS += -I$(RTE_SDK)/lib/librte_pmd_pcap
|
||||
CFLAGS += -I$(RTE_SDK)/lib/librte_pmd_af_packet
|
||||
CFLAGS += -I$(RTE_SDK)/drivers/net/af_packet
|
||||
CFLAGS += -I$(RTE_SDK)/lib/librte_pmd_xenvirt
|
||||
CFLAGS += $(WERROR_FLAGS) -O3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user