mirror-linux/include/uapi/rdma
Arnd Bergmann d95e99a74e RDMA/irdma: Fix irdma_alloc_ucontext_resp padding
A recent commit modified struct irdma_alloc_ucontext_resp by adding a
member with implicit padding in front of it, though this does not change
the offset of the data members other than m68k. Reported by
scripts/check-uapi.sh:

==== ABI differences detected in include/rdma/irdma-abi.h from 1dd7bde2e91c -> HEAD ====
    [C] 'struct irdma_alloc_ucontext_resp' changed:
      type size changed from 704 to 640 (in bits)
      1 data member deletion:
        '__u8 rsvd3[2]', at offset 640 (in bits) at irdma-abi.h:61:1
      1 data member insertion:
        '__u8 revd3[2]', at offset 592 (in bits) at irdma-abi.h:60:1

Change the size back to the previous version, and remove the implicit
padding by making it explicit and matching what x86-64 would do by placing
max_hw_srq_quanta member into a naturally aligned location.

Fixes: 563e1feb5f ("RDMA/irdma: Add SRQ support")
Link: https://patch.msgid.link/r/20251208133849.315451-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2025-12-16 21:38:45 -04:00
..
hfi treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
bnxt_re-abi.h RDMA/bnxt_re: Share a page to expose per SRQ info with userspace 2024-09-02 10:10:36 +03:00
cxgb4-abi.h
efa-abi.h RDMA/efa: Add CQ with external memory support 2025-07-13 04:00:34 -04:00
erdma-abi.h RDMA/erdma: Add the ABI definitions 2022-07-27 16:04:05 -03:00
hns-abi.h RDMA/hns: Support DSCP 2024-04-09 10:27:41 +03:00
ib_user_ioctl_cmds.h IB: Extend UVERBS_METHOD_REG_MR to get DMAH 2025-07-23 01:42:11 -04:00
ib_user_ioctl_verbs.h RDMA: Add IONIC to rdma_driver_id definition 2025-09-11 02:18:36 -04:00
ib_user_mad.h RDMA/core: Use flexible array for mad data 2021-06-22 14:05:34 -03:00
ib_user_sa.h RDMA/ucma: Support query resolved service records 2025-08-13 06:16:07 -04:00
ib_user_verbs.h RDMA/core: Move ODP capability definitions to uapi 2025-04-21 07:52:47 -04:00
ionic-abi.h RDMA/ionic: Register device ops for control path 2025-09-11 02:18:36 -04:00
irdma-abi.h RDMA/irdma: Fix irdma_alloc_ucontext_resp padding 2025-12-16 21:38:45 -04:00
mana-abi.h RDMA/mana_ib: Implement uapi to create and destroy RC QP 2024-05-30 15:26:57 +03:00
mlx4-abi.h
mlx5-abi.h RDMA/mlx5: Support OOO RX WQE consumption 2024-11-04 06:57:20 -05:00
mlx5_user_ioctl_cmds.h RDMA/mlx5: Expose RDMA TRANSPORT flow table types to userspace 2025-03-09 13:13:02 -04:00
mlx5_user_ioctl_verbs.h RDMA/mlx5: Expose RDMA TRANSPORT flow table types to userspace 2025-03-09 13:13:02 -04:00
mthca-abi.h
ocrdma-abi.h
qedr-abi.h RDMA/qedr: Add EDPM max size to alloc ucontext response 2020-07-16 16:01:55 -03:00
rdma_netlink.h RDMA/core: Add support to optional-counters binding configuration 2025-03-18 06:18:42 -04:00
rdma_user_cm.h RDMA/ucma: Fix rdma_ucm_query_ib_service_resp struct padding 2025-12-16 21:37:02 -04:00
rdma_user_ioctl.h RDMA: rdma_user_ioctl.h: fix a duplicated word + clarify 2020-07-20 16:42:08 -03:00
rdma_user_ioctl_cmds.h treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
rdma_user_rxe.h RDMA/rxe: Extend rxe user ABI to support flush 2022-12-09 19:36:01 -04:00
rvt-abi.h
siw-abi.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
vmw_pvrdma-abi.h RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC 2021-01-19 20:17:27 -04:00