e1000: move to drivers/net/
Move e1000 pmd to drivers/net directory As part of move, rename "e1000" subdirectory, which contains the code from the "base driver", 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
3eb6bdd89e
commit
d15fcf76c8
@ -214,7 +214,7 @@ Cisco enic
|
|||||||
F: lib/librte_pmd_enic/
|
F: lib/librte_pmd_enic/
|
||||||
|
|
||||||
Intel e1000
|
Intel e1000
|
||||||
F: lib/librte_pmd_e1000/
|
F: drivers/net/e1000/
|
||||||
F: doc/guides/nics/e1000em.rst
|
F: doc/guides/nics/e1000em.rst
|
||||||
F: doc/guides/nics/intel_vf.rst
|
F: doc/guides/nics/intel_vf.rst
|
||||||
|
|
||||||
|
@ -79,7 +79,6 @@ The lib directory contains::
|
|||||||
+-- librte_mempool # memory pool manager (fixedsized objects)
|
+-- librte_mempool # memory pool manager (fixedsized objects)
|
||||||
+-- librte_meter # QoS metering library
|
+-- librte_meter # QoS metering library
|
||||||
+-- librte_net # various IP-related headers
|
+-- librte_net # various IP-related headers
|
||||||
+-- librte_pmd_e1000 # 1GbE poll mode drivers (igb and em)
|
|
||||||
+-- librte_pmd_fm10k # Host interface PMD driver for FM10000 Series
|
+-- librte_pmd_fm10k # Host interface PMD driver for FM10000 Series
|
||||||
+-- librte_pmd_ixgbe # 10GbE poll mode driver
|
+-- librte_pmd_ixgbe # 10GbE poll mode driver
|
||||||
+-- librte_pmd_i40e # 40GbE poll mode driver
|
+-- librte_pmd_i40e # 40GbE poll mode driver
|
||||||
@ -107,6 +106,7 @@ The drivers directory has a net subdirectory which contains::
|
|||||||
drivers/net
|
drivers/net
|
||||||
+-- af_packet # poll mode driver based on linux af_packet
|
+-- af_packet # poll mode driver based on linux af_packet
|
||||||
+-- bonding # bonding poll mode driver
|
+-- bonding # bonding poll mode driver
|
||||||
|
+-- e1000 # 1GbE poll mode drivers (igb and em)
|
||||||
|
|
||||||
Applications
|
Applications
|
||||||
------------
|
------------
|
||||||
|
@ -33,6 +33,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
|
|||||||
|
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += af_packet
|
DIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += af_packet
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += bonding
|
DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += bonding
|
||||||
|
DIRS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += e1000
|
||||||
|
|
||||||
include $(RTE_SDK)/mk/rte.sharelib.mk
|
include $(RTE_SDK)/mk/rte.sharelib.mk
|
||||||
include $(RTE_SDK)/mk/rte.subdir.mk
|
include $(RTE_SDK)/mk/rte.subdir.mk
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# BSD LICENSE
|
# BSD LICENSE
|
||||||
#
|
#
|
||||||
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
# Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -60,10 +60,10 @@ endif
|
|||||||
# Add extra flags for base driver files (also known as shared code)
|
# Add extra flags for base driver files (also known as shared code)
|
||||||
# to disable warnings in them
|
# to disable warnings in them
|
||||||
#
|
#
|
||||||
BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/e1000/*.c)))
|
BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
|
||||||
$(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
|
$(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
|
||||||
|
|
||||||
VPATH += $(SRCDIR)/e1000
|
VPATH += $(SRCDIR)/base
|
||||||
|
|
||||||
#
|
#
|
||||||
# all source are stored in SRCS-y
|
# all source are stored in SRCS-y
|
@ -1,7 +1,7 @@
|
|||||||
/*-
|
/*-
|
||||||
* BSD LICENSE
|
* BSD LICENSE
|
||||||
*
|
*
|
||||||
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -53,7 +53,7 @@
|
|||||||
#include <rte_dev.h>
|
#include <rte_dev.h>
|
||||||
|
|
||||||
#include "e1000_logs.h"
|
#include "e1000_logs.h"
|
||||||
#include "e1000/e1000_api.h"
|
#include "base/e1000_api.h"
|
||||||
#include "e1000_ethdev.h"
|
#include "e1000_ethdev.h"
|
||||||
|
|
||||||
#define EM_EIAC 0x000DC
|
#define EM_EIAC 0x000DC
|
@ -1,7 +1,7 @@
|
|||||||
/*-
|
/*-
|
||||||
* BSD LICENSE
|
* BSD LICENSE
|
||||||
*
|
*
|
||||||
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -70,9 +70,9 @@
|
|||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
|
|
||||||
#include "e1000_logs.h"
|
#include "e1000_logs.h"
|
||||||
#include "e1000/e1000_api.h"
|
#include "base/e1000_api.h"
|
||||||
#include "e1000_ethdev.h"
|
#include "e1000_ethdev.h"
|
||||||
#include "e1000/e1000_osdep.h"
|
#include "base/e1000_osdep.h"
|
||||||
|
|
||||||
#define E1000_TXD_VLAN_SHIFT 16
|
#define E1000_TXD_VLAN_SHIFT 16
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
/*-
|
/*-
|
||||||
* BSD LICENSE
|
* BSD LICENSE
|
||||||
*
|
*
|
||||||
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -53,7 +53,7 @@
|
|||||||
#include <rte_dev.h>
|
#include <rte_dev.h>
|
||||||
|
|
||||||
#include "e1000_logs.h"
|
#include "e1000_logs.h"
|
||||||
#include "e1000/e1000_api.h"
|
#include "base/e1000_api.h"
|
||||||
#include "e1000_ethdev.h"
|
#include "e1000_ethdev.h"
|
||||||
|
|
||||||
/*
|
/*
|
@ -1,7 +1,7 @@
|
|||||||
/*-
|
/*-
|
||||||
* BSD LICENSE
|
* BSD LICENSE
|
||||||
*
|
*
|
||||||
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -49,9 +49,9 @@
|
|||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_random.h>
|
#include <rte_random.h>
|
||||||
|
|
||||||
#include "e1000/e1000_defines.h"
|
#include "base/e1000_defines.h"
|
||||||
#include "e1000/e1000_regs.h"
|
#include "base/e1000_regs.h"
|
||||||
#include "e1000/e1000_hw.h"
|
#include "base/e1000_hw.h"
|
||||||
#include "e1000_ethdev.h"
|
#include "e1000_ethdev.h"
|
||||||
|
|
||||||
static inline uint16_t
|
static inline uint16_t
|
@ -1,7 +1,7 @@
|
|||||||
/*-
|
/*-
|
||||||
* BSD LICENSE
|
* BSD LICENSE
|
||||||
*
|
*
|
||||||
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -69,7 +69,7 @@
|
|||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
|
|
||||||
#include "e1000_logs.h"
|
#include "e1000_logs.h"
|
||||||
#include "e1000/e1000_api.h"
|
#include "base/e1000_api.h"
|
||||||
#include "e1000_ethdev.h"
|
#include "e1000_ethdev.h"
|
||||||
|
|
||||||
/* Bit Mask to indicate what bits required for building TX context */
|
/* Bit Mask to indicate what bits required for building TX context */
|
@ -41,7 +41,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_TIMER) += librte_timer
|
|||||||
DIRS-$(CONFIG_RTE_LIBRTE_CFGFILE) += librte_cfgfile
|
DIRS-$(CONFIG_RTE_LIBRTE_CFGFILE) += librte_cfgfile
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline
|
DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether
|
DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += librte_pmd_e1000
|
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += librte_pmd_ixgbe
|
DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += librte_pmd_ixgbe
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += librte_pmd_i40e
|
DIRS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += librte_pmd_i40e
|
||||||
DIRS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += librte_pmd_fm10k
|
DIRS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += librte_pmd_fm10k
|
||||||
|
Loading…
Reference in New Issue
Block a user