Re: [PATCH] RDMA/ipoib: distribute cq completion vector better

Jason Gunthorpe
2020-11-20T20:29:04Z

On Tue, Oct 13, 2020 at 09:43:42AM +0200, Jack Wang wrote:
> Currently ipoib choose cq completion vector based on port number,
> when HCA only have one port, all the interface recv queue completion
> are bind to cq completion vector 0.
>
> To better distribute the load, use same method as __ib_alloc_cq_any
> to choose completion vector, with the change, each interface now use
> different completion vectors.
>
> Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
> Reviewed-by: Gioh Kim <gi-oh.kim@cloud.ionos.com>
> ---
> drivers/infiniband/ulp/ipoib/ipoib_verbs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to for next, thanks

Jason