summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-07-06 14:09:02 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-08-19 06:38:47 -0400
commit2de85565762ebd3c6a7fb397cafdfcabb8cd8caa (patch)
tree18887adebe93e83d818bcae4660e46228a6a491b /scripts
parent346da62d9f9ccca81cf279c361137d1fe2fe0c7f (diff)
downloadlinux-stable-2de85565762ebd3c6a7fb397cafdfcabb8cd8caa.tar.gz
linux-stable-2de85565762ebd3c6a7fb397cafdfcabb8cd8caa.zip
vdpa/mlx5: fix wrong MLX5_ADDR_OF struct type in alloc_inout()
In alloc_inout(), the qpc field offset was computed using MLX5_ADDR_OF(rst2init_qp_in, ...) in both the INIT2RTR_QP and RTR2RTS_QP cases. This is a copy-paste error: each case should use its own input structure type to get the correct qpc offset. Fix the INIT2RTR_QP case to use MLX5_ADDR_OF(init2rtr_qp_in, ...) and the RTR2RTS_QP case to use MLX5_ADDR_OF(rtr2rts_qp_in, ...). Signed-off-by: Li RongQing <lirongqing@baidu.com> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260706060902.2341-1-lirongqing@baidu.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions