blob: d34972bab09c0b023ca783382164539ef28bef09 [file] [log] [blame]
Shannon Nelsond72c95e2015-08-31 19:54:50 -04001/*******************************************************************************
2 *
3 * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver
4 * Copyright(c) 2013 - 2015 Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * The full GNU General Public License is included in this distribution in
19 * the file called "COPYING".
20 *
21 * Contact Information:
22 * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
23 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
24 *
25 ******************************************************************************/
26
27#ifndef _I40E_DEVIDS_H_
28#define _I40E_DEVIDS_H_
29
30/* Device IDs */
31#define I40E_DEV_ID_SFP_XL710 0x1572
32#define I40E_DEV_ID_QEMU 0x1574
Shannon Nelsond72c95e2015-08-31 19:54:50 -040033#define I40E_DEV_ID_KX_B 0x1580
34#define I40E_DEV_ID_KX_C 0x1581
35#define I40E_DEV_ID_QSFP_A 0x1583
36#define I40E_DEV_ID_QSFP_B 0x1584
37#define I40E_DEV_ID_QSFP_C 0x1585
38#define I40E_DEV_ID_10G_BASE_T 0x1586
39#define I40E_DEV_ID_20G_KR2 0x1587
40#define I40E_DEV_ID_20G_KR2_A 0x1588
41#define I40E_DEV_ID_10G_BASE_T4 0x1589
42#define I40E_DEV_ID_VF 0x154C
43#define I40E_DEV_ID_VF_HV 0x1571
44#define I40E_DEV_ID_SFP_X722 0x37D0
45#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
46#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
Catherine Sullivand6bf58c2016-03-18 12:18:08 -070047#define I40E_DEV_ID_SFP_I_X722 0x37D3
Kamil Krawczykbccf4742016-04-12 08:30:47 -070048#define I40E_DEV_ID_QSFP_I_X722 0x37D4
Shannon Nelsond72c95e2015-08-31 19:54:50 -040049#define I40E_DEV_ID_X722_VF 0x37CD
50#define I40E_DEV_ID_X722_VF_HV 0x37D9
51
52#define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \
53 (d) == I40E_DEV_ID_QSFP_B || \
54 (d) == I40E_DEV_ID_QSFP_C)
55
56#endif /* _I40E_DEVIDS_H_ */