d08819103858052e9c68c278ee9b5d75a2ba15c1
[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 /**
61  * @file
62  *
63  * This file contains a list of the PCI device IDs recognised by DPDK, which
64  * can be used to fill out an array of structures describing the devices.
65  *
66  * Currently four families of devices are recognised: those supported by the
67  * IGB driver, by EM driver, those supported by the IXGBE driver, and by virtio
68  * driver which is a para virtualization driver running in guest virtual machine.
69  * The inclusion of these in an array built using this file depends on the
70  * definition of
71  * RTE_PCI_DEV_ID_DECL_EM
72  * RTE_PCI_DEV_ID_DECL_IGB
73  * RTE_PCI_DEV_ID_DECL_IGBVF
74  * RTE_PCI_DEV_ID_DECL_IXGBE
75  * RTE_PCI_DEV_ID_DECL_IXGBEVF
76  * RTE_PCI_DEV_ID_DECL_I40E
77  * RTE_PCI_DEV_ID_DECL_I40EVF
78  * RTE_PCI_DEV_ID_DECL_VIRTIO
79  * at the time when this file is included.
80  *
81  * In order to populate an array, the user of this file must define this macro:
82  * RTE_PCI_DEV_ID_DECL_IXGBE(vendorID, deviceID). For example:
83  *
84  * @code
85  * struct device {
86  *     int vend;
87  *     int dev;
88  * };
89  *
90  * struct device devices[] = {
91  * #define RTE_PCI_DEV_ID_DECL_IXGBE(vendorID, deviceID) {vend, dev},
92  * #include <rte_pci_dev_ids.h>
93  * };
94  * @endcode
95  *
96  * Note that this file can be included multiple times within the same file.
97  */
98
99 #ifndef RTE_PCI_DEV_ID_DECL_EM
100 #define RTE_PCI_DEV_ID_DECL_EM(vend, dev)
101 #endif
102
103 #ifndef RTE_PCI_DEV_ID_DECL_IGB
104 #define RTE_PCI_DEV_ID_DECL_IGB(vend, dev)
105 #endif
106
107 #ifndef RTE_PCI_DEV_ID_DECL_IGBVF
108 #define RTE_PCI_DEV_ID_DECL_IGBVF(vend, dev)
109 #endif
110
111 #ifndef RTE_PCI_DEV_ID_DECL_IXGBE
112 #define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev)
113 #endif
114
115 #ifndef RTE_PCI_DEV_ID_DECL_IXGBEVF
116 #define RTE_PCI_DEV_ID_DECL_IXGBEVF(vend, dev)
117 #endif
118
119 #ifndef RTE_PCI_DEV_ID_DECL_I40E
120 #define RTE_PCI_DEV_ID_DECL_I40E(vend, dev)
121 #endif
122
123 #ifndef RTE_PCI_DEV_ID_DECL_I40EVF
124 #define RTE_PCI_DEV_ID_DECL_I40EVF(vend, dev)
125 #endif
126
127 #ifndef RTE_PCI_DEV_ID_DECL_VIRTIO
128 #define RTE_PCI_DEV_ID_DECL_VIRTIO(vend, dev)
129 #endif
130
131 #ifndef RTE_PCI_DEV_ID_DECL_VMXNET3
132 #define RTE_PCI_DEV_ID_DECL_VMXNET3(vend, dev)
133 #endif
134
135 #ifndef RTE_PCI_DEV_ID_DECL_FM10K
136 #define RTE_PCI_DEV_ID_DECL_FM10K(vend, dev)
137 #endif
138
139 #ifndef RTE_PCI_DEV_ID_DECL_FM10KVF
140 #define RTE_PCI_DEV_ID_DECL_FM10KVF(vend, dev)
141 #endif
142
143 #ifndef RTE_PCI_DEV_ID_DECL_ENIC
144 #define RTE_PCI_DEV_ID_DECL_ENIC(vend, dev)
145 #endif
146
147 #ifndef RTE_PCI_DEV_ID_DECL_BNX2X
148 #define RTE_PCI_DEV_ID_DECL_BNX2X(vend, dev)
149 #endif
150
151 #ifndef RTE_PCI_DEV_ID_DECL_BNX2XVF
152 #define RTE_PCI_DEV_ID_DECL_BNX2XVF(vend, dev)
153 #endif
154
155 #ifndef PCI_VENDOR_ID_INTEL
156 /** Vendor ID used by Intel devices */
157 #define PCI_VENDOR_ID_INTEL 0x8086
158 #endif
159
160 #ifndef PCI_VENDOR_ID_QUMRANET
161 /** Vendor ID used by virtio devices */
162 #define PCI_VENDOR_ID_QUMRANET 0x1AF4
163 #endif
164
165 #ifndef PCI_VENDOR_ID_VMWARE
166 /** Vendor ID used by VMware devices */
167 #define PCI_VENDOR_ID_VMWARE 0x15AD
168 #endif
169
170 #ifndef PCI_VENDOR_ID_CISCO
171 /** Vendor ID used by Cisco VIC devices */
172 #define PCI_VENDOR_ID_CISCO 0x1137
173 #endif
174
175 #ifndef PCI_VENDOR_ID_BROADCOM
176 /** Vendor ID used by Broadcom devices */
177 #define PCI_VENDOR_ID_BROADCOM 0x14E4
178 #endif
179
180 /******************** Physical EM devices from e1000_hw.h ********************/
181
182 #define E1000_DEV_ID_82542                    0x1000
183 #define E1000_DEV_ID_82543GC_FIBER            0x1001
184 #define E1000_DEV_ID_82543GC_COPPER           0x1004
185 #define E1000_DEV_ID_82544EI_COPPER           0x1008
186 #define E1000_DEV_ID_82544EI_FIBER            0x1009
187 #define E1000_DEV_ID_82544GC_COPPER           0x100C
188 #define E1000_DEV_ID_82544GC_LOM              0x100D
189 #define E1000_DEV_ID_82540EM                  0x100E
190 #define E1000_DEV_ID_82540EM_LOM              0x1015
191 #define E1000_DEV_ID_82540EP_LOM              0x1016
192 #define E1000_DEV_ID_82540EP                  0x1017
193 #define E1000_DEV_ID_82540EP_LP               0x101E
194 #define E1000_DEV_ID_82545EM_COPPER           0x100F
195 #define E1000_DEV_ID_82545EM_FIBER            0x1011
196 #define E1000_DEV_ID_82545GM_COPPER           0x1026
197 #define E1000_DEV_ID_82545GM_FIBER            0x1027
198 #define E1000_DEV_ID_82545GM_SERDES           0x1028
199 #define E1000_DEV_ID_82546EB_COPPER           0x1010
200 #define E1000_DEV_ID_82546EB_FIBER            0x1012
201 #define E1000_DEV_ID_82546EB_QUAD_COPPER      0x101D
202 #define E1000_DEV_ID_82546GB_COPPER           0x1079
203 #define E1000_DEV_ID_82546GB_FIBER            0x107A
204 #define E1000_DEV_ID_82546GB_SERDES           0x107B
205 #define E1000_DEV_ID_82546GB_PCIE             0x108A
206 #define E1000_DEV_ID_82546GB_QUAD_COPPER      0x1099
207 #define E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3 0x10B5
208 #define E1000_DEV_ID_82541EI                  0x1013
209 #define E1000_DEV_ID_82541EI_MOBILE           0x1018
210 #define E1000_DEV_ID_82541ER_LOM              0x1014
211 #define E1000_DEV_ID_82541ER                  0x1078
212 #define E1000_DEV_ID_82541GI                  0x1076
213 #define E1000_DEV_ID_82541GI_LF               0x107C
214 #define E1000_DEV_ID_82541GI_MOBILE           0x1077
215 #define E1000_DEV_ID_82547EI                  0x1019
216 #define E1000_DEV_ID_82547EI_MOBILE           0x101A
217 #define E1000_DEV_ID_82547GI                  0x1075
218 #define E1000_DEV_ID_82571EB_COPPER           0x105E
219 #define E1000_DEV_ID_82571EB_FIBER            0x105F
220 #define E1000_DEV_ID_82571EB_SERDES           0x1060
221 #define E1000_DEV_ID_82571EB_SERDES_DUAL      0x10D9
222 #define E1000_DEV_ID_82571EB_SERDES_QUAD      0x10DA
223 #define E1000_DEV_ID_82571EB_QUAD_COPPER      0x10A4
224 #define E1000_DEV_ID_82571PT_QUAD_COPPER      0x10D5
225 #define E1000_DEV_ID_82571EB_QUAD_FIBER       0x10A5
226 #define E1000_DEV_ID_82571EB_QUAD_COPPER_LP   0x10BC
227 #define E1000_DEV_ID_82572EI_COPPER           0x107D
228 #define E1000_DEV_ID_82572EI_FIBER            0x107E
229 #define E1000_DEV_ID_82572EI_SERDES           0x107F
230 #define E1000_DEV_ID_82572EI                  0x10B9
231 #define E1000_DEV_ID_82573E                   0x108B
232 #define E1000_DEV_ID_82573E_IAMT              0x108C
233 #define E1000_DEV_ID_82573L                   0x109A
234 #define E1000_DEV_ID_82574L                   0x10D3
235 #define E1000_DEV_ID_82574LA                  0x10F6
236 #define E1000_DEV_ID_82583V                   0x150C
237 #define E1000_DEV_ID_80003ES2LAN_COPPER_DPT   0x1096
238 #define E1000_DEV_ID_80003ES2LAN_SERDES_DPT   0x1098
239 #define E1000_DEV_ID_80003ES2LAN_COPPER_SPT   0x10BA
240 #define E1000_DEV_ID_80003ES2LAN_SERDES_SPT   0x10BB
241 #define E1000_DEV_ID_ICH8_82567V_3            0x1501
242 #define E1000_DEV_ID_ICH8_IGP_M_AMT           0x1049
243 #define E1000_DEV_ID_ICH8_IGP_AMT             0x104A
244 #define E1000_DEV_ID_ICH8_IGP_C               0x104B
245 #define E1000_DEV_ID_ICH8_IFE                 0x104C
246 #define E1000_DEV_ID_ICH8_IFE_GT              0x10C4
247 #define E1000_DEV_ID_ICH8_IFE_G               0x10C5
248 #define E1000_DEV_ID_ICH8_IGP_M               0x104D
249 #define E1000_DEV_ID_ICH9_IGP_M               0x10BF
250 #define E1000_DEV_ID_ICH9_IGP_M_AMT           0x10F5
251 #define E1000_DEV_ID_ICH9_IGP_M_V             0x10CB
252 #define E1000_DEV_ID_ICH9_IGP_AMT             0x10BD
253 #define E1000_DEV_ID_ICH9_BM                  0x10E5
254 #define E1000_DEV_ID_ICH9_IGP_C               0x294C
255 #define E1000_DEV_ID_ICH9_IFE                 0x10C0
256 #define E1000_DEV_ID_ICH9_IFE_GT              0x10C3
257 #define E1000_DEV_ID_ICH9_IFE_G               0x10C2
258 #define E1000_DEV_ID_ICH10_R_BM_LM            0x10CC
259 #define E1000_DEV_ID_ICH10_R_BM_LF            0x10CD
260 #define E1000_DEV_ID_ICH10_R_BM_V             0x10CE
261 #define E1000_DEV_ID_ICH10_D_BM_LM            0x10DE
262 #define E1000_DEV_ID_ICH10_D_BM_LF            0x10DF
263 #define E1000_DEV_ID_ICH10_D_BM_V             0x1525
264
265 #define E1000_DEV_ID_PCH_M_HV_LM              0x10EA
266 #define E1000_DEV_ID_PCH_M_HV_LC              0x10EB
267 #define E1000_DEV_ID_PCH_D_HV_DM              0x10EF
268 #define E1000_DEV_ID_PCH_D_HV_DC              0x10F0
269 #define E1000_DEV_ID_PCH2_LV_LM               0x1502
270 #define E1000_DEV_ID_PCH2_LV_V                0x1503
271 #define E1000_DEV_ID_PCH_LPT_I217_LM          0x153A
272 #define E1000_DEV_ID_PCH_LPT_I217_V           0x153B
273 #define E1000_DEV_ID_PCH_LPTLP_I218_LM        0x155A
274 #define E1000_DEV_ID_PCH_LPTLP_I218_V         0x1559
275 #define E1000_DEV_ID_PCH_I218_LM2             0x15A0
276 #define E1000_DEV_ID_PCH_I218_V2              0x15A1
277 #define E1000_DEV_ID_PCH_I218_LM3             0x15A2
278 #define E1000_DEV_ID_PCH_I218_V3              0x15A3
279
280
281 /*
282  * Tested (supported) on VM emulated HW.
283  */
284
285 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82540EM)
286 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_COPPER)
287 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_FIBER)
288
289 /*
290  * Tested (supported) on real HW.
291  */
292
293 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_COPPER)
294 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_FIBER)
295 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_QUAD_COPPER)
296 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_COPPER)
297 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_FIBER)
298 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_SERDES)
299 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_SERDES_DUAL)
300 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_SERDES_QUAD)
301 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER)
302 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571PT_QUAD_COPPER)
303 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_QUAD_FIBER)
304 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER_LP)
305 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI_COPPER)
306 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI_FIBER)
307 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI_SERDES)
308 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82572EI)
309 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82573L)
310 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82574L)
311 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82574LA)
312 RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82583V)
313
314 /******************** Physical IGB devices from e1000_hw.h ********************/
315
316 #define E1000_DEV_ID_82576                      0x10C9
317 #define E1000_DEV_ID_82576_FIBER                0x10E6
318 #define E1000_DEV_ID_82576_SERDES               0x10E7
319 #define E1000_DEV_ID_82576_QUAD_COPPER          0x10E8
320 #define E1000_DEV_ID_82576_QUAD_COPPER_ET2      0x1526
321 #define E1000_DEV_ID_82576_NS                   0x150A
322 #define E1000_DEV_ID_82576_NS_SERDES            0x1518
323 #define E1000_DEV_ID_82576_SERDES_QUAD          0x150D
324 #define E1000_DEV_ID_82575EB_COPPER             0x10A7
325 #define E1000_DEV_ID_82575EB_FIBER_SERDES       0x10A9
326 #define E1000_DEV_ID_82575GB_QUAD_COPPER        0x10D6
327 #define E1000_DEV_ID_82580_COPPER               0x150E
328 #define E1000_DEV_ID_82580_FIBER                0x150F
329 #define E1000_DEV_ID_82580_SERDES               0x1510
330 #define E1000_DEV_ID_82580_SGMII                0x1511
331 #define E1000_DEV_ID_82580_COPPER_DUAL          0x1516
332 #define E1000_DEV_ID_82580_QUAD_FIBER           0x1527
333 #define E1000_DEV_ID_I350_COPPER                0x1521
334 #define E1000_DEV_ID_I350_FIBER                 0x1522
335 #define E1000_DEV_ID_I350_SERDES                0x1523
336 #define E1000_DEV_ID_I350_SGMII                 0x1524
337 #define E1000_DEV_ID_I350_DA4                   0x1546
338 #define E1000_DEV_ID_I210_COPPER                0x1533
339 #define E1000_DEV_ID_I210_COPPER_OEM1           0x1534
340 #define E1000_DEV_ID_I210_COPPER_IT             0x1535
341 #define E1000_DEV_ID_I210_FIBER                 0x1536
342 #define E1000_DEV_ID_I210_SERDES                0x1537
343 #define E1000_DEV_ID_I210_SGMII                 0x1538
344 #define E1000_DEV_ID_I210_COPPER_FLASHLESS      0x157B
345 #define E1000_DEV_ID_I210_SERDES_FLASHLESS      0x157C
346 #define E1000_DEV_ID_I211_COPPER                0x1539
347 #define E1000_DEV_ID_I354_BACKPLANE_1GBPS       0x1F40
348 #define E1000_DEV_ID_I354_SGMII                 0x1F41
349 #define E1000_DEV_ID_I354_BACKPLANE_2_5GBPS     0x1F45
350 #define E1000_DEV_ID_DH89XXCC_SGMII             0x0438
351 #define E1000_DEV_ID_DH89XXCC_SERDES            0x043A
352 #define E1000_DEV_ID_DH89XXCC_BACKPLANE         0x043C
353 #define E1000_DEV_ID_DH89XXCC_SFP               0x0440
354
355 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576)
356 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_FIBER)
357 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_SERDES)
358 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_QUAD_COPPER)
359 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_QUAD_COPPER_ET2)
360 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS)
361 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS_SERDES)
362 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_SERDES_QUAD)
363
364 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_COPPER)
365 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_FIBER_SERDES)
366 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575GB_QUAD_COPPER)
367
368 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_COPPER)
369 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_FIBER)
370 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_SERDES)
371 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_SGMII)
372 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_COPPER_DUAL)
373 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_QUAD_FIBER)
374
375 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_COPPER)
376 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_FIBER)
377 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_SERDES)
378 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_SGMII)
379 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_DA4)
380 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER)
381 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER_OEM1)
382 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER_IT)
383 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_FIBER)
384 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_SERDES)
385 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_SGMII)
386 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I211_COPPER)
387 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_BACKPLANE_1GBPS)
388 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_SGMII)
389 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_BACKPLANE_2_5GBPS)
390 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SGMII)
391 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SERDES)
392 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_BACKPLANE)
393 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SFP)
394
395 /****************** Physical IXGBE devices from ixgbe_type.h ******************/
396
397 #define IXGBE_DEV_ID_82598                      0x10B6
398 #define IXGBE_DEV_ID_82598_BX                   0x1508
399 #define IXGBE_DEV_ID_82598AF_DUAL_PORT          0x10C6
400 #define IXGBE_DEV_ID_82598AF_SINGLE_PORT        0x10C7
401 #define IXGBE_DEV_ID_82598AT                    0x10C8
402 #define IXGBE_DEV_ID_82598AT2                   0x150B
403 #define IXGBE_DEV_ID_82598EB_SFP_LOM            0x10DB
404 #define IXGBE_DEV_ID_82598EB_CX4                0x10DD
405 #define IXGBE_DEV_ID_82598_CX4_DUAL_PORT        0x10EC
406 #define IXGBE_DEV_ID_82598_DA_DUAL_PORT         0x10F1
407 #define IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM      0x10E1
408 #define IXGBE_DEV_ID_82598EB_XF_LR              0x10F4
409 #define IXGBE_DEV_ID_82599_KX4                  0x10F7
410 #define IXGBE_DEV_ID_82599_KX4_MEZZ             0x1514
411 #define IXGBE_DEV_ID_82599_KR                   0x1517
412 #define IXGBE_DEV_ID_82599_COMBO_BACKPLANE      0x10F8
413 #define IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ       0x000C
414 #define IXGBE_DEV_ID_82599_CX4                  0x10F9
415 #define IXGBE_DEV_ID_82599_SFP                  0x10FB
416 #define IXGBE_SUBDEV_ID_82599_SFP               0x11A9
417 #define IXGBE_SUBDEV_ID_82599_RNDC              0x1F72
418 #define IXGBE_SUBDEV_ID_82599_560FLR            0x17D0
419 #define IXGBE_SUBDEV_ID_82599_ECNA_DP           0x0470
420 #define IXGBE_DEV_ID_82599_BACKPLANE_FCOE       0x152A
421 #define IXGBE_DEV_ID_82599_SFP_FCOE             0x1529
422 #define IXGBE_DEV_ID_82599_SFP_EM               0x1507
423 #define IXGBE_DEV_ID_82599_SFP_SF2              0x154D
424 #define IXGBE_DEV_ID_82599_SFP_SF_QP            0x154A
425 #define IXGBE_DEV_ID_82599_QSFP_SF_QP           0x1558
426 #define IXGBE_DEV_ID_82599EN_SFP                0x1557
427 #define IXGBE_DEV_ID_82599_XAUI_LOM             0x10FC
428 #define IXGBE_DEV_ID_82599_T3_LOM               0x151C
429 #define IXGBE_DEV_ID_82599_LS                   0x154F
430 #define IXGBE_DEV_ID_X540T                      0x1528
431 #define IXGBE_DEV_ID_X540T1                     0x1560
432 #define IXGBE_DEV_ID_X550EM_X_SFP               0x15AC
433 #define IXGBE_DEV_ID_X550EM_X_10G_T             0x15AD
434 #define IXGBE_DEV_ID_X550EM_X_1G_T              0x15AE
435 #define IXGBE_DEV_ID_X550T                      0x1563
436 #define IXGBE_DEV_ID_X550T1                     0x15D1
437 #define IXGBE_DEV_ID_X550EM_X_KX4               0x15AA
438 #define IXGBE_DEV_ID_X550EM_X_KR                0x15AB
439
440 #ifdef RTE_NIC_BYPASS
441 #define IXGBE_DEV_ID_82599_BYPASS               0x155D
442 #endif
443
444 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598)
445 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_BX)
446 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT)
447 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
448         IXGBE_DEV_ID_82598AF_SINGLE_PORT)
449 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AT)
450 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AT2)
451 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_SFP_LOM)
452 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_CX4)
453 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT)
454 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_DA_DUAL_PORT)
455 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
456         IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM)
457 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_XF_LR)
458 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KX4)
459 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KX4_MEZZ)
460 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KR)
461 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
462         IXGBE_DEV_ID_82599_COMBO_BACKPLANE)
463 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
464         IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ)
465 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_CX4)
466 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP)
467 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_SFP)
468 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_RNDC)
469 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_560FLR)
470 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_ECNA_DP)
471 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_BACKPLANE_FCOE)
472 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_FCOE)
473 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_EM)
474 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_SF2)
475 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_SF_QP)
476 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_QSFP_SF_QP)
477 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599EN_SFP)
478 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_XAUI_LOM)
479 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_T3_LOM)
480 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_LS)
481 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540T)
482 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540T1)
483 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_SFP)
484 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_10G_T)
485 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_1G_T)
486 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550T)
487 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550T1)
488 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_KX4)
489 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_KR)
490
491 #ifdef RTE_NIC_BYPASS
492 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_BYPASS)
493 #endif
494
495 /*************** Physical I40E devices from i40e_type.h *****************/
496
497 #define I40E_DEV_ID_SFP_XL710           0x1572
498 #define I40E_DEV_ID_QEMU                0x1574
499 #define I40E_DEV_ID_KX_A                0x157F
500 #define I40E_DEV_ID_KX_B                0x1580
501 #define I40E_DEV_ID_KX_C                0x1581
502 #define I40E_DEV_ID_QSFP_A              0x1583
503 #define I40E_DEV_ID_QSFP_B              0x1584
504 #define I40E_DEV_ID_QSFP_C              0x1585
505 #define I40E_DEV_ID_10G_BASE_T          0x1586
506 #define I40E_DEV_ID_20G_KR2             0x1587
507 #define I40E_DEV_ID_20G_KR2_A           0x1588
508 #define I40E_DEV_ID_10G_BASE_T4         0x1589
509 #define I40E_DEV_ID_X722_A0             0x374C
510 #define I40E_DEV_ID_SFP_X722            0x37D0
511 #define I40E_DEV_ID_1G_BASE_T_X722      0x37D1
512 #define I40E_DEV_ID_10G_BASE_T_X722     0x37D2
513
514 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_SFP_XL710)
515 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_QEMU)
516 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_KX_A)
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_X722_A0)
527 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_SFP_X722)
528 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_1G_BASE_T_X722)
529 RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T_X722)
530
531 /*************** Physical FM10K devices from fm10k_type.h ***************/
532
533 #define FM10K_DEV_ID_PF                   0x15A4
534 #define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
535
536 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_PF)
537 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_QDA2)
538
539 /****************** Virtual IGB devices from e1000_hw.h ******************/
540
541 #define E1000_DEV_ID_82576_VF                   0x10CA
542 #define E1000_DEV_ID_82576_VF_HV                0x152D
543 #define E1000_DEV_ID_I350_VF                    0x1520
544 #define E1000_DEV_ID_I350_VF_HV                 0x152F
545
546 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_VF)
547 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_VF_HV)
548 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_VF)
549 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_VF_HV)
550
551 /****************** Virtual IXGBE devices from ixgbe_type.h ******************/
552
553 #define IXGBE_DEV_ID_82599_VF                   0x10ED
554 #define IXGBE_DEV_ID_82599_VF_HV                0x152E
555 #define IXGBE_DEV_ID_X540_VF                    0x1515
556 #define IXGBE_DEV_ID_X540_VF_HV                 0x1530
557 #define IXGBE_DEV_ID_X550_VF_HV                 0x1564
558 #define IXGBE_DEV_ID_X550_VF                    0x1565
559 #define IXGBE_DEV_ID_X550EM_X_VF                0x15A8
560 #define IXGBE_DEV_ID_X550EM_X_VF_HV             0x15A9
561
562 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_VF)
563 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_VF_HV)
564 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540_VF)
565 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540_VF_HV)
566 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550_VF_HV)
567 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550_VF)
568 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_VF)
569 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_VF_HV)
570
571 /****************** Virtual I40E devices from i40e_type.h ********************/
572
573 #define I40E_DEV_ID_VF                  0x154C
574 #define I40E_DEV_ID_VF_HV               0x1571
575 #define I40E_DEV_ID_X722_VF             0x37CD
576 #define I40E_DEV_ID_X722_VF_HV          0x37D9
577
578 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_VF)
579 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_VF_HV)
580 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_X722_VF)
581 RTE_PCI_DEV_ID_DECL_I40EVF(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_X722_VF_HV)
582
583 /****************** Virtio devices from virtio.h ******************/
584
585 #define QUMRANET_DEV_ID_VIRTIO                  0x1000
586
587 RTE_PCI_DEV_ID_DECL_VIRTIO(PCI_VENDOR_ID_QUMRANET, QUMRANET_DEV_ID_VIRTIO)
588
589 /****************** VMware VMXNET3 devices ******************/
590
591 #define VMWARE_DEV_ID_VMXNET3                   0x07B0
592
593 RTE_PCI_DEV_ID_DECL_VMXNET3(PCI_VENDOR_ID_VMWARE, VMWARE_DEV_ID_VMXNET3)
594
595 /*************** Virtual FM10K devices from fm10k_type.h ***************/
596
597 #define FM10K_DEV_ID_VF                   0x15A5
598
599 RTE_PCI_DEV_ID_DECL_FM10KVF(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_VF)
600
601 /****************** Cisco VIC devices ******************/
602
603 #define PCI_DEVICE_ID_CISCO_VIC_ENET         0x0043  /* ethernet vnic */
604 #define PCI_DEVICE_ID_CISCO_VIC_ENET_VF      0x0071  /* enet SRIOV VF */
605
606 RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET)
607 RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET_VF)
608
609 /****************** QLogic devices ******************/
610
611 /* Broadcom/QLogic BNX2X */
612 #define BNX2X_DEV_ID_57710      0x164e
613 #define BNX2X_DEV_ID_57711      0x164f
614 #define BNX2X_DEV_ID_57711E     0x1650
615 #define BNX2X_DEV_ID_57712      0x1662
616 #define BNX2X_DEV_ID_57712_MF   0x1663
617 #define BNX2X_DEV_ID_57712_VF   0x166f
618 #define BNX2X_DEV_ID_57713      0x1651
619 #define BNX2X_DEV_ID_57713E     0x1652
620 #define BNX2X_DEV_ID_57800      0x168a
621 #define BNX2X_DEV_ID_57800_MF   0x16a5
622 #define BNX2X_DEV_ID_57800_VF   0x16a9
623 #define BNX2X_DEV_ID_57810      0x168e
624 #define BNX2X_DEV_ID_57810_MF   0x16ae
625 #define BNX2X_DEV_ID_57810_VF   0x16af
626 #define BNX2X_DEV_ID_57811      0x163d
627 #define BNX2X_DEV_ID_57811_MF   0x163e
628 #define BNX2X_DEV_ID_57811_VF   0x163f
629
630 #define BNX2X_DEV_ID_57840_OBS          0x168d
631 #define BNX2X_DEV_ID_57840_OBS_MF       0x16ab
632 #define BNX2X_DEV_ID_57840_4_10         0x16a1
633 #define BNX2X_DEV_ID_57840_2_20         0x16a2
634 #define BNX2X_DEV_ID_57840_MF           0x16a4
635 #define BNX2X_DEV_ID_57840_VF           0x16ad
636
637 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57800)
638 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57800_VF)
639 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57711)
640 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810)
641 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810_VF)
642 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811)
643 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811_VF)
644 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_OBS)
645 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_4_10)
646 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_2_20)
647 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_VF)
648 #ifdef RTE_LIBRTE_BNX2X_MF_SUPPORT
649 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810_MF)
650 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811_MF)
651 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_MF)
652 #endif
653
654 /*
655  * Undef all RTE_PCI_DEV_ID_DECL_* here.
656  */
657 #undef RTE_PCI_DEV_ID_DECL_BNX2X
658 #undef RTE_PCI_DEV_ID_DECL_BNX2XVF
659 #undef RTE_PCI_DEV_ID_DECL_EM
660 #undef RTE_PCI_DEV_ID_DECL_IGB
661 #undef RTE_PCI_DEV_ID_DECL_IGBVF
662 #undef RTE_PCI_DEV_ID_DECL_IXGBE
663 #undef RTE_PCI_DEV_ID_DECL_IXGBEVF
664 #undef RTE_PCI_DEV_ID_DECL_I40E
665 #undef RTE_PCI_DEV_ID_DECL_I40EVF
666 #undef RTE_PCI_DEV_ID_DECL_VIRTIO
667 #undef RTE_PCI_DEV_ID_DECL_VMXNET3
668 #undef RTE_PCI_DEV_ID_DECL_FM10K
669 #undef RTE_PCI_DEV_ID_DECL_FM10KVF