Re: [RFC PATCH net-next 0/6] net/smc: Spread workload over multiple cores

Tony Lu
2022-01-16T17:47:57Z

On Sun, Jan 16, 2022 at 11:00:33AM +0200, Leon Romanovsky wrote:
> On Fri, Jan 14, 2022 at 01:48:46PM +0800, Tony Lu wrote:
> > <snip>
> >
> > These patches are still improving, I am very glad to hear your advice.
>
> Please CC RDMA mailing list next time.

I will do it in the next patch.

> Why didn't you use already existed APIs in drivers/infiniband/core/cq.c?
> ib_cq_pool_get() will do most if not all of your open-coded CQ spreading
> logic.

Thanks for your advice. I have looked into this API about shared CQ
pool. It should suit for this scene after my brief test. I will replace
the logic of least-used CQ to this CQ pool API in the next patch.

Thank you.
Tony Lu