Skip to content

Commit 4c44b45

Browse files
pkwapulianguy11
authored andcommitted
ixgbevf: Add support for Intel(R) E610 device
Add support for Intel(R) E610 Series of network devices. The E610 is based on X550 but adds firmware managed link, enhanced security capabilities and support for updated server manageability Reviewed-by: Przemek Kitszel <[email protected]> Signed-off-by: Piotr Kwapulinski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 208fff3 commit 4c44b45

File tree

5 files changed

+33
-6
lines changed

5 files changed

+33
-6
lines changed

drivers/net/ethernet/intel/ixgbevf/defines.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
/* Copyright(c) 1999 - 2018 Intel Corporation. */
2+
/* Copyright(c) 1999 - 2024 Intel Corporation. */
33

44
#ifndef _IXGBEVF_DEFINES_H_
55
#define _IXGBEVF_DEFINES_H_
@@ -16,6 +16,9 @@
1616
#define IXGBE_DEV_ID_X550_VF_HV 0x1564
1717
#define IXGBE_DEV_ID_X550EM_X_VF_HV 0x15A9
1818

19+
#define IXGBE_DEV_ID_E610_VF 0x57AD
20+
#define IXGBE_SUBDEV_ID_E610_VF_HV 0x00FF
21+
1922
#define IXGBE_VF_IRQ_CLEAR_MASK 7
2023
#define IXGBE_VF_MAX_TX_QUEUES 8
2124
#define IXGBE_VF_MAX_RX_QUEUES 8

drivers/net/ethernet/intel/ixgbevf/ixgbevf.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
/* Copyright(c) 1999 - 2018 Intel Corporation. */
2+
/* Copyright(c) 1999 - 2024 Intel Corporation. */
33

44
#ifndef _IXGBEVF_H_
55
#define _IXGBEVF_H_
@@ -418,6 +418,8 @@ enum ixgbevf_boards {
418418
board_X550EM_x_vf,
419419
board_X550EM_x_vf_hv,
420420
board_x550em_a_vf,
421+
board_e610_vf,
422+
board_e610_vf_hv,
421423
};
422424

423425
enum ixgbevf_xcast_modes {
@@ -434,11 +436,13 @@ extern const struct ixgbevf_info ixgbevf_X550EM_x_vf_info;
434436
extern const struct ixgbe_mbx_operations ixgbevf_mbx_ops;
435437
extern const struct ixgbe_mbx_operations ixgbevf_mbx_ops_legacy;
436438
extern const struct ixgbevf_info ixgbevf_x550em_a_vf_info;
439+
extern const struct ixgbevf_info ixgbevf_e610_vf_info;
437440

438441
extern const struct ixgbevf_info ixgbevf_82599_vf_hv_info;
439442
extern const struct ixgbevf_info ixgbevf_X540_vf_hv_info;
440443
extern const struct ixgbevf_info ixgbevf_X550_vf_hv_info;
441444
extern const struct ixgbevf_info ixgbevf_X550EM_x_vf_hv_info;
445+
extern const struct ixgbevf_info ixgbevf_e610_vf_hv_info;
442446
extern const struct ixgbe_mbx_operations ixgbevf_hv_mbx_ops;
443447

444448
/* needed by ethtool.c */

drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/* Copyright(c) 1999 - 2018 Intel Corporation. */
2+
/* Copyright(c) 1999 - 2024 Intel Corporation. */
33

44
/******************************************************************************
55
Copyright (c)2006 - 2007 Myricom, Inc. for some LRO specific code
@@ -39,7 +39,7 @@ static const char ixgbevf_driver_string[] =
3939
"Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver";
4040

4141
static char ixgbevf_copyright[] =
42-
"Copyright (c) 2009 - 2018 Intel Corporation.";
42+
"Copyright (c) 2009 - 2024 Intel Corporation.";
4343

4444
static const struct ixgbevf_info *ixgbevf_info_tbl[] = {
4545
[board_82599_vf] = &ixgbevf_82599_vf_info,
@@ -51,6 +51,8 @@ static const struct ixgbevf_info *ixgbevf_info_tbl[] = {
5151
[board_X550EM_x_vf] = &ixgbevf_X550EM_x_vf_info,
5252
[board_X550EM_x_vf_hv] = &ixgbevf_X550EM_x_vf_hv_info,
5353
[board_x550em_a_vf] = &ixgbevf_x550em_a_vf_info,
54+
[board_e610_vf] = &ixgbevf_e610_vf_info,
55+
[board_e610_vf_hv] = &ixgbevf_e610_vf_hv_info,
5456
};
5557

5658
/* ixgbevf_pci_tbl - PCI Device ID Table
@@ -71,6 +73,9 @@ static const struct pci_device_id ixgbevf_pci_tbl[] = {
7173
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_VF), board_X550EM_x_vf },
7274
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_VF_HV), board_X550EM_x_vf_hv},
7375
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_A_VF), board_x550em_a_vf },
76+
{PCI_VDEVICE_SUB(INTEL, IXGBE_DEV_ID_E610_VF, PCI_ANY_ID,
77+
IXGBE_SUBDEV_ID_E610_VF_HV), board_e610_vf_hv},
78+
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_E610_VF), board_e610_vf},
7479
/* required last entry */
7580
{0, }
7681
};
@@ -4693,6 +4698,9 @@ static int ixgbevf_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
46934698
case ixgbe_mac_X540_vf:
46944699
dev_info(&pdev->dev, "Intel(R) X540 Virtual Function\n");
46954700
break;
4701+
case ixgbe_mac_e610_vf:
4702+
dev_info(&pdev->dev, "Intel(R) E610 Virtual Function\n");
4703+
break;
46964704
case ixgbe_mac_82599_vf:
46974705
default:
46984706
dev_info(&pdev->dev, "Intel(R) 82599 Virtual Function\n");

drivers/net/ethernet/intel/ixgbevf/vf.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/* Copyright(c) 1999 - 2018 Intel Corporation. */
2+
/* Copyright(c) 1999 - 2024 Intel Corporation. */
33

44
#include "vf.h"
55
#include "ixgbevf.h"
@@ -1076,3 +1076,13 @@ const struct ixgbevf_info ixgbevf_x550em_a_vf_info = {
10761076
.mac = ixgbe_mac_x550em_a_vf,
10771077
.mac_ops = &ixgbevf_mac_ops,
10781078
};
1079+
1080+
const struct ixgbevf_info ixgbevf_e610_vf_info = {
1081+
.mac = ixgbe_mac_e610_vf,
1082+
.mac_ops = &ixgbevf_mac_ops,
1083+
};
1084+
1085+
const struct ixgbevf_info ixgbevf_e610_vf_hv_info = {
1086+
.mac = ixgbe_mac_e610_vf,
1087+
.mac_ops = &ixgbevf_hv_mac_ops,
1088+
};

drivers/net/ethernet/intel/ixgbevf/vf.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
/* Copyright(c) 1999 - 2018 Intel Corporation. */
2+
/* Copyright(c) 1999 - 2024 Intel Corporation. */
33

44
#ifndef __IXGBE_VF_H__
55
#define __IXGBE_VF_H__
@@ -54,6 +54,8 @@ enum ixgbe_mac_type {
5454
ixgbe_mac_X550_vf,
5555
ixgbe_mac_X550EM_x_vf,
5656
ixgbe_mac_x550em_a_vf,
57+
ixgbe_mac_e610,
58+
ixgbe_mac_e610_vf,
5759
ixgbe_num_macs
5860
};
5961

0 commit comments

Comments
 (0)