42 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/* Copyright(c) 2013 - 2018 Intel Corporation. */3 4#ifndef _I40E_DEVIDS_H_5#define _I40E_DEVIDS_H_6 7/* Device IDs */8#define I40E_DEV_ID_X710_N3000 0x0CF89#define I40E_DEV_ID_XXV710_N3000 0x0D5810#define I40E_DEV_ID_SFP_XL710 0x157211#define I40E_DEV_ID_QEMU 0x157412#define I40E_DEV_ID_KX_B 0x158013#define I40E_DEV_ID_KX_C 0x158114#define I40E_DEV_ID_QSFP_A 0x158315#define I40E_DEV_ID_QSFP_B 0x158416#define I40E_DEV_ID_QSFP_C 0x158517#define I40E_DEV_ID_10G_BASE_T 0x158618#define I40E_DEV_ID_20G_KR2 0x158719#define I40E_DEV_ID_20G_KR2_A 0x158820#define I40E_DEV_ID_10G_BASE_T4 0x158921#define I40E_DEV_ID_25G_B 0x158A22#define I40E_DEV_ID_25G_SFP28 0x158B23#define I40E_DEV_ID_10G_BASE_T_BC 0x15FF24#define I40E_DEV_ID_10G_B 0x104F25#define I40E_DEV_ID_10G_SFP 0x104E26#define I40E_DEV_ID_5G_BASE_T_BC 0x101F27#define I40E_DEV_ID_1G_BASE_T_BC 0x0DD228#define I40E_IS_X710TL_DEVICE(d) \29 (((d) == I40E_DEV_ID_1G_BASE_T_BC) || \30 ((d) == I40E_DEV_ID_5G_BASE_T_BC) || \31 ((d) == I40E_DEV_ID_10G_BASE_T_BC))32#define I40E_DEV_ID_KX_X722 0x37CE33#define I40E_DEV_ID_QSFP_X722 0x37CF34#define I40E_DEV_ID_SFP_X722 0x37D035#define I40E_DEV_ID_1G_BASE_T_X722 0x37D136#define I40E_DEV_ID_10G_BASE_T_X722 0x37D237#define I40E_DEV_ID_SFP_I_X722 0x37D338#define I40E_DEV_ID_SFP_X722_A 0x0DDA39 40 41#endif /* _I40E_DEVIDS_H_ */42