On Wed, 25 Mar 2026 18:26:46 -0300, Jason Gunthorpe wrote:
> Progress the uAPI work by shifting nearly all drivers to use
> ib_copy_validate_udata_in() and its variations.
>
> These helpers are easier to use and enforce a tighter uAPI protocol
> for the udata.
>
> v2:
> - Drop EFA patch, rename the field instead
> - Fix the mlx5 mw change, userspace doesn't use the udata struct at all
> v1:
> https://patch.msgid.link/r/[email protected]
>
> [...]
Applied, thanks!
[01/16] RDMA: Consolidate patterns with offsetofend() to
ib_copy_validate_udata_in()
(no commit info)
[02/16] RDMA: Consolidate patterns with offsetof() to
ib_copy_validate_udata_in()
(no commit info)
[03/16] RDMA: Consolidate patterns with sizeof() to ib_copy_validate_udata_in()
(no commit info)
[04/16] RDMA: Use ib_copy_validate_udata_in() for implicit full structs
(no commit info)
[05/16] RDMA/pvrdma: Use ib_copy_validate_udata_in() for srq
(no commit info)
[06/16] RDMA/mlx5: Use ib_copy_validate_udata_in() for SRQ
(no commit info)
[07/16] RDMA/mlx5: Use ib_copy_validate_udata_in() for MW
(no commit info)
[08/16] RDMA/mlx4: Use ib_copy_validate_udata_in()
(no commit info)
[09/16] RDMA/mlx4: Use ib_copy_validate_udata_in() for QP
(no commit info)
[10/16] RDMA/hns: Use ib_copy_validate_udata_in()
(no commit info)
[11/16] RDMA: Use ib_copy_validate_udata_in_cm() for zero comp_mask
(no commit info)
[12/16] RDMA/mlx5: Pull comp_mask validation into ib_copy_validate_udata_in_cm()
(no commit info)
[13/16] RDMA/hns: Add missing comp_mask check in create_qp
(no commit info)
[14/16] RDMA/irdma: Add missing comp_mask check in alloc_ucontext
(no commit info)
[15/16] RDMA: Remove redundant = {} for udata req structs
(no commit info)
[16/16] RDMA/hns: Remove the duplicate calls to ib_copy_validate_udata_in()
(no commit info)
Best regards,
--
Leon Romanovsky <[email protected]>