From 14c46475177fc3c60b9e978870e014f57b8f9a59 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Fri, 1 Nov 2019 09:44:06 +0800 Subject: [PATCH] net/ice/base: add new device IDs Add device IDs for E810_XXV. Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Xiaolong Ye --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/ice/base/ice_devids.h | 6 ++++++ drivers/net/ice/ice_ethdev.c | 3 +++ 3 files changed, 10 insertions(+) diff --git a/doc/guides/rel_notes/release_19_11.rst b/doc/guides/rel_notes/release_19_11.rst index d070906cca..3ed49bc2cc 100644 --- a/doc/guides/rel_notes/release_19_11.rst +++ b/doc/guides/rel_notes/release_19_11.rst @@ -151,6 +151,7 @@ New Features - Supported new packet type like PPPoE for switch filter. * Supported input set change and symmetric hash by rte_flow RSS action. * Added support for GTP Tx checksum offload. + * Added new device IDs to support E810_XXV devices. * **Added cryptodev asymmetric session-less operation.** diff --git a/drivers/net/ice/base/ice_devids.h b/drivers/net/ice/base/ice_devids.h index 0ff3b9b346..348d1907a4 100644 --- a/drivers/net/ice/base/ice_devids.h +++ b/drivers/net/ice/base/ice_devids.h @@ -12,6 +12,12 @@ #define ICE_DEV_ID_E810C_QSFP 0x1592 /* Intel(R) Ethernet Controller E810-C for SFP */ #define ICE_DEV_ID_E810C_SFP 0x1593 +/* Intel(R) Ethernet Controller E810-XXV for backplane */ +#define ICE_DEV_ID_E810_XXV_BACKPLANE 0x1599 +/* Intel(R) Ethernet Controller E810-XXV for QSFP */ +#define ICE_DEV_ID_E810_XXV_QSFP 0x159A +/* Intel(R) Ethernet Controller E810-XXV for SFP */ +#define ICE_DEV_ID_E810_XXV_SFP 0x159B /* Intel(R) Ethernet Connection C822N for backplane */ #define ICE_DEV_ID_C822N_BACKPLANE 0x1890 /* Intel(R) Ethernet Connection C822N for QSFP */ diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 9d2210a45e..d81eb5eeb2 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -128,6 +128,9 @@ static const struct rte_pci_id pci_id_ice_map[] = { { RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_BACKPLANE) }, { RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP) }, { RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP) }, + { RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_BACKPLANE) }, + { RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_QSFP) }, + { RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP) }, { .vendor_id = 0, /* sentinel */ }, }; -- 2.20.1