[ofa-general] Re: [PATCH draft, untested] ehca srq emulation (for IPoIB CM)
Michael S. Tsirkin
mst at dev.mellanox.co.il
Wed Jun 13 10:49:30 PDT 2007
> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [PATCH draft, untested] ehca srq emulation (for IPoIB CM)
>
> Not sure I follow how this code works. What happens if I attach 100
> QPs to an SRQ and then post only 50 receives?
Thanks for asking.
Note this is not a full emulation, just close enough to make IPoIB CM work.
The assumption I made is that you will post max_wrs receives (this is what IPoIB does).
If this is what you do, each QP will get WR_PER_QP receives (its a macro now,
can be made module option, or exposed in srq_attr).
And if you try to attach more than max_wrs/WR_PER_QP QPs, create QP will fail.
--
MST
More information about the general
mailing list