aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iscsi_iser.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-05-21 16:54:11 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 09:22:20 -0400
commit2261ec3d686e35c1a6088ab7f00a1d02b528b994 (patch)
tree7836e5ddf152861d074916ce1838941158138315 /drivers/infiniband/ulp/iser/iscsi_iser.h
parent135a8ad4e09309d36dcb8b5c7f55db0b6a15b2d6 (diff)
[SCSI] iser: handle iscsi_cmd_task rename
This handles the iscsi_cmd_task rename and renames the iser cmd task to iser task. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r--drivers/infiniband/ulp/iser/iscsi_iser.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h
index 96a600f127c8..05431f270fe8 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.h
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.h
@@ -173,7 +173,7 @@ struct iser_data_buf {
173/* fwd declarations */ 173/* fwd declarations */
174struct iser_device; 174struct iser_device;
175struct iscsi_iser_conn; 175struct iscsi_iser_conn;
176struct iscsi_iser_cmd_task; 176struct iscsi_iser_task;
177 177
178struct iser_mem_reg { 178struct iser_mem_reg {
179 u32 lkey; 179 u32 lkey;
@@ -197,7 +197,7 @@ struct iser_regd_buf {
197#define MAX_REGD_BUF_VECTOR_LEN 2 197#define MAX_REGD_BUF_VECTOR_LEN 2
198 198
199struct iser_dto { 199struct iser_dto {
200 struct iscsi_iser_cmd_task *ctask; 200 struct iscsi_iser_task *task;
201 struct iser_conn *ib_conn; 201 struct iser_conn *ib_conn;
202 int notify_enable; 202 int notify_enable;
203 203
@@ -265,7 +265,7 @@ struct iscsi_iser_conn {
265 rwlock_t lock; 265 rwlock_t lock;
266}; 266};
267 267
268struct iscsi_iser_cmd_task { 268struct iscsi_iser_task {
269 struct iser_desc desc; 269 struct iser_desc desc;
270 struct iscsi_iser_conn *iser_conn; 270 struct iscsi_iser_conn *iser_conn;
271 enum iser_task_status status; 271 enum iser_task_status status;
@@ -299,13 +299,13 @@ extern int iser_debug_level;
299int iser_conn_set_full_featured_mode(struct iscsi_conn *conn); 299int iser_conn_set_full_featured_mode(struct iscsi_conn *conn);
300 300
301int iser_send_control(struct iscsi_conn *conn, 301int iser_send_control(struct iscsi_conn *conn,
302 struct iscsi_cmd_task *ctask); 302 struct iscsi_task *task);
303 303
304int iser_send_command(struct iscsi_conn *conn, 304int iser_send_command(struct iscsi_conn *conn,
305 struct iscsi_cmd_task *ctask); 305 struct iscsi_task *task);
306 306
307int iser_send_data_out(struct iscsi_conn *conn, 307int iser_send_data_out(struct iscsi_conn *conn,
308 struct iscsi_cmd_task *ctask, 308 struct iscsi_task *task,
309 struct iscsi_data *hdr); 309 struct iscsi_data *hdr);
310 310
311void iscsi_iser_recv(struct iscsi_conn *conn, 311void iscsi_iser_recv(struct iscsi_conn *conn,
@@ -326,9 +326,9 @@ void iser_rcv_completion(struct iser_desc *desc,
326 326
327void iser_snd_completion(struct iser_desc *desc); 327void iser_snd_completion(struct iser_desc *desc);
328 328
329void iser_ctask_rdma_init(struct iscsi_iser_cmd_task *ctask); 329void iser_task_rdma_init(struct iscsi_iser_task *task);
330 330
331void iser_ctask_rdma_finalize(struct iscsi_iser_cmd_task *ctask); 331void iser_task_rdma_finalize(struct iscsi_iser_task *task);
332 332
333void iser_dto_buffs_release(struct iser_dto *dto); 333void iser_dto_buffs_release(struct iser_dto *dto);
334 334
@@ -338,10 +338,10 @@ void iser_reg_single(struct iser_device *device,
338 struct iser_regd_buf *regd_buf, 338 struct iser_regd_buf *regd_buf,
339 enum dma_data_direction direction); 339 enum dma_data_direction direction);
340 340
341void iser_finalize_rdma_unaligned_sg(struct iscsi_iser_cmd_task *ctask, 341void iser_finalize_rdma_unaligned_sg(struct iscsi_iser_task *task,
342 enum iser_data_dir cmd_dir); 342 enum iser_data_dir cmd_dir);
343 343
344int iser_reg_rdma_mem(struct iscsi_iser_cmd_task *ctask, 344int iser_reg_rdma_mem(struct iscsi_iser_task *task,
345 enum iser_data_dir cmd_dir); 345 enum iser_data_dir cmd_dir);
346 346
347int iser_connect(struct iser_conn *ib_conn, 347int iser_connect(struct iser_conn *ib_conn,
@@ -361,10 +361,10 @@ int iser_post_send(struct iser_desc *tx_desc);
361int iser_conn_state_comp(struct iser_conn *ib_conn, 361int iser_conn_state_comp(struct iser_conn *ib_conn,
362 enum iser_ib_conn_state comp); 362 enum iser_ib_conn_state comp);
363 363
364int iser_dma_map_task_data(struct iscsi_iser_cmd_task *iser_ctask, 364int iser_dma_map_task_data(struct iscsi_iser_task *iser_task,
365 struct iser_data_buf *data, 365 struct iser_data_buf *data,
366 enum iser_data_dir iser_dir, 366 enum iser_data_dir iser_dir,
367 enum dma_data_direction dma_dir); 367 enum dma_data_direction dma_dir);
368 368
369void iser_dma_unmap_task_data(struct iscsi_iser_cmd_task *iser_ctask); 369void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task);
370#endif 370#endif