[PATCH rfc 2/3] RDMA/core: expose cpu affinity based completion vector lookup

Sagi Grimberg sagi at grimberg.me
Thu Jul 13 09:30:31 PDT 2017


>> A ULP might want to lookup an optimal completion vector based on
>> a given cpu core affinity. Expose a lookup routine for it iterating
>> on the device completion vectors searching a vector with affinity
>> matching the given cpu.
> 
> Shouldn't this return the mask of cpus with the matching affinity
> instead of always the first one?

Its the opposite, I'm looking for the vector matching a given cpu.

In case there are multiple vectors with the same cpu assignment,
it doesn't really matter which one is it.



More information about the Linux-nvme mailing list