Commit 30e0f6cf5acb39 ("RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel") deleted one of the entries in the rdma_driver_id enum. This caused a mismatch between the driver-id of some drivers and rdma-core. ib_uverbs_cmd_verbs: if (unlikely(hdr->driver_id != uapi->driver_id) Added the entry back as deprecated to maintain compatibility between old/new rdma-core and driver. For the same reason, entry should not be removed from rdma-core, but modified to deprecated when cxgb3 is removed from rdma-core. Fixes: 30e0f6cf5acb39 ("RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel") Signed-off-by: Ariel Elior <ariel.elior@xxxxxxxxxxx> Signed-off-by: Michal Kalderon <michal.kalderon@xxxxxxxxxxx> --- include/uapi/rdma/rdma_user_ioctl_cmds.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/rdma/rdma_user_ioctl_cmds.h b/include/uapi/rdma/rdma_user_ioctl_cmds.h index b2680051047a..07152a49374d 100644 --- a/include/uapi/rdma/rdma_user_ioctl_cmds.h +++ b/include/uapi/rdma/rdma_user_ioctl_cmds.h @@ -88,6 +88,7 @@ enum rdma_driver_id { RDMA_DRIVER_UNKNOWN, RDMA_DRIVER_MLX5, RDMA_DRIVER_MLX4, + RDMA_DRIVER_CXGB3_DEPRECATED, RDMA_DRIVER_CXGB4, RDMA_DRIVER_MTHCA, RDMA_DRIVER_BNXT_RE, -- 2.14.5