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.
7 * Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
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.
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.
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.
24 * Contact Information:
29 * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
30 * All rights reserved.
32 * Redistribution and use in source and binary forms, with or without
33 * modification, are permitted provided that the following conditions
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
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.
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.
60 #ifndef RTE_PCI_DEV_ID_DECL_IGB
61 #define RTE_PCI_DEV_ID_DECL_IGB(vend, dev)
64 #ifndef RTE_PCI_DEV_ID_DECL_IGBVF
65 #define RTE_PCI_DEV_ID_DECL_IGBVF(vend, dev)
68 #ifndef RTE_PCI_DEV_ID_DECL_IXGBE
69 #define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev)
72 #ifndef RTE_PCI_DEV_ID_DECL_IXGBEVF
73 #define RTE_PCI_DEV_ID_DECL_IXGBEVF(vend, dev)
76 #ifndef RTE_PCI_DEV_ID_DECL_ENIC
77 #define RTE_PCI_DEV_ID_DECL_ENIC(vend, dev)
80 #ifndef RTE_PCI_DEV_ID_DECL_BNX2X
81 #define RTE_PCI_DEV_ID_DECL_BNX2X(vend, dev)
84 #ifndef RTE_PCI_DEV_ID_DECL_BNX2XVF
85 #define RTE_PCI_DEV_ID_DECL_BNX2XVF(vend, dev)
88 #ifndef RTE_PCI_DEV_ID_DECL_BNXT
89 #define RTE_PCI_DEV_ID_DECL_BNXT(vend, dev)
92 #ifndef PCI_VENDOR_ID_INTEL
93 /** Vendor ID used by Intel devices */
94 #define PCI_VENDOR_ID_INTEL 0x8086
97 #ifndef PCI_VENDOR_ID_CISCO
98 /** Vendor ID used by Cisco VIC devices */
99 #define PCI_VENDOR_ID_CISCO 0x1137
102 #ifndef PCI_VENDOR_ID_BROADCOM
103 /** Vendor ID used by Broadcom devices */
104 #define PCI_VENDOR_ID_BROADCOM 0x14E4
107 /******************** Physical IGB devices from e1000_hw.h ********************/
109 #define E1000_DEV_ID_82576 0x10C9
110 #define E1000_DEV_ID_82576_FIBER 0x10E6
111 #define E1000_DEV_ID_82576_SERDES 0x10E7
112 #define E1000_DEV_ID_82576_QUAD_COPPER 0x10E8
113 #define E1000_DEV_ID_82576_QUAD_COPPER_ET2 0x1526
114 #define E1000_DEV_ID_82576_NS 0x150A
115 #define E1000_DEV_ID_82576_NS_SERDES 0x1518
116 #define E1000_DEV_ID_82576_SERDES_QUAD 0x150D
117 #define E1000_DEV_ID_82575EB_COPPER 0x10A7
118 #define E1000_DEV_ID_82575EB_FIBER_SERDES 0x10A9
119 #define E1000_DEV_ID_82575GB_QUAD_COPPER 0x10D6
120 #define E1000_DEV_ID_82580_COPPER 0x150E
121 #define E1000_DEV_ID_82580_FIBER 0x150F
122 #define E1000_DEV_ID_82580_SERDES 0x1510
123 #define E1000_DEV_ID_82580_SGMII 0x1511
124 #define E1000_DEV_ID_82580_COPPER_DUAL 0x1516
125 #define E1000_DEV_ID_82580_QUAD_FIBER 0x1527
126 #define E1000_DEV_ID_I350_COPPER 0x1521
127 #define E1000_DEV_ID_I350_FIBER 0x1522
128 #define E1000_DEV_ID_I350_SERDES 0x1523
129 #define E1000_DEV_ID_I350_SGMII 0x1524
130 #define E1000_DEV_ID_I350_DA4 0x1546
131 #define E1000_DEV_ID_I210_COPPER 0x1533
132 #define E1000_DEV_ID_I210_COPPER_OEM1 0x1534
133 #define E1000_DEV_ID_I210_COPPER_IT 0x1535
134 #define E1000_DEV_ID_I210_FIBER 0x1536
135 #define E1000_DEV_ID_I210_SERDES 0x1537
136 #define E1000_DEV_ID_I210_SGMII 0x1538
137 #define E1000_DEV_ID_I210_COPPER_FLASHLESS 0x157B
138 #define E1000_DEV_ID_I210_SERDES_FLASHLESS 0x157C
139 #define E1000_DEV_ID_I211_COPPER 0x1539
140 #define E1000_DEV_ID_I354_BACKPLANE_1GBPS 0x1F40
141 #define E1000_DEV_ID_I354_SGMII 0x1F41
142 #define E1000_DEV_ID_I354_BACKPLANE_2_5GBPS 0x1F45
143 #define E1000_DEV_ID_DH89XXCC_SGMII 0x0438
144 #define E1000_DEV_ID_DH89XXCC_SERDES 0x043A
145 #define E1000_DEV_ID_DH89XXCC_BACKPLANE 0x043C
146 #define E1000_DEV_ID_DH89XXCC_SFP 0x0440
148 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576)
149 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_FIBER)
150 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_SERDES)
151 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_QUAD_COPPER)
152 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_QUAD_COPPER_ET2)
153 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS)
154 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_NS_SERDES)
155 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_SERDES_QUAD)
157 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_COPPER)
158 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_FIBER_SERDES)
159 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575GB_QUAD_COPPER)
161 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_COPPER)
162 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_FIBER)
163 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_SERDES)
164 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_SGMII)
165 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_COPPER_DUAL)
166 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82580_QUAD_FIBER)
168 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_COPPER)
169 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_FIBER)
170 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_SERDES)
171 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_SGMII)
172 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_DA4)
173 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER)
174 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER_OEM1)
175 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_COPPER_IT)
176 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_FIBER)
177 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_SERDES)
178 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I210_SGMII)
179 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I211_COPPER)
180 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_BACKPLANE_1GBPS)
181 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_SGMII)
182 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I354_BACKPLANE_2_5GBPS)
183 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SGMII)
184 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SERDES)
185 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_BACKPLANE)
186 RTE_PCI_DEV_ID_DECL_IGB(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_DH89XXCC_SFP)
188 /****************** Physical IXGBE devices from ixgbe_type.h ******************/
190 #define IXGBE_DEV_ID_82598 0x10B6
191 #define IXGBE_DEV_ID_82598_BX 0x1508
192 #define IXGBE_DEV_ID_82598AF_DUAL_PORT 0x10C6
193 #define IXGBE_DEV_ID_82598AF_SINGLE_PORT 0x10C7
194 #define IXGBE_DEV_ID_82598AT 0x10C8
195 #define IXGBE_DEV_ID_82598AT2 0x150B
196 #define IXGBE_DEV_ID_82598EB_SFP_LOM 0x10DB
197 #define IXGBE_DEV_ID_82598EB_CX4 0x10DD
198 #define IXGBE_DEV_ID_82598_CX4_DUAL_PORT 0x10EC
199 #define IXGBE_DEV_ID_82598_DA_DUAL_PORT 0x10F1
200 #define IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM 0x10E1
201 #define IXGBE_DEV_ID_82598EB_XF_LR 0x10F4
202 #define IXGBE_DEV_ID_82599_KX4 0x10F7
203 #define IXGBE_DEV_ID_82599_KX4_MEZZ 0x1514
204 #define IXGBE_DEV_ID_82599_KR 0x1517
205 #define IXGBE_DEV_ID_82599_COMBO_BACKPLANE 0x10F8
206 #define IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ 0x000C
207 #define IXGBE_DEV_ID_82599_CX4 0x10F9
208 #define IXGBE_DEV_ID_82599_SFP 0x10FB
209 #define IXGBE_SUBDEV_ID_82599_SFP 0x11A9
210 #define IXGBE_SUBDEV_ID_82599_RNDC 0x1F72
211 #define IXGBE_SUBDEV_ID_82599_560FLR 0x17D0
212 #define IXGBE_SUBDEV_ID_82599_ECNA_DP 0x0470
213 #define IXGBE_DEV_ID_82599_BACKPLANE_FCOE 0x152A
214 #define IXGBE_DEV_ID_82599_SFP_FCOE 0x1529
215 #define IXGBE_DEV_ID_82599_SFP_EM 0x1507
216 #define IXGBE_DEV_ID_82599_SFP_SF2 0x154D
217 #define IXGBE_DEV_ID_82599_SFP_SF_QP 0x154A
218 #define IXGBE_DEV_ID_82599_QSFP_SF_QP 0x1558
219 #define IXGBE_DEV_ID_82599EN_SFP 0x1557
220 #define IXGBE_DEV_ID_82599_XAUI_LOM 0x10FC
221 #define IXGBE_DEV_ID_82599_T3_LOM 0x151C
222 #define IXGBE_DEV_ID_82599_LS 0x154F
223 #define IXGBE_DEV_ID_X540T 0x1528
224 #define IXGBE_DEV_ID_X540T1 0x1560
225 #define IXGBE_DEV_ID_X550EM_X_SFP 0x15AC
226 #define IXGBE_DEV_ID_X550EM_X_10G_T 0x15AD
227 #define IXGBE_DEV_ID_X550EM_X_1G_T 0x15AE
228 #define IXGBE_DEV_ID_X550T 0x1563
229 #define IXGBE_DEV_ID_X550T1 0x15D1
230 #define IXGBE_DEV_ID_X550EM_A_KR 0x15C2
231 #define IXGBE_DEV_ID_X550EM_A_KR_L 0x15C3
232 #define IXGBE_DEV_ID_X550EM_A_SFP_N 0x15C4
233 #define IXGBE_DEV_ID_X550EM_A_SGMII 0x15C6
234 #define IXGBE_DEV_ID_X550EM_A_SGMII_L 0x15C7
235 #define IXGBE_DEV_ID_X550EM_A_10G_T 0x15C8
236 #define IXGBE_DEV_ID_X550EM_A_QSFP 0x15CA
237 #define IXGBE_DEV_ID_X550EM_A_QSFP_N 0x15CC
238 #define IXGBE_DEV_ID_X550EM_A_SFP 0x15CE
239 #define IXGBE_DEV_ID_X550EM_A_1G_T 0x15E4
240 #define IXGBE_DEV_ID_X550EM_A_1G_T_L 0x15E5
241 #define IXGBE_DEV_ID_X550EM_X_KX4 0x15AA
242 #define IXGBE_DEV_ID_X550EM_X_KR 0x15AB
244 #ifdef RTE_NIC_BYPASS
245 #define IXGBE_DEV_ID_82599_BYPASS 0x155D
248 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598)
249 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_BX)
250 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT)
251 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
252 IXGBE_DEV_ID_82598AF_SINGLE_PORT)
253 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AT)
254 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598AT2)
255 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_SFP_LOM)
256 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_CX4)
257 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT)
258 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598_DA_DUAL_PORT)
259 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
260 IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM)
261 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82598EB_XF_LR)
262 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KX4)
263 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KX4_MEZZ)
264 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_KR)
265 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
266 IXGBE_DEV_ID_82599_COMBO_BACKPLANE)
267 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, \
268 IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ)
269 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_CX4)
270 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP)
271 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_SFP)
272 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_RNDC)
273 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_560FLR)
274 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_SUBDEV_ID_82599_ECNA_DP)
275 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_BACKPLANE_FCOE)
276 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_FCOE)
277 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_EM)
278 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_SF2)
279 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_SFP_SF_QP)
280 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_QSFP_SF_QP)
281 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599EN_SFP)
282 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_XAUI_LOM)
283 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_T3_LOM)
284 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_LS)
285 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540T)
286 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540T1)
287 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_SFP)
288 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_10G_T)
289 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_1G_T)
290 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550T)
291 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550T1)
292 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_KR)
293 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_KR_L)
294 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SFP_N)
295 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SGMII)
296 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SGMII_L)
297 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_10G_T)
298 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_QSFP)
299 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_QSFP_N)
300 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_SFP)
301 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_1G_T)
302 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_1G_T_L)
303 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_KX4)
304 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_KR)
306 #ifdef RTE_NIC_BYPASS
307 RTE_PCI_DEV_ID_DECL_IXGBE(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_BYPASS)
310 /****************** Virtual IGB devices from e1000_hw.h ******************/
312 #define E1000_DEV_ID_82576_VF 0x10CA
313 #define E1000_DEV_ID_82576_VF_HV 0x152D
314 #define E1000_DEV_ID_I350_VF 0x1520
315 #define E1000_DEV_ID_I350_VF_HV 0x152F
317 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_VF)
318 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82576_VF_HV)
319 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_VF)
320 RTE_PCI_DEV_ID_DECL_IGBVF(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_I350_VF_HV)
322 /****************** Virtual IXGBE devices from ixgbe_type.h ******************/
324 #define IXGBE_DEV_ID_82599_VF 0x10ED
325 #define IXGBE_DEV_ID_82599_VF_HV 0x152E
326 #define IXGBE_DEV_ID_X540_VF 0x1515
327 #define IXGBE_DEV_ID_X540_VF_HV 0x1530
328 #define IXGBE_DEV_ID_X550_VF_HV 0x1564
329 #define IXGBE_DEV_ID_X550_VF 0x1565
330 #define IXGBE_DEV_ID_X550EM_A_VF 0x15C5
331 #define IXGBE_DEV_ID_X550EM_A_VF_HV 0x15B4
332 #define IXGBE_DEV_ID_X550EM_X_VF 0x15A8
333 #define IXGBE_DEV_ID_X550EM_X_VF_HV 0x15A9
335 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_VF)
336 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_82599_VF_HV)
337 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540_VF)
338 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X540_VF_HV)
339 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550_VF_HV)
340 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550_VF)
341 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_VF)
342 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_A_VF_HV)
343 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_VF)
344 RTE_PCI_DEV_ID_DECL_IXGBEVF(PCI_VENDOR_ID_INTEL, IXGBE_DEV_ID_X550EM_X_VF_HV)
346 /****************** Cisco VIC devices ******************/
348 #define PCI_DEVICE_ID_CISCO_VIC_ENET 0x0043 /* ethernet vnic */
349 #define PCI_DEVICE_ID_CISCO_VIC_ENET_VF 0x0071 /* enet SRIOV VF */
351 RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET)
352 RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET_VF)
354 /****************** QLogic devices ******************/
356 /* Broadcom/QLogic BNX2X */
357 #define BNX2X_DEV_ID_57710 0x164e
358 #define BNX2X_DEV_ID_57711 0x164f
359 #define BNX2X_DEV_ID_57711E 0x1650
360 #define BNX2X_DEV_ID_57712 0x1662
361 #define BNX2X_DEV_ID_57712_MF 0x1663
362 #define BNX2X_DEV_ID_57712_VF 0x166f
363 #define BNX2X_DEV_ID_57713 0x1651
364 #define BNX2X_DEV_ID_57713E 0x1652
365 #define BNX2X_DEV_ID_57800 0x168a
366 #define BNX2X_DEV_ID_57800_MF 0x16a5
367 #define BNX2X_DEV_ID_57800_VF 0x16a9
368 #define BNX2X_DEV_ID_57810 0x168e
369 #define BNX2X_DEV_ID_57810_MF 0x16ae
370 #define BNX2X_DEV_ID_57810_VF 0x16af
371 #define BNX2X_DEV_ID_57811 0x163d
372 #define BNX2X_DEV_ID_57811_MF 0x163e
373 #define BNX2X_DEV_ID_57811_VF 0x163f
375 #define BNX2X_DEV_ID_57840_OBS 0x168d
376 #define BNX2X_DEV_ID_57840_OBS_MF 0x16ab
377 #define BNX2X_DEV_ID_57840_4_10 0x16a1
378 #define BNX2X_DEV_ID_57840_2_20 0x16a2
379 #define BNX2X_DEV_ID_57840_MF 0x16a4
380 #define BNX2X_DEV_ID_57840_VF 0x16ad
382 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57800)
383 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57800_VF)
384 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57711)
385 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810)
386 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810_VF)
387 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811)
388 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811_VF)
389 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_OBS)
390 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_4_10)
391 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_2_20)
392 RTE_PCI_DEV_ID_DECL_BNX2XVF(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_VF)
393 #ifdef RTE_LIBRTE_BNX2X_MF_SUPPORT
394 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57810_MF)
395 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57811_MF)
396 RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_MF)
399 /****************** Broadcom bnxt devices ******************/
401 #define BROADCOM_DEV_ID_57301 0x16c8
402 #define BROADCOM_DEV_ID_57302 0x16c9
403 #define BROADCOM_DEV_ID_57304_PF 0x16ca
404 #define BROADCOM_DEV_ID_57304_VF 0x16cb
405 #define BROADCOM_DEV_ID_57402 0x16d0
406 #define BROADCOM_DEV_ID_57404 0x16d1
407 #define BROADCOM_DEV_ID_57406_PF 0x16d2
408 #define BROADCOM_DEV_ID_57406_VF 0x16d3
409 #define BROADCOM_DEV_ID_57406_MF 0x16d4
410 #define BROADCOM_DEV_ID_57314 0x16df
412 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57301)
413 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57302)
414 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_PF)
415 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_VF)
416 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57402)
417 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57404)
418 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_PF)
419 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_VF)
420 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_MF)
421 RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57314)
424 * Undef all RTE_PCI_DEV_ID_DECL_* here.
426 #undef RTE_PCI_DEV_ID_DECL_BNX2X
427 #undef RTE_PCI_DEV_ID_DECL_BNX2XVF
428 #undef RTE_PCI_DEV_ID_DECL_IGB
429 #undef RTE_PCI_DEV_ID_DECL_IGBVF
430 #undef RTE_PCI_DEV_ID_DECL_IXGBE
431 #undef RTE_PCI_DEV_ID_DECL_IXGBEVF
432 #undef RTE_PCI_DEV_ID_DECL_BNXT