From: Chanan S. <Chanan@Mellanox.com> - 2004-02-18 19:01:24
|
Hi Erez, When you did a post_recv in the ib_recv_wr object, you set up a buffer in the ds_array and the buffer memory was registered to the HCA. When you get a completion, and obtain the ib_recv_wr object from the completion's wr_id, the data received would be in the buffer you posted (pointed to by the ds_array of the ib_recv_wr object). Chanan -----Original Message----- From: er...@te... [mailto:er...@te...] Sent: Wednesday, February 18, 2004 5:28 AM To: inf...@li... Subject: [Infiniband-scsi_rdma] Retrieving Scsi_Cmnd from ib_recv_wr_t Hi, I'm implementing a SRP target. I got to the point where I send the 1st SCSI command to the target. In the target, I have a ib_recv_wr_t object (I guess it represents the command which was sent with srpl_send function in the initiator). My question is: how can I retrieve the Scsi_Cmnd object from the ib_recv_wr_t object? Thanks Erez ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Infiniband-scsi_rdma mailing list Inf...@li... https://lists.sourceforge.net/lists/listinfo/infiniband-scsi_rdma |