mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
i40e: Add DeviceID for X722 QSFP+
Change-ID: I1370fbc7774e815ac1ad56561e97488e829592fc Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
68a1c5a777
commit
bccf474435
@ -61,6 +61,7 @@ static i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
|||||||
case I40E_DEV_ID_1G_BASE_T_X722:
|
case I40E_DEV_ID_1G_BASE_T_X722:
|
||||||
case I40E_DEV_ID_10G_BASE_T_X722:
|
case I40E_DEV_ID_10G_BASE_T_X722:
|
||||||
case I40E_DEV_ID_SFP_I_X722:
|
case I40E_DEV_ID_SFP_I_X722:
|
||||||
|
case I40E_DEV_ID_QSFP_I_X722:
|
||||||
hw->mac.type = I40E_MAC_X722;
|
hw->mac.type = I40E_MAC_X722;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
|
#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
|
||||||
#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
|
#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
|
||||||
#define I40E_DEV_ID_SFP_I_X722 0x37D3
|
#define I40E_DEV_ID_SFP_I_X722 0x37D3
|
||||||
|
#define I40E_DEV_ID_QSFP_I_X722 0x37D4
|
||||||
|
|
||||||
#define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \
|
#define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \
|
||||||
(d) == I40E_DEV_ID_QSFP_B || \
|
(d) == I40E_DEV_ID_QSFP_B || \
|
||||||
|
@ -59,6 +59,7 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
|||||||
case I40E_DEV_ID_1G_BASE_T_X722:
|
case I40E_DEV_ID_1G_BASE_T_X722:
|
||||||
case I40E_DEV_ID_10G_BASE_T_X722:
|
case I40E_DEV_ID_10G_BASE_T_X722:
|
||||||
case I40E_DEV_ID_SFP_I_X722:
|
case I40E_DEV_ID_SFP_I_X722:
|
||||||
|
case I40E_DEV_ID_QSFP_I_X722:
|
||||||
hw->mac.type = I40E_MAC_X722;
|
hw->mac.type = I40E_MAC_X722;
|
||||||
break;
|
break;
|
||||||
case I40E_DEV_ID_X722_VF:
|
case I40E_DEV_ID_X722_VF:
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
|
#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
|
||||||
#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
|
#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
|
||||||
#define I40E_DEV_ID_SFP_I_X722 0x37D3
|
#define I40E_DEV_ID_SFP_I_X722 0x37D3
|
||||||
|
#define I40E_DEV_ID_QSFP_I_X722 0x37D4
|
||||||
#define I40E_DEV_ID_X722_VF 0x37CD
|
#define I40E_DEV_ID_X722_VF 0x37CD
|
||||||
#define I40E_DEV_ID_X722_VF_HV 0x37D9
|
#define I40E_DEV_ID_X722_VF_HV 0x37D9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user