Skip to content

Commit d6bf58c

Browse files
Catherine SullivanJeff Kirsher
authored andcommitted
i40e: Add new device ID for X722
The new device ID is 0x37D3 and it should follow the same flows and branding string as for 0x37D0. Change-ID: Ia5ad4a1910268c4666a3fd46a7afffbec55b4fc2 Signed-off-by: Catherine Sullivan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent c4445ae commit d6bf58c

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

drivers/net/ethernet/intel/i40e/i40e_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ static i40e_status i40e_set_mac_type(struct i40e_hw *hw)
6060
case I40E_DEV_ID_SFP_X722:
6161
case I40E_DEV_ID_1G_BASE_T_X722:
6262
case I40E_DEV_ID_10G_BASE_T_X722:
63+
case I40E_DEV_ID_SFP_I_X722:
6364
hw->mac.type = I40E_MAC_X722;
6465
break;
6566
default:

drivers/net/ethernet/intel/i40e/i40e_devids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#define I40E_DEV_ID_SFP_X722 0x37D0
4545
#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
4646
#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
47+
#define I40E_DEV_ID_SFP_I_X722 0x37D3
4748

4849
#define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \
4950
(d) == I40E_DEV_ID_QSFP_B || \

drivers/net/ethernet/intel/i40e/i40e_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ static const struct pci_device_id i40e_pci_tbl[] = {
9090
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_X722), 0},
9191
{PCI_VDEVICE(INTEL, I40E_DEV_ID_1G_BASE_T_X722), 0},
9292
{PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T_X722), 0},
93+
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_I_X722), 0},
9394
{PCI_VDEVICE(INTEL, I40E_DEV_ID_20G_KR2), 0},
9495
{PCI_VDEVICE(INTEL, I40E_DEV_ID_20G_KR2_A), 0},
9596
/* required last entry */

drivers/net/ethernet/intel/i40evf/i40e_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
5858
case I40E_DEV_ID_SFP_X722:
5959
case I40E_DEV_ID_1G_BASE_T_X722:
6060
case I40E_DEV_ID_10G_BASE_T_X722:
61+
case I40E_DEV_ID_SFP_I_X722:
6162
hw->mac.type = I40E_MAC_X722;
6263
break;
6364
case I40E_DEV_ID_X722_VF:

drivers/net/ethernet/intel/i40evf/i40e_devids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#define I40E_DEV_ID_SFP_X722 0x37D0
4545
#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
4646
#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
47+
#define I40E_DEV_ID_SFP_I_X722 0x37D3
4748
#define I40E_DEV_ID_X722_VF 0x37CD
4849
#define I40E_DEV_ID_X722_VF_HV 0x37D9
4950

0 commit comments

Comments
 (0)