ice: Add missing device ids
Subsystems (2)
Tony Nguyen
maintainerPATCH 1/1 ice: Add missing device ids
As part of support for E810 XXV devices, some device ids were inadvertently left out. Add those missing ids.
--- drivers/net/ethernet/intel/ice/ice_common.c | 2 ++ drivers/net/ethernet/intel/ice/ice_devids.h | 4 ++++ drivers/net/ethernet/intel/ice/ice_main.c | 2 ++ 3 files changed, 8 insertions(+)
drivers/net/ethernet/intel/ice/ice_common.c +2 -0
@@ -25,6 +25,8 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)case ICE_DEV_ID_E810C_BACKPLANE :case ICE_DEV_ID_E810C_QSFP :case ICE_DEV_ID_E810C_SFP : +case ICE_DEV_ID_E810_XXV_BACKPLANE : +case ICE_DEV_ID_E810_XXV_QSFP :case ICE_DEV_ID_E810_XXV_SFP : hw->mac_type =ICE_MAC_E810 ;break ;
drivers/net/ethernet/intel/ice/ice_devids.h +4 -0
@@ -21,6 +21,10 @@#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 E823-C for backplane */
drivers/net/ethernet/intel/ice/ice_main.c +2 -0
@@ -5020,6 +5020,8 @@ static const struct pci_device_id ice_pci_tbl[] = { { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_BACKPLANE), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_QSFP), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_SFP), 0 }, + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_BACKPLANE), 0 }, + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_QSFP), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_SFP), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E823C_BACKPLANE), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E823C_QSFP), 0 },
Signature · 1 line
2.20.1
PATCH 1/1 ice: Add missing device ids
Dear Tony,
Am 19.10.21 um 17:27 schrieb Tony Nguyen:
Please mention E810 in the git commit message summary:
Quoted 4 lines
ice: Add missing E810 device ids
As part of support for E810 XXV devices, some device ids were > inadvertently left out. Add those missing ids.
Please mention the source of these IDs.
Kind regards,
Paul
Quoted 50 lines
Fixes 195fb97766da ("ice: add additional E810 device id")Signed-off-by Tony Nguyen <[email protected]>--- drivers/net/ethernet/intel/ice/ice_common.c | 2 ++ drivers/net/ethernet/intel/ice/ice_devids.h | 4 ++++ drivers/net/ethernet/intel/ice/ice_main.c | 2 ++ 3 files changed, 8 insertions(+)drivers/net/ethernet/intel/ice/ice_common.c +2
-0@@ -25,6 +25,8 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)case ICE_DEV_ID_E810C_BACKPLANE :case ICE_DEV_ID_E810C_QSFP :case ICE_DEV_ID_E810C_SFP : +case ICE_DEV_ID_E810_XXV_BACKPLANE : +case ICE_DEV_ID_E810_XXV_QSFP :case ICE_DEV_ID_E810_XXV_SFP : hw->mac_type =ICE_MAC_E810 ;break ;drivers/net/ethernet/intel/ice/ice_devids.h +4
-0@@ -21,6 +21,10 @@#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 E823-C for backplane */ drivers/net/ethernet/intel/ice/ice_main.c +2
-0@@ -5020,6 +5020,8 @@ static const struct pci_device_id ice_pci_tbl[] = { { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_BACKPLANE), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_QSFP), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_SFP), 0 }, + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_BACKPLANE), 0 }, + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_QSFP), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_SFP), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E823C_BACKPLANE), 0 }, { PCI_VDEVICE(INTEL, ICE_DEV_ID_E823C_QSFP), 0 },
Nguyen
PATCH 1/1 ice: Add missing device ids
On Tue, 2021-10-19 at 18:24 +0200, Paul Menzel wrote:
Hi Paul,
Quoted 8 lines
Dear Tony,
Am 19.10.21 um 17:27 schrieb Tony Nguyen:
Please mention E810 in the git commit message summary:
Quoted 1 line
ice: Add missing E810 device ids
I will fix that, thanks for the suggestion.
Quoted 3 lines
Quoted 2 lines
As part of support for E810 XXV devices, some device ids were > inadvertently left out. Add those missing ids.
Please mention the source of these IDs.
I'm not sure I get this comment. These are the IDs for the NIC itself.
Thanks,
Tony
Quoted 60 lines
Kind regards,
Paul
Quoted 55 lines
Fixes 195fb97766da ("ice: add additional E810 device id")Signed-off-by Tony Nguyen <[email protected]>---
? drivers/net/ethernet/intel/ice/ice_common.c | 2 ++ ? drivers/net/ethernet/intel/ice/ice_devids.h | 4 ++++ ? drivers/net/ethernet/intel/ice/ice_main.c?? | 2 ++? 3 files changed, 8 insertions(+)
drivers/net/ethernet/intel/ice/ice_common.c +0
-0@@ -25,6 +25,8 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)????????case
ICE_DEV_ID_E810C_BACKPLANE:
????????caseICE_DEV_ID_E810C_QSFP:
????????caseICE_DEV_ID_E810C_SFP:
+???????caseICE_DEV_ID_E810_XXV_BACKPLANE:
+???????caseICE_DEV_ID_E810_XXV_QSFP:
????????caseICE_DEV_ID_E810_XXV_SFP:
????????????????hw->mac_type =ICE_MAC_E810;
????????????????break;drivers/net/ethernet/intel/ice/ice_devids.h +0
-0@@ -21,6 +21,10 @@? #define ICE_DEV_ID_E810C_QSFP?????????0x1592 ? /* Intel(R) Ethernet Controller E810-C for SFP */ ? #define ICE_DEV_ID_E810C_SFP??????????0x1593
drivers/net/ethernet/intel/ice/ice_devids.h +4
-0+/* 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 E823-C for backplane */
drivers/net/ethernet/intel/ice/ice_main.c +2
-0@@ -5020,6 +5020,8 @@ static const struct pci_device_id ice_pci_tbl[] = { ????????{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_BACKPLANE), 0 }, ????????{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_QSFP), 0 }, ????????{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_SFP), 0 }, +???????{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_BACKPLANE), 0 }, +???????{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_QSFP), 0 }, ????????{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_SFP), 0 }, ????????{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E823C_BACKPLANE), 0 },????????{
PCI_VDEVICE(INTEL, ICE_DEV_ID_E823C_QSFP), 0 },
PATCH 1/1 ice: Add missing device ids
Dear Tony,
Am 19.10.21 um 19:53 schrieb Nguyen, Anthony L:
Quoted 3 lines · Paul Menzel
Quoted 2 lines
Am 19.10.21 um 17:27 schrieb Tony Nguyen:
[?]
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines
As part of support for E810 XXV devices, some device ids were > inadvertently left out. Add those missing ids.
Please mention the source of these IDs.
I'm not sure I get this comment. These are the IDs for the NIC itself.
Sorry, for being unclear. I meant, you probably didn?t get the hardware and read out the IDs using lspci or so, but looked in some specification, what IDs are used for the hardware?
Kind regards,
Paul
Nguyen
PATCH 1/1 ice: Add missing device ids
Quoted 14 lines · Paul Menzel
Dear Tony,
Am 19.10.21 um 19:53 schrieb Nguyen, Anthony L:
Quoted 3 lines · Paul Menzel
Quoted 2 lines
Am 19.10.21 um 17:27 schrieb Tony Nguyen:
[?]
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
As part of support for E810 XXV devices, some device ids were > inadvertently left out. Add those missing ids.
Please mention the source of these IDs.
Quoted 7 lines
Quoted 2 lines
I'm not sure I get this comment. These are the IDs for the NIC itself.
Sorry, for being unclear. I meant, you probably didn?t get the hardware
and read out the IDs usinglspcior so, but looked in some specification, what IDs are used for the hardware?
We have internal documents that provide the device IDs tied to the hardware, but as far as I know there isn't anything published publicly that provides this information. The data is also available in the PCI ID repository [1], but that isn't the source of the information, just another place that it gets put.
Thanks,
Tony
PATCH 1/1 ice: Add missing device ids
Dear Tony,
Am 19.10.21 um 21:42 schrieb Nguyen, Anthony L:
Quoted 20 lines · Paul Menzel
Quoted 10 lines
Am 19.10.21 um 19:53 schrieb Nguyen, Anthony L:
Quoted 3 lines · Paul Menzel
Quoted 2 lines
Am 19.10.21 um 17:27 schrieb Tony Nguyen:
[?]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
As part of support for E810 XXV devices, some device ids were
Quoted 1 line
inadvertently left out. Add those missing ids.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Please mention the source of these IDs.
I'm not sure I get this comment. These are the IDs for the NIC itself.
Sorry, for being unclear. I meant, you probably didn?t get the hardware and read out the IDs using
lspcior so, but looked in some specification, what IDs are used for the hardware?
Quoted 5 lines
We have internal documents that provide the device IDs tied to the hardware, but as far as I know there isn't anything published publicly that provides this information. The data is also available in the PCI ID repository [1], but that isn't the source of the information, just another place that it gets put.
Having the document name and revision in the commit message, despite being non-public, would still be useful in my opinion. Maybe the documents are going to get published, or it makes it easier for reviewers with access to these documents (Intel employees).
Kind regards,
Paul