i40e: move to drivers/net/
Move i40e PMD to drivers/net directory. As part of the move, rename the "i40e" directory, containing the "base driver" code, from "i40e" to "base". 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
637bb7694d
commit
5c9222058d
MAINTAINERS
doc/guides/prog_guide
drivers/net
Makefile
i40e
Makefile
base
i40e_adminq.ci40e_adminq.hi40e_adminq_cmd.hi40e_alloc.hi40e_common.ci40e_dcb.ci40e_dcb.hi40e_diag.ci40e_diag.hi40e_hmc.ci40e_hmc.hi40e_lan_hmc.ci40e_lan_hmc.hi40e_nvm.ci40e_osdep.hi40e_prototype.hi40e_register.hi40e_status.hi40e_type.hi40e_virtchnl.h
i40e_ethdev.ci40e_ethdev.hi40e_ethdev_vf.ci40e_fdir.ci40e_logs.hi40e_pf.ci40e_pf.hi40e_rxtx.ci40e_rxtx.hrte_pmd_i40e_version.maplib
@ -227,7 +227,7 @@ F: doc/guides/nics/intel_vf.rst
|
||||
|
||||
Intel i40e
|
||||
M: Helin Zhang <helin.zhang@intel.com>
|
||||
F: lib/librte_pmd_i40e/
|
||||
F: drivers/net/i40e/
|
||||
F: doc/guides/nics/intel_vf.rst
|
||||
|
||||
Intel fm10k
|
||||
|
@ -80,7 +80,6 @@ The lib directory contains::
|
||||
+-- librte_meter # QoS metering library
|
||||
+-- librte_net # various IP-related headers
|
||||
+-- librte_pmd_ixgbe # 10GbE poll mode driver
|
||||
+-- librte_pmd_i40e # 40GbE poll mode driver
|
||||
+-- librte_pmd_mlx4 # Mellanox ConnectX-3 poll mode driver
|
||||
+-- librte_pmd_pcap # PCAP poll mode driver
|
||||
+-- librte_pmd_ring # ring poll mode driver
|
||||
@ -108,6 +107,7 @@ The drivers directory has a net subdirectory which contains::
|
||||
+-- e1000 # 1GbE poll mode drivers (igb and em)
|
||||
+-- enic # Cisco VIC Ethernet NIC Poll-mode Driver
|
||||
+-- fm10k # Host interface PMD driver for FM10000 Series
|
||||
+-- i40e # 40GbE poll mode driver
|
||||
|
||||
Applications
|
||||
------------
|
||||
|
@ -36,6 +36,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += bonding
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += e1000
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += enic
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += fm10k
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += i40e
|
||||
|
||||
include $(RTE_SDK)/mk/rte.sharelib.mk
|
||||
include $(RTE_SDK)/mk/rte.subdir.mk
|
||||
|
@ -77,10 +77,10 @@ endif
|
||||
|
||||
CFLAGS_i40e_lan_hmc.o += -Wno-error
|
||||
endif
|
||||
OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/i40e/*.c)))
|
||||
OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
|
||||
$(foreach obj, $(OBJS_BASE_DRIVER), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
|
||||
|
||||
VPATH += $(SRCDIR)/i40e
|
||||
VPATH += $(SRCDIR)/base
|
||||
|
||||
#
|
||||
# all source are stored in SRCS-y
|
@ -52,9 +52,9 @@
|
||||
#include <rte_eth_ctrl.h>
|
||||
|
||||
#include "i40e_logs.h"
|
||||
#include "i40e/i40e_prototype.h"
|
||||
#include "i40e/i40e_adminq_cmd.h"
|
||||
#include "i40e/i40e_type.h"
|
||||
#include "base/i40e_prototype.h"
|
||||
#include "base/i40e_adminq_cmd.h"
|
||||
#include "base/i40e_type.h"
|
||||
#include "i40e_ethdev.h"
|
||||
#include "i40e_rxtx.h"
|
||||
#include "i40e_pf.h"
|
@ -60,9 +60,9 @@
|
||||
#include <rte_dev.h>
|
||||
|
||||
#include "i40e_logs.h"
|
||||
#include "i40e/i40e_prototype.h"
|
||||
#include "i40e/i40e_adminq_cmd.h"
|
||||
#include "i40e/i40e_type.h"
|
||||
#include "base/i40e_prototype.h"
|
||||
#include "base/i40e_adminq_cmd.h"
|
||||
#include "base/i40e_type.h"
|
||||
|
||||
#include "i40e_rxtx.h"
|
||||
#include "i40e_ethdev.h"
|
@ -50,7 +50,7 @@
|
||||
#include <rte_sctp.h>
|
||||
|
||||
#include "i40e_logs.h"
|
||||
#include "i40e/i40e_type.h"
|
||||
#include "base/i40e_type.h"
|
||||
#include "i40e_ethdev.h"
|
||||
#include "i40e_rxtx.h"
|
||||
|
@ -49,9 +49,9 @@
|
||||
#include <rte_memcpy.h>
|
||||
|
||||
#include "i40e_logs.h"
|
||||
#include "i40e/i40e_prototype.h"
|
||||
#include "i40e/i40e_adminq_cmd.h"
|
||||
#include "i40e/i40e_type.h"
|
||||
#include "base/i40e_prototype.h"
|
||||
#include "base/i40e_adminq_cmd.h"
|
||||
#include "base/i40e_type.h"
|
||||
#include "i40e_ethdev.h"
|
||||
#include "i40e_rxtx.h"
|
||||
#include "i40e_pf.h"
|
@ -52,8 +52,8 @@
|
||||
#include <rte_udp.h>
|
||||
|
||||
#include "i40e_logs.h"
|
||||
#include "i40e/i40e_prototype.h"
|
||||
#include "i40e/i40e_type.h"
|
||||
#include "base/i40e_prototype.h"
|
||||
#include "base/i40e_type.h"
|
||||
#include "i40e_ethdev.h"
|
||||
#include "i40e_rxtx.h"
|
||||
|
@ -42,7 +42,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_CFGFILE) += librte_cfgfile
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += librte_pmd_ixgbe
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += librte_pmd_i40e
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += librte_pmd_mlx4
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_RING) += librte_pmd_ring
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += librte_pmd_pcap
|
||||
|
Loading…
x
Reference in New Issue
Block a user