diff options
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_verbs.h')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_verbs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.h b/drivers/infiniband/hw/nes/nes_verbs.h index 7df34fea2888..d92b1ef4653b 100644 --- a/drivers/infiniband/hw/nes/nes_verbs.h +++ b/drivers/infiniband/hw/nes/nes_verbs.h | |||
@@ -40,6 +40,10 @@ struct nes_device; | |||
40 | #define NES_MAX_USER_DB_REGIONS 4096 | 40 | #define NES_MAX_USER_DB_REGIONS 4096 |
41 | #define NES_MAX_USER_WQ_REGIONS 4096 | 41 | #define NES_MAX_USER_WQ_REGIONS 4096 |
42 | 42 | ||
43 | #define NES_TERM_SENT 0x01 | ||
44 | #define NES_TERM_RCVD 0x02 | ||
45 | #define NES_TERM_DONE 0x04 | ||
46 | |||
43 | struct nes_ucontext { | 47 | struct nes_ucontext { |
44 | struct ib_ucontext ibucontext; | 48 | struct ib_ucontext ibucontext; |
45 | struct nes_device *nesdev; | 49 | struct nes_device *nesdev; |
@@ -159,6 +163,8 @@ struct nes_qp { | |||
159 | void *pbl_vbase; | 163 | void *pbl_vbase; |
160 | dma_addr_t pbl_pbase; | 164 | dma_addr_t pbl_pbase; |
161 | struct page *page; | 165 | struct page *page; |
166 | struct timer_list terminate_timer; | ||
167 | enum ib_event_type terminate_eventtype; | ||
162 | wait_queue_head_t kick_waitq; | 168 | wait_queue_head_t kick_waitq; |
163 | u16 in_disconnect; | 169 | u16 in_disconnect; |
164 | u16 private_data_len; | 170 | u16 private_data_len; |
@@ -169,6 +175,7 @@ struct nes_qp { | |||
169 | u8 hw_iwarp_state; | 175 | u8 hw_iwarp_state; |
170 | u8 flush_issued; | 176 | u8 flush_issued; |
171 | u8 hw_tcp_state; | 177 | u8 hw_tcp_state; |
178 | u8 term_flags; | ||
172 | u8 destroyed; | 179 | u8 destroyed; |
173 | }; | 180 | }; |
174 | #endif /* NES_VERBS_H */ | 181 | #endif /* NES_VERBS_H */ |