Subject: Re: [PATCH net-next v5 1/2] net/smc: make wr buffer count configurable

From: Dust Li <[email-masked]>
Date: Mon, 29 Sep 2025 09:28:49 +0800

On 2025-09-29 02:00:00, Halil Pasic wrote:
>Think SMC_WR_BUF_CNT_SEND := SMC_WR_BUF_CNT used in send context and
>SMC_WR_BUF_CNT_RECV := 3 * SMC_WR_BUF_CNT used in recv context. Those
>get replaced with lgr->max_send_wr and lgr->max_recv_wr respective.
>
>Please note that although with the default sysctl values
>qp_attr.cap.max_send_wr ==  qp_attr.cap.max_recv_wr is maintained but
>can not be assumed to be generally true any more. I see no downside to
>that, but my confidence level is rather modest.
>
>Signed-off-by: Halil Pasic <[email-masked]>
>Reviewed-by: Sidraya Jayagond <[email-masked]>

Reviewed-by: Dust Li <[email-masked]>

Best regards,
Dust