igb_uio: Remove code that blocks support of some integrated NICs
PATCH 1/1 igb_uio: Remove code that blocks support of some integrated NICs
This patch removes obsolete code that prevents adding integrated copper NICs 82575EB and I350 to list of supported NICs.
--- app/test/test_pci.c | 1 - lib/librte_eal/common/include/rte_pci_dev_ids.h | 8 -------- 2 files changed, 9 deletions(-)
app/test/test_pci.c +0 -1
@@ -81,7 +81,6 @@ struct rte_pci_id my_driver_id2[] = {/* IGB & EM NICS */ #define RTE_PCI_DEV_ID_DECL_EM (vend, dev) {RTE_PCI_DEVICE(vend, dev)},#define RTE_PCI_DEV_ID_DECL_IGB (vend, dev) {RTE_PCI_DEVICE(vend, dev)}, -#define RTE_PCI_DEV_USE_82575EB_COPPER #include <rte_pci_dev_ids.h> { .vendor_id = 0, /* sentinel */ },
lib/librte_eal/common/include/rte_pci_dev_ids.h +0 -8
@@ -323,11 +323,7 @@ RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS) RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS_SERDES) RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_SERDES_QUAD) -/* This device is the on-board NIC on some development boards. */ -#ifdef RTE_PCI_DEV_USE_82575EB_COPPER RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_COPPER) -#endif - RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_FIBER_SERDES)RTE_PCI_DEV_ID_DECL_IGB (PCI_VENDOR_ID_INTEL ,E1000_DEV_ID_82575GB_QUAD_COPPER )
@@ -338,11 +334,7 @@ RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_SGMII) RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_COPPER_DUAL) RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_QUAD_FIBER) -/* This device is the on-board NIC on some development boards. */ -#ifndef RTE_PCI_DEV_NO_USE_I350_COPPER RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_COPPER) -#endif - RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_FIBER) RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_SERDES)RTE_PCI_DEV_ID_DECL_IGB (PCI_VENDOR_ID_INTEL ,E1000_DEV_ID_I350_SGMII )
Signature · 1 line
1.7.9.5
2014-06-11 08:20, Pawel Wodkowski:
Quoted 2 lines
This patch removes obsolete code that prevents adding integrated copper NICs 82575EB and I350 to list of supported NICs.
Applied for version 1.7.0 with following addition:
- remove conditions for I218
As you were only removing some lines, I assumed Signed-off-by line. Please, next time, provide it as described here:
http://dpdk.org/dev#send
Thanks
Signature · 1 line
Thomas