diff options
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index 7a959d5f2fa6..ed0dce9e479f 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h | |||
@@ -82,9 +82,10 @@ enum srp_target_state { | |||
82 | SRP_TARGET_REMOVED | 82 | SRP_TARGET_REMOVED |
83 | }; | 83 | }; |
84 | 84 | ||
85 | enum srp_request_type { | 85 | enum srp_iu_type { |
86 | SRP_REQ_NORMAL, | 86 | SRP_IU_CMD, |
87 | SRP_REQ_TASK_MGMT, | 87 | SRP_IU_TSK_MGMT, |
88 | SRP_IU_RSP, | ||
88 | }; | 89 | }; |
89 | 90 | ||
90 | struct srp_device { | 91 | struct srp_device { |
@@ -171,6 +172,7 @@ struct srp_iu { | |||
171 | void *buf; | 172 | void *buf; |
172 | size_t size; | 173 | size_t size; |
173 | enum dma_data_direction direction; | 174 | enum dma_data_direction direction; |
175 | enum srp_iu_type type; | ||
174 | }; | 176 | }; |
175 | 177 | ||
176 | #endif /* IB_SRP_H */ | 178 | #endif /* IB_SRP_H */ |