i40e: Add support for 5Gbps cards
Subsystems (2)
PATCH 1/1 i40e: Add support for 5Gbps cards
From: Aleksandr Loktionov <[email protected]>
Make possible for the i40e driver to bind to the new V710 for 5GBASE-T cards.
Signed-off-by Aleksandr Loktionov <[email protected]>
--- drivers/net/ethernet/intel/i40e/i40e_common.c | 3 +++ drivers/net/ethernet/intel/i40e/i40e_devids.h | 4 +++- drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + 3 files changed, 7 insertions(+), 1 deletion(-)
drivers/net/ethernet/intel/i40e/i40e_common.c +3 -0
@@ -27,6 +27,7 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)case I40E_DEV_ID_QSFP_A :case I40E_DEV_ID_QSFP_B :case I40E_DEV_ID_QSFP_C : +case I40E_DEV_ID_5G_BASE_T_BC :case I40E_DEV_ID_10G_BASE_T :case I40E_DEV_ID_10G_BASE_T4 :case I40E_DEV_ID_10G_BASE_T_BC :
@@ -4910,6 +4911,7 @@ i40e_status i40e_write_phy_register(struct i40e_hw *hw, status =i40e_write_phy_register_clause22 (hw, reg, phy_addr, value);break ; +case I40E_DEV_ID_5G_BASE_T_BC :case I40E_DEV_ID_10G_BASE_T :case I40E_DEV_ID_10G_BASE_T4 :case I40E_DEV_ID_10G_BASE_T_BC :
@@ -4947,6 +4949,7 @@ i40e_status i40e_read_phy_register(struct i40e_hw *hw, status =i40e_read_phy_register_clause22 (hw, reg, phy_addr, value);break ; +case I40E_DEV_ID_5G_BASE_T_BC :case I40E_DEV_ID_10G_BASE_T :case I40E_DEV_ID_10G_BASE_T4 :case I40E_DEV_ID_10G_BASE_T_BC :
drivers/net/ethernet/intel/i40e/i40e_devids.h +3 -1
@@ -23,8 +23,10 @@#define I40E_DEV_ID_10G_BASE_T_BC 0x15FF#define I40E_DEV_ID_10G_B 0x104F#define I40E_DEV_ID_10G_SFP 0x104E +#define I40E_DEV_ID_5G_BASE_T_BC 0x101F#define I40E_IS_X710TL_DEVICE (d) \ - ((d) == I40E_DEV_ID_10G_BASE_T_BC) + (((d) == I40E_DEV_ID_10G_BASE_T_BC) || \ + ((d) == I40E_DEV_ID_5G_BASE_T_BC))#define I40E_DEV_ID_KX_X722 0x37CE#define I40E_DEV_ID_QSFP_X722 0x37CF#define I40E_DEV_ID_SFP_X722 0x37D0
drivers/net/ethernet/intel/i40e/i40e_main.c +1 -0
@@ -71,6 +71,7 @@ static const struct pci_device_id i40e_pci_tbl[] = { {PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_A), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_B), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_C), 0}, + {PCI_VDEVICE(INTEL, I40E_DEV_ID_5G_BASE_T_BC), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T4), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T_BC), 0},
Signature · 7 lines
2.17.1 --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Sowackiego 173 | 80-298 Gdask | Sd Rejonowy Gdask Pnoc | VII Wydzia Gospodarczy Krajowego Rejestru Sdowego - KRS 101882 | NIP 957-07-52-316 | Kapita zakadowy 200.000 PLN. Ta wiadomo wraz z zacznikami jest przeznaczona dla okrelonego adresata i moe zawiera informacje poufne. W razie przypadkowego otrzymania tej wiadomoci, prosimy o powiadomienie nadawcy oraz trwae jej usunicie; jakiekolwiek przegldanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.
PATCH 1/1 i40e: Add support for 5Gbps cards
Quoted 4 lines · Mateusz Palczewski
From: Aleksandr Loktionov <[email protected]>
Make possible for the i40e driver to bind to the new V710 for 5GBASE-T cards.
Why 'net' is your target tree? it's not a fix.
Quoted 78 lines
Signed-off-by Aleksandr Loktionov <[email protected]>--- drivers/net/ethernet/intel/i40e/i40e_common.c | 3 +++ drivers/net/ethernet/intel/i40e/i40e_devids.h | 4 +++- drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + 3 files changed, 7 insertions(+), 1 deletion(-)drivers/net/ethernet/intel/i40e/i40e_common.c +3
-0@@ -27,6 +27,7 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)case I40E_DEV_ID_QSFP_A :case I40E_DEV_ID_QSFP_B :case I40E_DEV_ID_QSFP_C : +case I40E_DEV_ID_5G_BASE_T_BC :case I40E_DEV_ID_10G_BASE_T :case I40E_DEV_ID_10G_BASE_T4 :case I40E_DEV_ID_10G_BASE_T_BC :@@ -4910,6 +4911,7 @@ i40e_status i40e_write_phy_register(struct i40e_hw *hw, status =i40e_write_phy_register_clause22 (hw, reg, phy_addr, value);break ; +case I40E_DEV_ID_5G_BASE_T_BC :case I40E_DEV_ID_10G_BASE_T :case I40E_DEV_ID_10G_BASE_T4 :case I40E_DEV_ID_10G_BASE_T_BC :@@ -4947,6 +4949,7 @@ i40e_status i40e_read_phy_register(struct i40e_hw *hw, status =i40e_read_phy_register_clause22 (hw, reg, phy_addr, value);break ; +case I40E_DEV_ID_5G_BASE_T_BC :case I40E_DEV_ID_10G_BASE_T :case I40E_DEV_ID_10G_BASE_T4 :case I40E_DEV_ID_10G_BASE_T_BC :drivers/net/ethernet/intel/i40e/i40e_devids.h +3
-1@@ -23,8 +23,10 @@#define I40E_DEV_ID_10G_BASE_T_BC 0x15FF#define I40E_DEV_ID_10G_B 0x104F#define I40E_DEV_ID_10G_SFP 0x104E +#define I40E_DEV_ID_5G_BASE_T_BC 0x101F#define I40E_IS_X710TL_DEVICE (d) \ - ((d) == I40E_DEV_ID_10G_BASE_T_BC) + (((d) == I40E_DEV_ID_10G_BASE_T_BC) || \ + ((d) == I40E_DEV_ID_5G_BASE_T_BC))#define I40E_DEV_ID_KX_X722 0x37CE#define I40E_DEV_ID_QSFP_X722 0x37CF#define I40E_DEV_ID_SFP_X722 0x37D0drivers/net/ethernet/intel/i40e/i40e_main.c +1
-0@@ -71,6 +71,7 @@ static const struct pci_device_id i40e_pci_tbl[] = { {PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_A), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_B), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_C), 0}, + {PCI_VDEVICE(INTEL, I40E_DEV_ID_5G_BASE_T_BC), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T4), 0}, {PCI_VDEVICE(INTEL, I40E_DEV_ID_10G_BASE_T_BC), 0},Signature · 13 lines
2.17.1 --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Sowackiego 173 | 80-298 Gdask | Sd Rejonowy Gdask Pnoc | VII Wydzia Gospodarczy Krajowego Rejestru Sdowego - KRS 101882 | NIP 957-07-52-316 | Kapita zakadowy 200.000 PLN. Ta wiadomo wraz z zacznikami jest przeznaczona dla okrelonego adresata i moe zawiera informacje poufne. W razie przypadkowego otrzymania tej wiadomoci, prosimy o powiadomienie nadawcy oraz trwae jej usunicie; jakiekolwiek przegldanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited. _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan at osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan