]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/mlx5: Pull comp_mask validation into ib_copy_validate_udata_in_cm()
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 25 Mar 2026 21:26:58 +0000 (18:26 -0300)
committerLeon Romanovsky <leonro@nvidia.com>
Tue, 31 Mar 2026 07:18:16 +0000 (03:18 -0400)
commit676b570707be0d7e1cd011ceeab651ab243cf505
tree608bfb3f17a31928c14f228b32f9dfaf7e616810
parent604caebc7f069aef602bc75c5f0e6cf7a3ec456b
RDMA/mlx5: Pull comp_mask validation into ib_copy_validate_udata_in_cm()

Directly check the supported comp_mask bitmap using
ib_copy_validate_udata_in_cm() and remove the open coding.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx5/qp.c