New upstream version 18.08
[deb_dpdk.git] / drivers / net / cxgbe / base / t4_tcb.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Chelsio Communications.
3  * All rights reserved.
4  */
5
6 #ifndef _T4_TCB_DEFS_H
7 #define _T4_TCB_DEFS_H
8
9 /* 105:96 */
10 #define W_TCB_RSS_INFO    3
11 #define S_TCB_RSS_INFO    0
12 #define M_TCB_RSS_INFO    0x3ffULL
13 #define V_TCB_RSS_INFO(x) ((x) << S_TCB_RSS_INFO)
14
15 /* 191:160 */
16 #define W_TCB_TIMESTAMP    5
17 #define S_TCB_TIMESTAMP    0
18 #define M_TCB_TIMESTAMP    0xffffffffULL
19 #define V_TCB_TIMESTAMP(x) ((x) << S_TCB_TIMESTAMP)
20
21 /* 223:192 */
22 #define S_TCB_T_RTT_TS_RECENT_AGE    0
23 #define M_TCB_T_RTT_TS_RECENT_AGE    0xffffffffULL
24 #define V_TCB_T_RTT_TS_RECENT_AGE(x) ((x) << S_TCB_T_RTT_TS_RECENT_AGE)
25
26 #endif /* _T4_TCB_DEFS_H */