1be771cdaSJack F Vogel /****************************************************************************** 2be771cdaSJack F Vogel 3f4cc2d17SEric Joyner Copyright (c) 2013-2018, Intel Corporation 4be771cdaSJack F Vogel All rights reserved. 5be771cdaSJack F Vogel 6be771cdaSJack F Vogel Redistribution and use in source and binary forms, with or without 7be771cdaSJack F Vogel modification, are permitted provided that the following conditions are met: 8be771cdaSJack F Vogel 9be771cdaSJack F Vogel 1. Redistributions of source code must retain the above copyright notice, 10be771cdaSJack F Vogel this list of conditions and the following disclaimer. 11be771cdaSJack F Vogel 12be771cdaSJack F Vogel 2. Redistributions in binary form must reproduce the above copyright 13be771cdaSJack F Vogel notice, this list of conditions and the following disclaimer in the 14be771cdaSJack F Vogel documentation and/or other materials provided with the distribution. 15be771cdaSJack F Vogel 16be771cdaSJack F Vogel 3. Neither the name of the Intel Corporation nor the names of its 17be771cdaSJack F Vogel contributors may be used to endorse or promote products derived from 18be771cdaSJack F Vogel this software without specific prior written permission. 19be771cdaSJack F Vogel 20be771cdaSJack F Vogel THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21be771cdaSJack F Vogel AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22be771cdaSJack F Vogel IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23be771cdaSJack F Vogel ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 24be771cdaSJack F Vogel LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25be771cdaSJack F Vogel CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26be771cdaSJack F Vogel SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27be771cdaSJack F Vogel INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28be771cdaSJack F Vogel CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29be771cdaSJack F Vogel ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30be771cdaSJack F Vogel POSSIBILITY OF SUCH DAMAGE. 31be771cdaSJack F Vogel 32be771cdaSJack F Vogel ******************************************************************************/ 33be771cdaSJack F Vogel /*$FreeBSD$*/ 34be771cdaSJack F Vogel 35be771cdaSJack F Vogel #ifndef _I40E_DEVIDS_H_ 36be771cdaSJack F Vogel #define _I40E_DEVIDS_H_ 37be771cdaSJack F Vogel 38be771cdaSJack F Vogel /* Vendor ID */ 39be771cdaSJack F Vogel #define I40E_INTEL_VENDOR_ID 0x8086 40be771cdaSJack F Vogel 41be771cdaSJack F Vogel /* Device IDs */ 42*b4a7ce06SEric Joyner #define I40E_DEV_ID_X710_N3000 0x0CF8 43*b4a7ce06SEric Joyner #define I40E_DEV_ID_XXV710_N3000 0x0D58 44be771cdaSJack F Vogel #define I40E_DEV_ID_SFP_XL710 0x1572 45be771cdaSJack F Vogel #define I40E_DEV_ID_QEMU 0x1574 46be771cdaSJack F Vogel #define I40E_DEV_ID_KX_B 0x1580 47be771cdaSJack F Vogel #define I40E_DEV_ID_KX_C 0x1581 48be771cdaSJack F Vogel #define I40E_DEV_ID_QSFP_A 0x1583 49be771cdaSJack F Vogel #define I40E_DEV_ID_QSFP_B 0x1584 50be771cdaSJack F Vogel #define I40E_DEV_ID_QSFP_C 0x1585 51be771cdaSJack F Vogel #define I40E_DEV_ID_10G_BASE_T 0x1586 52be771cdaSJack F Vogel #define I40E_DEV_ID_20G_KR2 0x1587 53be771cdaSJack F Vogel #define I40E_DEV_ID_20G_KR2_A 0x1588 54be771cdaSJack F Vogel #define I40E_DEV_ID_10G_BASE_T4 0x1589 554294f337SSean Bruno #define I40E_DEV_ID_25G_B 0x158A 564294f337SSean Bruno #define I40E_DEV_ID_25G_SFP28 0x158B 57be771cdaSJack F Vogel #define I40E_DEV_ID_VF 0x154C 58be771cdaSJack F Vogel #define I40E_DEV_ID_VF_HV 0x1571 59ceebc2f3SEric Joyner #define I40E_DEV_ID_ADAPTIVE_VF 0x1889 604294f337SSean Bruno #define I40E_DEV_ID_KX_X722 0x37CE 614294f337SSean Bruno #define I40E_DEV_ID_QSFP_X722 0x37CF 624294f337SSean Bruno #define I40E_DEV_ID_SFP_X722 0x37D0 634294f337SSean Bruno #define I40E_DEV_ID_1G_BASE_T_X722 0x37D1 644294f337SSean Bruno #define I40E_DEV_ID_10G_BASE_T_X722 0x37D2 654294f337SSean Bruno #define I40E_DEV_ID_SFP_I_X722 0x37D3 664294f337SSean Bruno #define I40E_DEV_ID_X722_VF 0x37CD 67be771cdaSJack F Vogel 68be771cdaSJack F Vogel #define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \ 69be771cdaSJack F Vogel (d) == I40E_DEV_ID_QSFP_B || \ 70be771cdaSJack F Vogel (d) == I40E_DEV_ID_QSFP_C) 71be771cdaSJack F Vogel 72ceebc2f3SEric Joyner #define i40e_is_25G_device(d) ((d) == I40E_DEV_ID_25G_B || \ 73ceebc2f3SEric Joyner (d) == I40E_DEV_ID_25G_SFP28) 74ceebc2f3SEric Joyner 75be771cdaSJack F Vogel #endif /* _I40E_DEVIDS_H_ */ 76