Re: [PATCH] cma: resolve to first active IB port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 09, 2016 at 10:31:00AM +0100, Jinpu Wang wrote:

> > I do have a concern about accessing non-cached port data as part
> > of this call.  Can we cache the port state and use that instead?
> 
> Thanks for review.
> 
> Sure, I updated the v2 patch as attached, is this what you want?
> 
> Note: in cma_resolve_loopback, it does the same, I leave it like that
> for now, I can also update this part if you like.

I feel like we already have a cache for subnet prefix, or maybe
another patch series added one? Can't remember, sorry.

In any event, this caching should probably live in the core code not
the cma....

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux