eal: remove PCI device ids header from doxygen
[dpdk.git] / lib / librte_eal / common / include / rte_pci_dev_ids.h
1 /*-
2  * This file is provided under a dual BSD/GPLv2 license.  When using or
3  *   redistributing this file, you may do so under either license.
4  *
5  *   GPL LICENSE SUMMARY
6  *
7  *   Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
8  *
9  *   This program is free software; you can redistribute it and/or modify
10  *   it under the terms of version 2 of the GNU General Public License as
11  *   published by the Free Software Foundation.
12  *
13  *   This program is distributed in the hope that it will be useful, but
14  *   WITHOUT ANY WARRANTY; without even the implied warranty of
15  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  *   General Public License for more details.
17  *
18  *   You should have received a copy of the GNU General Public License
19  *   along with this program; if not, write to the Free Software
20  *   Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
21  *   The full GNU General Public License is included in this distribution
22  *   in the file called LICENSE.GPL.
23  *
24  *   Contact Information:
25  *   Intel Corporation
26  *
27  *   BSD LICENSE
28  *
29  *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
30  *   All rights reserved.
31  *
32  *   Redistribution and use in source and binary forms, with or without
33  *   modification, are permitted provided that the following conditions
34  *   are met:
35  *
36  *     * Redistributions of source code must retain the above copyright
37  *       notice, this list of conditions and the following disclaimer.
38  *     * Redistributions in binary form must reproduce the above copyright
39  *       notice, this list of conditions and the following disclaimer in
40  *       the documentation and/or other materials provided with the
41  *       distribution.
42  *     * Neither the name of Intel Corporation nor the names of its
43  *       contributors may be used to endorse or promote products derived
44  *       from this software without specific prior written permission.
45  *
46  *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
47  *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
48  *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
49  *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
50  *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
51  *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
52  *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
53  *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
54  *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
55  *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
56  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57  *
58  */
59
60 #ifndef RTE_PCI_DEV_ID_DECL_EM
61 #define RTE_PCI_DEV_ID_DECL_EM(vend, dev)
62 #endif
63
64 #ifndef RTE_PCI_DEV_ID_DECL_IGB
65 #define RTE_PCI_DEV_ID_DECL_IGB(vend, dev)
66 #endif
67
68 #ifndef RTE_PCI_DEV_ID_DECL_IGBVF
69 #define RTE_PCI_DEV_ID_DECL_IGBVF(vend, dev)
70 #endif
71
72 #ifndef RTE_PCI_DEV_ID_DECL_IXGBE
73 #define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev)
74 #endif
75
76 #ifndef RTE_PCI_DEV_ID_DECL_IXGBEVF
77 #define RTE_PCI_DEV_ID_DECL_IXGBEVF(vend, dev)
78 #endif
79
80 #ifndef RTE_PCI_DEV_ID_DECL_I40E
81 #define RTE_PCI_DEV_ID_DECL_I40E(vend, dev)
82 #endif
83
84 #ifndef RTE_PCI_DEV_ID_DECL_I40EVF
85 #define RTE_PCI_DEV_ID_DECL_I40EVF(vend, dev)
86 #endif
87
88 #ifndef RTE_PCI_DEV_ID_DECL_VIRTIO
89 #define RTE_PCI_DEV_ID_DECL_VIRTIO(vend, dev)
90 #endif
91
92 #ifndef RTE_PCI_DEV_ID_DECL_VMXNET3
93 #define RTE_PCI_DEV_ID_DECL_VMXNET3(vend, dev)
94 #endif
95
96 #ifndef RTE_PCI_DEV_ID_DECL_FM10K
97 #define RTE_PCI_DEV_ID_DECL_FM10K(vend, dev)
98 #endif
99
100 #ifndef RTE_PCI_DEV_ID_DECL_FM10KVF
101 #define RTE_PCI_DEV_ID_DECL_FM10KVF(vend, dev)
102 #endif
103
104 #ifndef RTE_PCI_DEV_ID_DECL_ENIC
105 #define RTE_PCI_DEV_ID_DECL_ENIC(vend, dev)
106 #endif
107
108 #ifndef RTE_PCI_DEV_ID_DECL_BNX2X
109 #define RTE_PCI_DEV_ID_DECL_BNX2X(vend, dev)
110 #endif
111
112 #ifndef RTE_PCI_DEV_ID_DECL_BNX2XVF
113 #define RTE_PCI_DEV_ID_DECL_BNX2XVF(vend, dev)
114 #endif
115
116 #ifndef RTE_PCI_DEV_ID_DECL_BNXT
117 #define RTE_PCI_DEV_ID_DECL_BNXT(vend, dev)
118 #endif
119
120 #ifndef PCI_VENDOR_ID_INTEL
121 /** Vendor ID used by Intel devices */
122 #define PCI_VENDOR_ID_INTEL 0x8086
123 #endif
124
125 #ifndef PCI_VENDOR_ID_QUMRANET
126 /** Vendor ID used by virtio devices */
127 #define PCI_VENDOR_ID_QUMRANET 0x1AF4
128 #endif
129
130 #ifndef PCI_VENDOR_ID_VMWARE
131 /** Vendor ID used by VMware devices */
132 #define PCI_VENDOR_ID_VMWARE 0x15AD
133 #endif
134
135 #ifndef PCI_VENDOR_ID_CISCO
136 /** Vendor ID used by Cisco VIC devices */
137 #define PCI_VENDOR_ID_CISCO 0x1137
138 #endif
139
140 #ifndef PCI_VENDOR_ID_BROADCOM
141 /** Vendor ID used by Broadcom devices */
142 #define PCI_VENDOR_ID_BROADCOM 0x14E4
143 #endif
144
145 /******************** Physical EM devices from e1000_hw.h ********************/
146
147 #define E1000_DEV_ID_82542                    0x1000
148 #define E1000_DEV_ID_82543GC_FIBER            0x1001
149 #define E1000_DEV_ID_82543GC_COPPER           0x1004
150 #define E1000_DEV_ID_82544EI_COPPER           0x1008
151 #define E1000_DEV_ID_82544EI_FIBER            0x1009
152 #define E1000_DEV_ID_82544GC_COPPER           0x100C
153 #define E1000_DEV_ID_82544GC_LOM              0x100D
154 #define E1000_DEV_ID_82540EM                  0x100E
155 #define E1000_DEV_ID_82540EM_LOM              0x1015
156 #define E1000_DEV_ID_82540EP_LOM              0x1016
157 #define E1000_DEV_ID_82540EP                  0x1017
158 #define E1000_DEV_ID_82540EP_LP               0x101E
159 #define E1000_DEV_ID_82545EM_COPPER           0x100F
160 #define E1000_DEV_ID_82545EM_FIBER            0x1011
161 #define E1000_DEV_ID_82545GM_COPPER           0x1026
162 #define E1000_DEV_ID_82545GM_FIBER            0x1027
163 #define E1000_DEV_ID_82545GM_SERDES           0x1028
164 #define E1000_DEV_ID_82546EB_COPPER           0x1010
165 #define E1000_DEV_ID_82546EB_FIBER            0x1012
166 #define E1000_DEV_ID_82546EB_QUAD_COPPER      0x101D
167 #define E1000_DEV_ID_82546GB_COPPER           0x1079
168 #define E1000_DEV_ID_82546GB_FIBER            0x107A
169 #define E1000_DEV_ID_82546GB_SERDES           0x107B
170 #define E1000_DEV_ID_82546GB_PCIE             0x108A
171 #define E1000_DEV_ID_82546GB_QUAD_COPPER      0x1099
172 #define E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3 0x10B5
173 #define E1000_DEV_ID_82541EI                  0x1013
174 #define E1000_DEV_ID_82541EI_MOBILE           0x1018
175 #define E1000_DEV_ID_82541ER_LOM              0x1014
176 #define E1000_DEV_ID_82541ER                  0x1078
177 #define E1000_DEV_ID_82541GI                  0x1076
178 #define E1000_DEV_ID_82541GI_LF               0x107C
179 #define E1000_DEV_ID_82541GI_MOBILE           0x1077
180 #define E1000_DEV_ID_82547EI                  0x1019
181 #define E1000_DEV_ID_82547EI_MOBILE           0x101A
182 #define E1000_DEV_ID_82547GI                  0x1075
183 #define E1000_DEV_ID_82571EB_COPPER           0x105E
184 #define E1000_DEV_ID_82571EB_FIBER            0x105F
185 #define E1000_DEV_ID_82571EB_SERDES           0x1060
186 #define E1000_DEV_ID_82571EB_SERDES_DUAL      0x10D9
187 #define E1000_DEV_ID_82571EB_SERDES_QUAD      0x10DA
188 #define E1000_DEV_ID_82571EB_QUAD_COPPER      0x10A4
189 #define E1000_DEV_ID_82571PT_QUAD_COPPER      0x10D5
190 #define E1000_DEV_ID_82571EB_QUAD_FIBER       0x10A5
191 #define E1000_DEV_ID_82571EB_QUAD_COPPER_LP   0x10BC
192 #define E1000_DEV_ID_82572EI_COPPER           0x107D
193 #define E1000_DEV_ID_82572EI_FIBER            0x107E
194 #define E1000_DEV_ID_82572EI_SERDES           0x107F
195 #define E1000_DEV_ID_82572EI                  0x10B9
196 #define E1000_DEV_ID_82573E                   0x108B
197 #define E1000_DEV_ID_82573E_IAMT              0x108C
198 #define E1000_DEV_ID_82573L                   0x109A
199 #define E1000_DEV_ID_82574L                   0x10D3
200 #define E1000_DEV_ID_82574LA                  0x10F6
201 #define E1000_DEV_ID_82583V                   0x150C
202 #define E1000_DEV_ID_80003ES2LAN_COPPER_DPT   0x1096
203 #define E1000_DEV_ID_80003ES2LAN_SERDES_DPT   0x1098
204 #define E1000_DEV_ID_80003ES2LAN_COPPER_SPT   0x10BA
205 #define E1000_DEV_ID_80003ES2LAN_SERDES_SPT   0x10BB
206 #define E1000_DEV_ID_ICH8_82567V_3            0x1501
207 #define E1000_DEV_ID_ICH8_IGP_M_AMT           0x1049
208 #define E1000_DEV_ID_ICH8_IGP_AMT             0x104A
209 #define E1000_DEV_ID_ICH8_IGP_C               0x104B
210 #define E1000_DEV_ID_ICH8_IFE                 0x104C
211 #define E1000_DEV_ID_ICH8_IFE_GT              0x10C4
212 #define E1000_DEV_ID_ICH8_IFE_G               0x10C5
213 #define E1000_DEV_ID_ICH8_IGP_M               0x104D
214 #define E1000_DEV_ID_ICH9_IGP_M               0x10BF
215 #define E1000_DEV_ID_ICH9_IGP_M_AMT           0x10F5
216 #define E1000_DEV_ID_ICH9_IGP_M_V             0x10CB
217 #define E1000_DEV_ID_ICH9_IGP_AMT             0x10BD
218 #define E1000_DEV_ID_ICH9_BM                  0x10E5
219 #define E1000_DEV_ID_ICH9_IGP_C               0x294C
220 #define E1000_DEV_ID_ICH9_IFE                 0x10C0
221 #define E1000_DEV_ID_ICH9_IFE_GT              0x10C3
222 #define E1000_DEV_ID_ICH9_IFE_G               0x10C2
223 #define E1000_DEV_ID_ICH10_R_BM_LM            0x10CC
224 #define E1000_DEV_ID_ICH10_R_BM_LF            0x10CD
225 #define E1000_DEV_ID_ICH10_R_BM_V             0x10CE
226 #define E1000_DEV_ID_ICH10_D_BM_LM            0x10DE
227 #define E1000_DEV_ID_ICH10_D_BM_LF            0x10DF
228 #define E1000_DEV_ID_ICH10_D_BM_V             0x1525
229
230 #define E1000_DEV_ID_PCH_M_HV_LM              0x10EA
231 #define E1000_DEV_ID_PCH_M_HV_LC              0x10EB
232 #define E1000_DEV_ID_PCH_D_HV_DM              0x10EF
233 #define E1000_DEV_ID_PCH_D_HV_DC              0x10F0
234 #define E1000_DEV_ID_PCH2_LV_LM               0x1502
235 #define E1000_DEV_ID_PCH2_LV_V                0x1503
236 #define E1000_DEV_ID_PCH_LPT_I217_LM          0x153A
237 #define E1000_DEV_ID_PCH_LPT_I217_V           0x153B
238 #define E1000_DEV_ID_PCH_LPTLP_I218_LM        0x155A
239 #define E1000_DEV_ID_PCH_LPTLP_I218_V         0x1559
240 #define E1000_DEV_ID_PCH_I218_LM2             0x15A0
241 #define E1000_DEV_ID_PCH_I218_V2              0x15A1
242 #define E1000_DEV_ID_PCH_I218_LM3             0x15A2
243 #define E1000_DEV_ID_PCH_I218_V3              0x15A3
244
245
246 /*
247  * Tested (supported) on VM emulated HW.
248  */
249
250 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82540EM)
251 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_COPPER)
252 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_FIBER)
253
254 /*
255  * Tested (supported) on real HW.
256  */
257
258 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_COPPER)
259 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_FIBER)
260 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_QUAD_COPPER)
261 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_COPPER)
262 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_FIBER)
263 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_SERDES)
264 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_SERDES_DUAL)
265 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_SERDES_QUAD)
266 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER)
267 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571PT_QUAD_COPPER)
268 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_QUAD_FIBER)
269 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER_LP)
270 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI_COPPER)
271 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI_FIBER)
272 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI_SERDES)
273 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI)
274 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82573L)
275 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82574L)
276 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82574LA)
277 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82583V)
278 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_LPT_I217_LM)
279 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_LPT_I217_V)
280 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_LPTLP_I218_LM)
281 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_LPTLP_I218_V)
282 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_I218_LM2)
283 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_I218_V2)
284 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_I218_LM3)
285 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_PCH_I218_V3)
286
287
288 /******************** Physical IGB devices from e1000_hw.h ********************/
289
290 #define E1000_DEV_ID_82576                      0x10C9
291 #define E1000_DEV_ID_82576_FIBER                0x10E6
292 #define E1000_DEV_ID_82576_SERDES               0x10E7
293 #define E1000_DEV_ID_82576_QUAD_COPPER          0x10E8
294 #define E1000_DEV_ID_82576_QUAD_COPPER_ET2      0x1526
295 #define E1000_DEV_ID_82576_NS                   0x150A
296 #define E1000_DEV_ID_82576_NS_SERDES            0x1518
297 #define E1000_DEV_ID_82576_SERDES_QUAD          0x150D
298 #define E1000_DEV_ID_82575EB_COPPER             0x10A7
299 #define E1000_DEV_ID_82575EB_FIBER_SERDES       0x10A9
300 #define E1000_DEV_ID_82575GB_QUAD_COPPER        0x10D6
301 #define E1000_DEV_ID_82580_COPPER               0x150E
302 #define E1000_DEV_ID_82580_FIBER                0x150F
303 #define E1000_DEV_ID_82580_SERDES               0x1510
304 #define E1000_DEV_ID_82580_SGMII                0x1511
305 #define E1000_DEV_ID_82580_COPPER_DUAL          0x1516
306 #define E1000_DEV_ID_82580_QUAD_FIBER           0x1527
307 #define E1000_DEV_ID_I350_COPPER                0x1521
308 #define E1000_DEV_ID_I350_FIBER                 0x1522
309 #define E1000_DEV_ID_I350_SERDES                0x1523
310 #define E1000_DEV_ID_I350_SGMII                 0x1524
311 #define E1000_DEV_ID_I350_DA4                   0x1546
312 #define E1000_DEV_ID_I210_COPPER                0x1533
313 #define E1000_DEV_ID_I210_COPPER_OEM1           0x1534
314 #define E1000_DEV_ID_I210_COPPER_IT             0x1535
315 #define E1000_DEV_ID_I210_FIBER                 0x1536
316 #define E1000_DEV_ID_I210_SERDES                0x1537
317 #define E1000_DEV_ID_I210_SGMII                 0x1538
318 #define E1000_DEV_ID_I210_COPPER_FLASHLESS      0x157B
319 #define E1000_DEV_ID_I210_SERDES_FLASHLESS      0x157C
320 #define E1000_DEV_ID_I211_COPPER                0x1539
321 #define E1000_DEV_ID_I354_BACKPLANE_1GBPS       0x1F40
322 #define E1000_DEV_ID_I354_SGMII                 0x1F41
323 #define E1000_DEV_ID_I354_BACKPLANE_2_5GBPS     0x1F45
324 #define E1000_DEV_ID_DH89XXCC_SGMII             0x0438
325 #define E1000_DEV_ID_DH89XXCC_SERDES            0x043A
326 #define E1000_DEV_ID_DH89XXCC_BACKPLANE         0x043C
327 #define E1000_DEV_ID_DH89XXCC_SFP               0x0440
328
329 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576)
330 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_FIBER)
331 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_SERDES)
332 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_QUAD_COPPER)
333 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_QUAD_COPPER_ET2)
334 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS)
335 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS_SERDES)
336 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_SERDES_QUAD)
337
338 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_COPPER)
339 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_FIBER_SERDES)
340 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575GB_QUAD_COPPER)
341
342 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_COPPER)
343 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_FIBER)
344 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_SERDES)
345 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_SGMII)
346 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_COPPER_DUAL)
347 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_QUAD_FIBER)
348
349 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_COPPER)
350 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_FIBER)
351 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_SERDES)
352 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_SGMII)
353 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_DA4)
354 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER)
355 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER_OEM1)
356 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER_IT)
357 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_FIBER)
358 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_SERDES)
359 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_SGMII)
360 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I211_COPPER)
361 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_BACKPLANE_1GBPS)
362 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_SGMII)
363 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_BACKPLANE_2_5GBPS)
364 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SGMII)
365 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SERDES)
366 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_BACKPLANE)
367 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SFP)
368
369 /****************** Physical IXGBE devices from ixgbe_type.h ******************/
370
371 #define IXGBE_DEV_ID_82598                      0x10B6
372 #define IXGBE_DEV_ID_82598_BX                   0x1508
373 #define IXGBE_DEV_ID_82598AF_DUAL_PORT          0x10C6
374 #define IXGBE_DEV_ID_82598AF_SINGLE_PORT        0x10C7
375 #define IXGBE_DEV_ID_82598AT                    0x10C8
376 #define IXGBE_DEV_ID_82598AT2                   0x150B
377 #define IXGBE_DEV_ID_82598EB_SFP_LOM            0x10DB
378 #define IXGBE_DEV_ID_82598EB_CX4                0x10DD
379 #define IXGBE_DEV_ID_82598_CX4_DUAL_PORT        0x10EC
380 #define IXGBE_DEV_ID_82598_DA_DUAL_PORT         0x10F1
381 #define IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM      0x10E1
382 #define IXGBE_DEV_ID_82598EB_XF_LR              0x10F4
383 #define IXGBE_DEV_ID_82599_KX4                  0x10F7
384 #define IXGBE_DEV_ID_82599_KX4_MEZZ             0x1514
385 #define IXGBE_DEV_ID_82599_KR                   0x1517
386 #define IXGBE_DEV_ID_82599_COMBO_BACKPLANE      0x10F8
387 #define IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ       0x000C
388 #define IXGBE_DEV_ID_82599_CX4                  0x10F9
389 #define IXGBE_DEV_ID_82599_SFP                  0x10FB
390 #define IXGBE_SUBDEV_ID_82599_SFP               0x11A9
391 #define IXGBE_SUBDEV_ID_82599_RNDC              0x1F72
392 #define IXGBE_SUBDEV_ID_82599_560FLR            0x17D0
393 #define IXGBE_SUBDEV_ID_82599_ECNA_DP           0x0470
394 #define IXGBE_DEV_ID_82599_BACKPLANE_FCOE       0x152A
395 #define IXGBE_DEV_ID_82599_SFP_FCOE             0x1529
396 #define IXGBE_DEV_ID_82599_SFP_EM               0x1507
397 #define IXGBE_DEV_ID_82599_SFP_SF2              0x154D
398 #define IXGBE_DEV_ID_82599_SFP_SF_QP            0x154A
399 #define IXGBE_DEV_ID_82599_QSFP_SF_QP           0x1558
400 #define IXGBE_DEV_ID_82599EN_SFP                0x1557
401 #define IXGBE_DEV_ID_82599_XAUI_LOM             0x10FC
402 #define IXGBE_DEV_ID_82599_T3_LOM               0x151C
403 #define IXGBE_DEV_ID_82599_LS                   0x154F
404 #define IXGBE_DEV_ID_X540T                      0x1528
405 #define IXGBE_DEV_ID_X540T1                     0x1560
406 #define IXGBE_DEV_ID_X550EM_X_SFP               0x15AC
407 #define IXGBE_DEV_ID_X550EM_X_10G_T             0x15AD
408 #define IXGBE_DEV_ID_X550EM_X_1G_T              0x15AE
409 #define IXGBE_DEV_ID_X550T                      0x1563
410 #define IXGBE_DEV_ID_X550T1                     0x15D1
411 #define IXGBE_DEV_ID_X550EM_A_KR                0x15C2
412 #define IXGBE_DEV_ID_X550EM_A_KR_L              0x15C3
413 #define IXGBE_DEV_ID_X550EM_A_SFP_N             0x15C4
414 #define IXGBE_DEV_ID_X550EM_A_SGMII             0x15C6
415 #define IXGBE_DEV_ID_X550EM_A_SGMII_L           0x15C7
416 #define IXGBE_DEV_ID_X550EM_A_10G_T             0x15C8
417 #define IXGBE_DEV_ID_X550EM_A_QSFP              0x15CA
418 #define IXGBE_DEV_ID_X550EM_A_QSFP_N            0x15CC
419 #define IXGBE_DEV_ID_X550EM_A_SFP               0x15CE
420 #define IXGBE_DEV_ID_X550EM_A_1G_T              0x15E4
421 #define IXGBE_DEV_ID_X550EM_A_1G_T_L            0x15E5
422 #define IXGBE_DEV_ID_X550EM_X_KX4               0x15AA
423 #define IXGBE_DEV_ID_X550EM_X_KR                0x15AB
424
425 #ifdef RTE_NIC_BYPASS
426 #define IXGBE_DEV_ID_82599_BYPASS               0x155D
427 #endif
428
429 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598)
430 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_BX)
431 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT)
432 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
433         IXGBE_DEV_ID_82598AF_SINGLE_PORT)
434 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AT)
435 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AT2)
436 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_SFP_LOM)
437 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_CX4)
438 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT)
439 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_DA_DUAL_PORT)
440 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
441         IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM)
442 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_XF_LR)
443 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KX4)
444 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KX4_MEZZ)
445 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KR)
446 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
447         IXGBE_DEV_ID_82599_COMBO_BACKPLANE)
448 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
449         IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ)
450 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_CX4)
451 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP)
452 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_SFP)
453 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_RNDC)
454 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_560FLR)
455 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_ECNA_DP)
456 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_BACKPLANE_FCOE)
457 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_FCOE)
458 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_EM)
459 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_SF2)
460 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_SF_QP)
461 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_QSFP_SF_QP)
462 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599EN_SFP)
463 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_XAUI_LOM)
464 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_T3_LOM)
465 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_LS)
466 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540T)
467 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540T1)
468 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_SFP)
469 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_10G_T)
470 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_1G_T)
471 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550T)
472 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550T1)
473 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_KR)
474 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_KR_L)
475 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SFP_N)
476 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SGMII)
477 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SGMII_L)
478 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_10G_T)
479 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_QSFP)
480 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_QSFP_N)
481 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SFP)
482 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_1G_T)
483 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_1G_T_L)
484 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_KX4)
485 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_KR)
486
487 #ifdef RTE_NIC_BYPASS
488 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_BYPASS)
489 #endif
490
491 /*************** Physical I40E devices from i40e_type.h *****************/
492
493 #define I40E_DEV_ID_SFP_XL710           0x1572
494 #define I40E_DEV_ID_QEMU                0x1574
495 #define I40E_DEV_ID_KX_B                0x1580
496 #define I40E_DEV_ID_KX_C                0x1581
497 #define I40E_DEV_ID_QSFP_A              0x1583
498 #define I40E_DEV_ID_QSFP_B              0x1584
499 #define I40E_DEV_ID_QSFP_C              0x1585
500 #define I40E_DEV_ID_10G_BASE_T          0x1586
501 #define I40E_DEV_ID_20G_KR2             0x1587
502 #define I40E_DEV_ID_20G_KR2_A           0x1588
503 #define I40E_DEV_ID_10G_BASE_T4         0x1589
504 #define I40E_DEV_ID_25G_B               0x158A
505 #define I40E_DEV_ID_25G_SFP28           0x158B
506 #define I40E_DEV_ID_X722_A0             0x374C
507 #define I40E_DEV_ID_KX_X722             0x37CE
508 #define I40E_DEV_ID_QSFP_X722           0x37CF
509 #define I40E_DEV_ID_SFP_X722            0x37D0
510 #define I40E_DEV_ID_1G_BASE_T_X722      0x37D1
511 #define I40E_DEV_ID_10G_BASE_T_X722     0x37D2
512 #define I40E_DEV_ID_SFP_I_X722          0x37D3
513 #define I40E_DEV_ID_QSFP_I_X722         0x37D4
514
515 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_SFP_XL710)
516 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_QEMU)
517 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_KX_B)
518 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_KX_C)
519 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_QSFP_A)
520 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_QSFP_B)
521 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_QSFP_C)
522 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T)
523 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_20G_KR2)
524 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_20G_KR2_A)
525 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T4)
526 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_25G_B)
527 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_25G_SFP28)
528 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_X722_A0)
529 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_KX_X722)
530 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_QSFP_X722)
531 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_SFP_X722)
532 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_1G_BASE_T_X722)
533 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T_X722)
534 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_SFP_I_X722)
535 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_QSFP_I_X722)
536
537 /*************** Physical FM10K devices from fm10k_type.h ***************/
538
539 #define FM10K_DEV_ID_PF                   0x15A4
540 #define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
541
542 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_PF)
543 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_QDA2)
544
545 /****************** Virtual IGB devices from e1000_hw.h ******************/
546
547 #define E1000_DEV_ID_82576_VF                   0x10CA
548 #define E1000_DEV_ID_82576_VF_HV                0x152D
549 #define E1000_DEV_ID_I350_VF                    0x1520
550 #define E1000_DEV_ID_I350_VF_HV                 0x152F
551
552 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_VF)
553 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_VF_HV)
554 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_VF)
555 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_VF_HV)
556
557 /****************** Virtual IXGBE devices from ixgbe_type.h ******************/
558
559 #define IXGBE_DEV_ID_82599_VF                   0x10ED
560 #define IXGBE_DEV_ID_82599_VF_HV                0x152E
561 #define IXGBE_DEV_ID_X540_VF                    0x1515
562 #define IXGBE_DEV_ID_X540_VF_HV                 0x1530
563 #define IXGBE_DEV_ID_X550_VF_HV                 0x1564
564 #define IXGBE_DEV_ID_X550_VF                    0x1565
565 #define IXGBE_DEV_ID_X550EM_A_VF                0x15C5
566 #define IXGBE_DEV_ID_X550EM_A_VF_HV             0x15B4
567 #define IXGBE_DEV_ID_X550EM_X_VF                0x15A8
568 #define IXGBE_DEV_ID_X550EM_X_VF_HV             0x15A9
569
570 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_VF)
571 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_VF_HV)
572 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540_VF)
573 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540_VF_HV)
574 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550_VF_HV)
575 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550_VF)
576 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_VF)
577 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_VF_HV)
578 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_VF)
579 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_VF_HV)
580
581 /****************** Virtual I40E devices from i40e_type.h ********************/
582
583 #define I40E_DEV_ID_VF                  0x154C
584 #define I40E_DEV_ID_VF_HV               0x1571
585 #define I40E_DEV_ID_X722_A0_VF          0x374D
586 #define I40E_DEV_ID_X722_VF             0x37CD
587 #define I40E_DEV_ID_X722_VF_HV          0x37D9
588
589 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_VF)
590 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_VF_HV)
591 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_X722_A0_VF)
592 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_X722_VF)
593 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_X722_VF_HV)
594
595 /****************** Virtio devices from virtio.h ******************/
596
597 #define QUMRANET_DEV_ID_VIRTIO                  0x1000
598
599 RTE_PCI_DEV_ID_DECL_VIRTIO(PCI_VENDOR_ID_QUMRANET, QUMRANET_DEV_ID_VIRTIO)
600
601 /****************** VMware VMXNET3 devices ******************/
602
603 #define VMWARE_DEV_ID_VMXNET3                   0x07B0
604
605 RTE_PCI_DEV_ID_DECL_VMXNET3(PCI_VENDOR_ID_VMWARE, VMWARE_DEV_ID_VMXNET3)
606
607 /*************** Virtual FM10K devices from fm10k_type.h ***************/
608
609 #define FM10K_DEV_ID_VF                   0x15A5
610
611 RTE_PCI_DEV_ID_DECL_FM10KVF(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_VF)
612
613 /****************** Cisco VIC devices ******************/
614
615 #define PCI_DEVICE_ID_CISCO_VIC_ENET         0x0043  /* ethernet vnic */
616 #define PCI_DEVICE_ID_CISCO_VIC_ENET_VF      0x0071  /* enet SRIOV VF */
617
618 RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET)
619 RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET_VF)
620
621 /****************** QLogic devices ******************/
622
623 /* Broadcom/QLogic BNX2X */
624 #define BNX2X_DEV_ID_57710      0x164e
625 #define BNX2X_DEV_ID_57711      0x164f
626 #define BNX2X_DEV_ID_57711E     0x1650
627 #define BNX2X_DEV_ID_57712      0x1662
628 #define BNX2X_DEV_ID_57712_MF   0x1663
629 #define BNX2X_DEV_ID_57712_VF   0x166f
630 #define BNX2X_DEV_ID_57713      0x1651
631 #define BNX2X_DEV_ID_57713E     0x1652
632 #define BNX2X_DEV_ID_57800      0x168a
633 #define BNX2X_DEV_ID_57800_MF   0x16a5
634 #define BNX2X_DEV_ID_57800_VF   0x16a9
635 #define BNX2X_DEV_ID_57810      0x168e
636 #define BNX2X_DEV_ID_57810_MF   0x16ae
637 #define BNX2X_DEV_ID_57810_VF   0x16af
638 #define BNX2X_DEV_ID_57811      0x163d
639 #define BNX2X_DEV_ID_57811_MF   0x163e
640 #define BNX2X_DEV_ID_57811_VF   0x163f
641
642 #define BNX2X_DEV_ID_57840_OBS          0x168d
643 #define BNX2X_DEV_ID_57840_OBS_MF       0x16ab
644 #define BNX2X_DEV_ID_57840_4_10         0x16a1
645 #define BNX2X_DEV_ID_57840_2_20         0x16a2
646 #define BNX2X_DEV_ID_57840_MF           0x16a4
647 #define BNX2X_DEV_ID_57840_VF           0x16ad
648
649 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57800)
650 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57800_VF)
651 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57711)
652 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810)
653 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810_VF)
654 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811)
655 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811_VF)
656 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_OBS)
657 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_4_10)
658 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_2_20)
659 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_VF)
660 #ifdef RTE_LIBRTE_BNX2X_MF_SUPPORT
661 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810_MF)
662 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811_MF)
663 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_MF)
664 #endif
665
666 /****************** Broadcom bnxt devices ******************/
667
668 #define BROADCOM_DEV_ID_57301                  0x16c8
669 #define BROADCOM_DEV_ID_57302                  0x16c9
670 #define BROADCOM_DEV_ID_57304_PF               0x16ca
671 #define BROADCOM_DEV_ID_57304_VF               0x16cb
672 #define BROADCOM_DEV_ID_57402                  0x16d0
673 #define BROADCOM_DEV_ID_57404                  0x16d1
674 #define BROADCOM_DEV_ID_57406_PF               0x16d2
675 #define BROADCOM_DEV_ID_57406_VF               0x16d3
676 #define BROADCOM_DEV_ID_57406_MF               0x16d4
677 #define BROADCOM_DEV_ID_57314                  0x16df
678
679 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57301)
680 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57302)
681 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_PF)
682 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_VF)
683 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57402)
684 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57404)
685 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_PF)
686 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_VF)
687 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_MF)
688 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57314)
689
690 /*
691  * Undef all RTE_PCI_DEV_ID_DECL_* here.
692  */
693 #undef RTE_PCI_DEV_ID_DECL_BNX2X
694 #undef RTE_PCI_DEV_ID_DECL_BNX2XVF
695 #undef RTE_PCI_DEV_ID_DECL_EM
696 #undef RTE_PCI_DEV_ID_DECL_IGB
697 #undef RTE_PCI_DEV_ID_DECL_IGBVF
698 #undef RTE_PCI_DEV_ID_DECL_IXGBE
699 #undef RTE_PCI_DEV_ID_DECL_IXGBEVF
700 #undef RTE_PCI_DEV_ID_DECL_I40E
701 #undef RTE_PCI_DEV_ID_DECL_I40EVF
702 #undef RTE_PCI_DEV_ID_DECL_VIRTIO
703 #undef RTE_PCI_DEV_ID_DECL_VMXNET3
704 #undef RTE_PCI_DEV_ID_DECL_FM10K
705 #undef RTE_PCI_DEV_ID_DECL_FM10KVF
706 #undef RTE_PCI_DEV_ID_DECL_BNXT