|
@@ -47,6 +47,11 @@
|
|
#define I40E_DEV_ID_20G_KR2 0x1587
|
|
#define I40E_DEV_ID_20G_KR2 0x1587
|
|
#define I40E_DEV_ID_VF 0x154C
|
|
#define I40E_DEV_ID_VF 0x154C
|
|
#define I40E_DEV_ID_VF_HV 0x1571
|
|
#define I40E_DEV_ID_VF_HV 0x1571
|
|
|
|
+#define I40E_DEV_ID_SFP_X722 0x37D0
|
|
|
|
+#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
|
|
|
|
+#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
|
|
|
|
+#define I40E_DEV_ID_X722_VF 0x37CD
|
|
|
|
+#define I40E_DEV_ID_X722_VF_HV 0x37D9
|
|
|
|
|
|
#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 || \
|
|
@@ -120,6 +125,8 @@ enum i40e_mac_type {
|
|
I40E_MAC_X710,
|
|
I40E_MAC_X710,
|
|
I40E_MAC_XL710,
|
|
I40E_MAC_XL710,
|
|
I40E_MAC_VF,
|
|
I40E_MAC_VF,
|
|
|
|
+ I40E_MAC_X722,
|
|
|
|
+ I40E_MAC_X722_VF,
|
|
I40E_MAC_GENERIC,
|
|
I40E_MAC_GENERIC,
|
|
};
|
|
};
|
|
|
|
|
|
@@ -502,7 +509,8 @@ struct i40e_hw {
|
|
|
|
|
|
static inline bool i40e_is_vf(struct i40e_hw *hw)
|
|
static inline bool i40e_is_vf(struct i40e_hw *hw)
|
|
{
|
|
{
|
|
- return hw->mac.type == I40E_MAC_VF;
|
|
|
|
|
|
+ return (hw->mac.type == I40E_MAC_VF ||
|
|
|
|
+ hw->mac.type == I40E_MAC_X722_VF);
|
|
}
|
|
}
|
|
|
|
|
|
struct i40e_driver_version {
|
|
struct i40e_driver_version {
|