mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 04:25:27 +08:00
i40e: Add Ethernet Connection X722 for 10GbE SFP+ support
Add support for Ethernet Connection X722 for 10GbE SFP+ cards. Make possible for the driver to bind to the card. Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com> Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com> Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
c8631e61f4
commit
a941d5ee4c
@ -47,6 +47,7 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
||||
case I40E_DEV_ID_1G_BASE_T_X722:
|
||||
case I40E_DEV_ID_10G_BASE_T_X722:
|
||||
case I40E_DEV_ID_SFP_I_X722:
|
||||
case I40E_DEV_ID_SFP_X722_A:
|
||||
hw->mac.type = I40E_MAC_X722;
|
||||
break;
|
||||
default:
|
||||
|
@ -33,6 +33,7 @@
|
||||
#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
|
||||
#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
|
||||
#define I40E_DEV_ID_SFP_I_X722 0x37D3
|
||||
#define I40E_DEV_ID_SFP_X722_A 0x0DDA
|
||||
|
||||
|
||||
#endif /* _I40E_DEVIDS_H_ */
|
||||
|
@ -77,6 +77,7 @@ static const struct pci_device_id i40e_pci_tbl[] = {
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_1G_BASE_T_X722), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T_X722), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_I_X722), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_X722_A), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_20G_KR2), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_20G_KR2_A), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_X710_N3000), 0},
|
||||
|
Loading…
Reference in New Issue
Block a user