> -----Original Message-----
> From: Nikolay Aleksandrov <[email protected]>
> Sent: Friday, February 13, 2026 9:49 AM
> To: [email protected]
> Cc: David Ahern <[email protected]>; Nguyen, Anthony L
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Andrew Lunn <[email protected]>;
> [email protected]; Eric Dumazet <[email protected]>; Jakub
> Kicinski <[email protected]>; Paolo Abeni <[email protected]>;
> Loktionov, Aleksandr <[email protected]>; Greenwalt, Paul
> <[email protected]>; Daniel Zahka <[email protected]>;
> Michal Swiatkowski <[email protected]>; Ertman, David
> M <[email protected]>; Mustafa Ismail
> <[email protected]>; Shiraz Saleem <[email protected]>;
> Nikolova, Tatyana E <[email protected]>; intel-wired-
> [email protected]; Nikolay Aleksandrov <[email protected]>
> Subject: [PATCH net] drivers: net: ice: fix devlink parameters get
> without irdma
>
> If CONFIG_IRDMA isn't enabled but there are ice NICs in the system,
> the driver will prevent full devlink dev param show dump because its
> rdma get callbacks return ENODEV and stop the dump. For example:
> $ devlink dev param show
> pci/0000:82:00.0:
> name msix_vec_per_pf_max type generic
> values:
> cmode driverinit value 2
> name msix_vec_per_pf_min type generic
> values:
> cmode driverinit value 2
> kernel answers: No such device
>
> Returning EOPNOTSUPP allows the dump to continue so we can see all
> devices'
> devlink parameters.
>
> Fixes: c24a65b6a27c ("iidc/ice/irdma: Update IDC to support multiple
> consumers")
> Signed-off-by: Nikolay Aleksandrov <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/devlink/devlink.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink.c
> b/drivers/net/ethernet/intel/ice/devlink/devlink.c
> index 2ef39cc70c21..7de749d3f047 100644
> --- a/drivers/net/ethernet/intel/ice/devlink/devlink.c
> +++ b/drivers/net/ethernet/intel/ice/devlink/devlink.c
> @@ -1360,7 +1360,7 @@ ice_devlink_enable_roce_get(struct devlink
> *devlink, u32 id,
>
> cdev = pf->cdev_info;
> if (!cdev)
> - return -ENODEV;
> + return -EOPNOTSUPP;
>
> ctx->val.vbool = !!(cdev->rdma_protocol &
> IIDC_RDMA_PROTOCOL_ROCEV2);
>
> @@ -1427,7 +1427,7 @@ ice_devlink_enable_iw_get(struct devlink
> *devlink, u32 id,
>
> cdev = pf->cdev_info;
> if (!cdev)
> - return -ENODEV;
> + return -EOPNOTSUPP;
>
> ctx->val.vbool = !!(cdev->rdma_protocol &
> IIDC_RDMA_PROTOCOL_IWARP);
>
> --
> 2.47.3
Reviewed-by: Aleksandr Loktionov <[email protected]>