]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | /* SPDX-License-Identifier: BSD-3-Clause |
2 | * Copyright(c) 2001-2018 | |
3 | */ | |
7c673cae FG |
4 | |
5 | #ifndef _I40E_DEVIDS_H_ | |
6 | #define _I40E_DEVIDS_H_ | |
7 | ||
8 | /* Vendor ID */ | |
9 | #define I40E_INTEL_VENDOR_ID 0x8086 | |
10 | ||
11 | /* Device IDs */ | |
12 | #define I40E_DEV_ID_SFP_XL710 0x1572 | |
13 | #define I40E_DEV_ID_QEMU 0x1574 | |
14 | #define I40E_DEV_ID_KX_B 0x1580 | |
15 | #define I40E_DEV_ID_KX_C 0x1581 | |
16 | #define I40E_DEV_ID_QSFP_A 0x1583 | |
17 | #define I40E_DEV_ID_QSFP_B 0x1584 | |
18 | #define I40E_DEV_ID_QSFP_C 0x1585 | |
19 | #define I40E_DEV_ID_10G_BASE_T 0x1586 | |
20 | #define I40E_DEV_ID_20G_KR2 0x1587 | |
21 | #define I40E_DEV_ID_20G_KR2_A 0x1588 | |
22 | #define I40E_DEV_ID_10G_BASE_T4 0x1589 | |
23 | #define I40E_DEV_ID_25G_B 0x158A | |
24 | #define I40E_DEV_ID_25G_SFP28 0x158B | |
9f95a23c TL |
25 | #define I40E_DEV_ID_X710_N3000 0x0CF8 |
26 | #define I40E_DEV_ID_XXV710_N3000 0x0D58 | |
27 | #ifdef CARLSVILLE_HW | |
28 | #define I40E_DEV_ID_10G_BASE_T_BC 0x15FF | |
29 | #endif | |
7c673cae FG |
30 | #if defined(INTEGRATED_VF) || defined(VF_DRIVER) || defined(I40E_NDIS_SUPPORT) |
31 | #define I40E_DEV_ID_VF 0x154C | |
32 | #define I40E_DEV_ID_VF_HV 0x1571 | |
9f95a23c | 33 | #define I40E_DEV_ID_ADAPTIVE_VF 0x1889 |
7c673cae | 34 | #endif /* VF_DRIVER */ |
7c673cae FG |
35 | #ifdef X722_A0_SUPPORT |
36 | #define I40E_DEV_ID_X722_A0 0x374C | |
37 | #if defined(INTEGRATED_VF) || defined(VF_DRIVER) | |
38 | #define I40E_DEV_ID_X722_A0_VF 0x374D | |
39 | #endif | |
40 | #endif | |
41 | #define I40E_DEV_ID_KX_X722 0x37CE | |
42 | #define I40E_DEV_ID_QSFP_X722 0x37CF | |
43 | #define I40E_DEV_ID_SFP_X722 0x37D0 | |
44 | #define I40E_DEV_ID_1G_BASE_T_X722 0x37D1 | |
45 | #define I40E_DEV_ID_10G_BASE_T_X722 0x37D2 | |
46 | #define I40E_DEV_ID_SFP_I_X722 0x37D3 | |
47 | #if defined(INTEGRATED_VF) || defined(VF_DRIVER) || defined(I40E_NDIS_SUPPORT) | |
48 | #define I40E_DEV_ID_X722_VF 0x37CD | |
7c673cae | 49 | #endif /* VF_DRIVER */ |
7c673cae FG |
50 | |
51 | #define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \ | |
52 | (d) == I40E_DEV_ID_QSFP_B || \ | |
53 | (d) == I40E_DEV_ID_QSFP_C) | |
54 | ||
9f95a23c TL |
55 | #define i40e_is_25G_device(d) ((d) == I40E_DEV_ID_25G_B || \ |
56 | (d) == I40E_DEV_ID_25G_SFP28) | |
57 | ||
7c673cae | 58 | #endif /* _I40E_DEVIDS_H_ */ |