net/i40e/base: add new device IDs
New device ids are created to support SFP+ and backplane connections. Signed-off-by: Piotr Azarewicz <piotr.azarewicz@intel.com> Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Beilei Xing <beilei.xing@intel.com>
This commit is contained in:
parent
3c537ca7f4
commit
c916517f74
@ -36,6 +36,8 @@ STATIC enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw)
|
||||
case I40E_DEV_ID_10G_BASE_T:
|
||||
case I40E_DEV_ID_10G_BASE_T4:
|
||||
case I40E_DEV_ID_10G_BASE_T_BC:
|
||||
case I40E_DEV_ID_10G_B:
|
||||
case I40E_DEV_ID_10G_SFP:
|
||||
case I40E_DEV_ID_20G_KR2:
|
||||
case I40E_DEV_ID_20G_KR2_A:
|
||||
case I40E_DEV_ID_25G_B:
|
||||
|
@ -36,6 +36,8 @@
|
||||
#define I40E_DEV_ID_X722_A0_VF 0x374D
|
||||
#endif
|
||||
#endif
|
||||
#define I40E_DEV_ID_10G_B 0x104F
|
||||
#define I40E_DEV_ID_10G_SFP 0x104E
|
||||
#define I40E_DEV_ID_KX_X722 0x37CE
|
||||
#define I40E_DEV_ID_QSFP_X722 0x37CF
|
||||
#define I40E_DEV_ID_SFP_X722 0x37D0
|
||||
|
@ -443,6 +443,8 @@ static const struct rte_pci_id pci_id_i40e_map[] = {
|
||||
{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_X710_N3000) },
|
||||
{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_XXV710_N3000) },
|
||||
{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_BASE_T_BC) },
|
||||
{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_B) },
|
||||
{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_SFP) },
|
||||
{ .vendor_id = 0, /* sentinel */ },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user