mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
IB/hfi1: Use defines from common headers
Move FECN and BECN related defines to common header files Reviewed-by: Dennis Dalessandro <[email protected]> Signed-off-by: Don Hiatt <[email protected]> Signed-off-by: Dasaratharaman Chandramouli <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
cb42705792
commit
3d591099a0
8 changed files with 19 additions and 19 deletions
|
|
@ -74,6 +74,12 @@
|
|||
#define IB_GRH_FLOW_MASK 0xFFFFF
|
||||
#define IB_GRH_FLOW_SHIFT 0
|
||||
#define IB_GRH_NEXT_HDR 0x1B
|
||||
#define IB_FECN_SHIFT 31
|
||||
#define IB_FECN_MASK 1
|
||||
#define IB_FECN_SMASK BIT(IB_FECN_SHIFT)
|
||||
#define IB_BECN_SHIFT 30
|
||||
#define IB_BECN_MASK 1
|
||||
#define IB_BECN_SMASK BIT(IB_BECN_SHIFT)
|
||||
|
||||
#define IB_AETH_CREDIT_SHIFT 24
|
||||
#define IB_AETH_CREDIT_MASK 0x1F
|
||||
|
|
|
|||
Loading…
Reference in a new issue