Subject: Re: [PATCH iproute2] rdama: sync kernel headers and fix build

From: Leon Romanovsky <[email-masked]>
Date: Tue, 12 May 2026 14:45:08 +0300

On Tue, May 05, 2026 at 11:10:44AM -0700, Stephen Hemminger wrote:
> The upstream kernel removed the 'RES_' prefix from RDMA netlink
> command and attribute names, but the rdma tool was still using
> the old names, causing build failures.
> 
> Update all references to match the new kernel header names:
> - RDMA_NLDEV_CMD_RES_FRMR_POOLS_* → RDMA_NLDEV_CMD_FRMR_POOLS_*
> - RDMA_NLDEV_ATTR_RES_FRMR_POOL* → RDMA_NLDEV_ATTR_FRMR_POOL*
> - RDMA_NLDEV_ATTR_FRMR_POOL_PINNED → RDMA_NLDEV_ATTR_FRMR_POOL_PINNED_HANDLES
> - RDMA_NLDEV_ATTR_FRMR_POOL_AGING_PERIOD → RDMA_NLDEV_ATTR_FRMR_POOLS_AGING_PERIOD
> 
>   Fixes build error:
>     res.h:203:26: error: 'RDMA_NLDEV_CMD_RES_FRMR_POOLS_GET' undeclared
> 
> Signed-off-by: Stephen Hemminger <[email-masked]>
> ---
>  rdma/include/uapi/rdma/rdma_netlink.h | 30 ++++----
>  rdma/res-frmr-pools.c                 | 98 +++++++++++++--------------
>  rdma/res.h                            |  2 +-
>  3 files changed, 65 insertions(+), 65 deletions(-)

There is a typo in the title: rdama -> rdma

Thanks,
Reviewed-by: Leon Romanovsky <[email-masked]>