[ofa-general] Re: [RFC] [PATCH 0/3] 2.6.22 or 23 ib: add path record cache
Michael S. Tsirkin
mst at dev.mellanox.co.il
Mon Apr 23 15:01:32 PDT 2007
> >4. Why do we need yet another API and yet another module to speed up just
> >RDMA/CM path record queries? We now get 2 ways to do this (with/without the
> >cache). Shouldn't there be just one?
>
> I did consider this, but the cache operates synchronously, and ib_sa interface
> is asynchronous. I tried to make the API make sense for the cache. The rdma_cm
> doesn't really take advantage of the synchronous interface, but I believe that
> ipoib could. Converting the ib_local_sa to an asynchronous interface requires
> adding registration calls, and an ability to cancel operations.
Why can't it operate below the existing ib_sa interface?
Does any client really care whether the record came from the SA
or from the cache?
--
MST
More information about the general
mailing list