i40e_devids.h (1a36faad54665288ed4eb839d2a4699ae2ead45e) i40e_devids.h (ceebc2f348c028b21bf9bcc99f7a3c4b0cb7d926)
1/******************************************************************************
2
1/******************************************************************************
2
3 Copyright (c) 2013-2015, Intel Corporation
3 Copyright (c) 2013-2017, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

--- 37 unchanged lines hidden (view full) ---

49#define I40E_DEV_ID_10G_BASE_T 0x1586
50#define I40E_DEV_ID_20G_KR2 0x1587
51#define I40E_DEV_ID_20G_KR2_A 0x1588
52#define I40E_DEV_ID_10G_BASE_T4 0x1589
53#define I40E_DEV_ID_25G_B 0x158A
54#define I40E_DEV_ID_25G_SFP28 0x158B
55#define I40E_DEV_ID_VF 0x154C
56#define I40E_DEV_ID_VF_HV 0x1571
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

--- 37 unchanged lines hidden (view full) ---

49#define I40E_DEV_ID_10G_BASE_T 0x1586
50#define I40E_DEV_ID_20G_KR2 0x1587
51#define I40E_DEV_ID_20G_KR2_A 0x1588
52#define I40E_DEV_ID_10G_BASE_T4 0x1589
53#define I40E_DEV_ID_25G_B 0x158A
54#define I40E_DEV_ID_25G_SFP28 0x158B
55#define I40E_DEV_ID_VF 0x154C
56#define I40E_DEV_ID_VF_HV 0x1571
57#define I40E_DEV_ID_X722_A0 0x374C
58#define I40E_DEV_ID_X722_A0_VF 0x374D
57#define I40E_DEV_ID_ADAPTIVE_VF 0x1889
59#define I40E_DEV_ID_KX_X722 0x37CE
60#define I40E_DEV_ID_QSFP_X722 0x37CF
61#define I40E_DEV_ID_SFP_X722 0x37D0
62#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
63#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
64#define I40E_DEV_ID_SFP_I_X722 0x37D3
65#define I40E_DEV_ID_X722_VF 0x37CD
66
67#define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \
68 (d) == I40E_DEV_ID_QSFP_B || \
69 (d) == I40E_DEV_ID_QSFP_C)
70
58#define I40E_DEV_ID_KX_X722 0x37CE
59#define I40E_DEV_ID_QSFP_X722 0x37CF
60#define I40E_DEV_ID_SFP_X722 0x37D0
61#define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
62#define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
63#define I40E_DEV_ID_SFP_I_X722 0x37D3
64#define I40E_DEV_ID_X722_VF 0x37CD
65
66#define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \
67 (d) == I40E_DEV_ID_QSFP_B || \
68 (d) == I40E_DEV_ID_QSFP_C)
69
70#define i40e_is_25G_device(d) ((d) == I40E_DEV_ID_25G_B || \
71 (d) == I40E_DEV_ID_25G_SFP28)
72
71#endif /* _I40E_DEVIDS_H_ */
73#endif /* _I40E_DEVIDS_H_ */