All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about SQD in the mlx5_ib driver
@ 2023-05-11 16:16 Haakon Bugge
  2023-06-11 10:26 ` Leon Romanovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Haakon Bugge @ 2023-05-11 16:16 UTC (permalink / raw)
  To: OFED mailing list

Hi,

I see that with commit 021c1f24f002 ("RDMA/mlx5: Support SQD2RTS for modify QP"), the driver supports the SQD -> RTS transition. Which is good.

But I see no way how the driver can transition a QP into SQD in the first place. Is the RTS -> SQD transition missing?


Thxs, Håkon


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question about SQD in the mlx5_ib driver
  2023-05-11 16:16 Question about SQD in the mlx5_ib driver Haakon Bugge
@ 2023-06-11 10:26 ` Leon Romanovsky
  2023-06-12  7:43   ` Haakon Bugge
  0 siblings, 1 reply; 3+ messages in thread
From: Leon Romanovsky @ 2023-06-11 10:26 UTC (permalink / raw)
  To: Haakon Bugge; +Cc: OFED mailing list

On Thu, May 11, 2023 at 04:16:16PM +0000, Haakon Bugge wrote:
> Hi,
> 
> I see that with commit 021c1f24f002 ("RDMA/mlx5: Support SQD2RTS for modify QP"), the driver supports the SQD -> RTS transition. Which is good.
> 
> But I see no way how the driver can transition a QP into SQD in the first place. Is the RTS -> SQD transition missing?

I see this callchain:
  __mlx5_ib_modify_qp ->
	  mlx5_core_qp_modify ->
	  	modify_qp_mbox_alloc
		mlx5_cmd_exec

Thanks

> 
> 
> Thxs, Håkon
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question about SQD in the mlx5_ib driver
  2023-06-11 10:26 ` Leon Romanovsky
@ 2023-06-12  7:43   ` Haakon Bugge
  0 siblings, 0 replies; 3+ messages in thread
From: Haakon Bugge @ 2023-06-12  7:43 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: OFED mailing list



> On 11 Jun 2023, at 12:26, Leon Romanovsky <leon@kernel.org> wrote:
> 
> On Thu, May 11, 2023 at 04:16:16PM +0000, Haakon Bugge wrote:
>> Hi,
>> 
>> I see that with commit 021c1f24f002 ("RDMA/mlx5: Support SQD2RTS for modify QP"), the driver supports the SQD -> RTS transition. Which is good.
>> 
>> But I see no way how the driver can transition a QP into SQD in the first place. Is the RTS -> SQD transition missing?
> 
> I see this callchain:
>  __mlx5_ib_modify_qp ->

I cannot find SQD i optab, so how can RTS -> SQD be supported?


Thxs, Håkon

>  mlx5_core_qp_modify ->
>   modify_qp_mbox_alloc
> mlx5_cmd_exec
> 
> Thanks
> 
>> 
>> 
>> Thxs, Håkon
>> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-12  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11 16:16 Question about SQD in the mlx5_ib driver Haakon Bugge
2023-06-11 10:26 ` Leon Romanovsky
2023-06-12  7:43   ` Haakon Bugge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.