Re: [PATCH v2 01/16] iscsi-target: add callback to alloc and free PDU

2016-04-13 Thread Varun Prakash
On Wed, Apr 13, 2016 at 12:56:25PM +0300, Sagi Grimberg wrote: > > >>On 09/04/16 16:11, Varun Prakash wrote: > >>>Add two callbacks to struct iscsit_transport - > >>> > >>>1. void *(*iscsit_alloc_pdu)() > >>>iscsi-target uses this callback for > >>>iSCSI PDU allocation. > >>> > >>>2. void

Re: [PATCH v2 01/16] iscsi-target: add callback to alloc and free PDU

2016-04-13 Thread Sagi Grimberg
On 09/04/16 16:11, Varun Prakash wrote: Add two callbacks to struct iscsit_transport - 1. void *(*iscsit_alloc_pdu)() iscsi-target uses this callback for iSCSI PDU allocation. 2. void (*iscsit_free_pdu) iscsi-target uses this callback to free an iSCSI PDU which was

Re: [PATCH v2 01/16] iscsi-target: add callback to alloc and free PDU

2016-04-11 Thread Varun Prakash
On Sun, Apr 10, 2016 at 08:33:53PM +0300, Sagi Grimberg wrote: > > > On 09/04/16 16:11, Varun Prakash wrote: > >Add two callbacks to struct iscsit_transport - > > > >1. void *(*iscsit_alloc_pdu)() > >iscsi-target uses this callback for > >iSCSI PDU allocation. > > > >2. void

Re: [PATCH v2 01/16] iscsi-target: add callback to alloc and free PDU

2016-04-10 Thread Sagi Grimberg
On 09/04/16 16:11, Varun Prakash wrote: Add two callbacks to struct iscsit_transport - 1. void *(*iscsit_alloc_pdu)() iscsi-target uses this callback for iSCSI PDU allocation. 2. void (*iscsit_free_pdu) iscsi-target uses this callback to free an iSCSI PDU which was

[PATCH v2 01/16] iscsi-target: add callback to alloc and free PDU

2016-04-09 Thread Varun Prakash
Add two callbacks to struct iscsit_transport - 1. void *(*iscsit_alloc_pdu)() iscsi-target uses this callback for iSCSI PDU allocation. 2. void (*iscsit_free_pdu) iscsi-target uses this callback to free an iSCSI PDU which was allocated by iscsit_alloc_pdu(). Signed-off-by: Varun