***SPAM*** Re: [ofa-general] non zero lkey in send(), write() with num_sge > 1?
Bill N
ofedrnicuser at yahoo.com
Mon Feb 9 21:22:40 PST 2009
> > Can stack pass num_sge > 1, and lkey !=0 as part of
> sg_list[] elements, in post_send() call?
> >
> What are you trying to achieve?
[Bill]
I just wanted to confirm, that even when Stag !=0,
(a) there can be multiple SGEs in the list with different lkey and TO.
And
(b) HCAs have to validate each of the SGE entry against the lkey.
Want to ensure that
- As RDMA ULP I can invoke post_send() with multiple lkeys and utilize the allocated MRs, HCAs are designed to handle that.
Any example ULP we are aware of that does this?
Regards,
Bill
--- On Mon, 2/9/09, Dotan Barak <dotanba at gmail.com> wrote:
> From: Dotan Barak <dotanba at gmail.com>
> Subject: Re: [ofa-general] ***SPAM*** non zero lkey in send(), write() with num_sge > 1?
> To: "Ofed User" <ofedrnicuser at yahoo.com>
> Cc: "OFED General" <general at lists.openfabrics.org>
> Date: Monday, February 9, 2009, 7:25 PM
> Ofed User wrote:
> > Hi,
> >
> If num_sge > 1 => the HCA will try to read the blocks
> pointed by the
> sg_list one by one and validate that the address + size is
> inside a valid
> Memory Region which its local key is the lkey.
>
> Then i guess that the answer is: Yes.
>
> Dotan
More information about the general
mailing list