在 2024/9/24 23:16, Haakon Bugge 写道:
On 24 Sep 2024, at 15:59, Zhu Yanjun <yanjun.zhu@xxxxxxxxx> wrote:
在 2024/9/24 14:54, Christoph Hellwig 写道:
On Tue, Sep 24, 2024 at 09:58:24AM +0800, Zhu Yanjun wrote:
The users that I mentioned is not in the kernel tree.
And why do you think that would matter the slightest?
I noticed that the same cq functions are used. And I also made tests with this patch series. Without this patch series, dim mechanism will not be invoked.
Christoph alluded to say: Do not modify the old cq_create_cq() code in order to support DIM, it is better to change the ULP to use ib_alloc_cq(), and get DIM enabled that way.
Hi, Haakon
To be honest, I like your original commit that enable DIM for legacy
ULPs because this can fix this problem once for all and improve the old
ib_create_cq function.
The idea from Christoph will cause a lot of changes in ULPs. I am not
very sure if these changes cause risks or not.
Thus, I prefer to your original commit. But I will follow the advice
from Leon and Jason.
Zhu Yanjun
Thxs, Håkon