[ofa-general] Re: [PATCH draft, untested] ehca srq emulation (for IPoIB CM)

Michael S. Tsirkin mst at dev.mellanox.co.il
Fri Jun 15 09:09:24 PDT 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [ofa-general] Re: [PATCH draft,?untested] ehca srq emulation (for IPoIB CM)
> 
>  > > Note this is not a full emulation, just close enough to make IPoIB CM work.
> 
>  > If the emulation is only enough for IPoIB, then I think it belongs in
>  > IPoIB, and not in every HCA driver.
> 
> I was thinking the same thing.  Otherwise you're just setting a booby
> trap for someone who tries to use SRQ for something else.

Would adding "wrs per qp" in srq attr structure solve this?

> However it may be a good approach to put an abstraction layer in IPoIB
> so that the CM code can use an SRQ-like interface to both HCAs that
> support SRQ and HCAs that don't.

If you are thinking about something like what was done to solve ipath
DMA problems, I'm for it. This will likely require minor extensions
to verbs API, like DMA thing did.

-- 
MST



More information about the general mailing list