Re: [PATCH net-next v6 1/2] net/smc: make wr buffer count configurable
From: Mahanta Jambigi
Date: Tue Oct 28 2025 - 05:33:47 EST
On 28/10/25 4:18 am, 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 <pasic@xxxxxxxxxxxxx>
> Reviewed-by: Sidraya Jayagond <sidraya@xxxxxxxxxxxxx>
> Reviewed-by: Dust Li <dust.li@xxxxxxxxxxxxxxxxx>
> ---
Tested-by: Mahanta Jambigi <mjambigi@xxxxxxxxxxxxx>