RDMA/uapi: Fix and re-organize the usage of rdma_driver_id
authorYishai Hadas <yishaih@mellanox.com>
Tue, 15 Oct 2019 07:54:18 +0000 (10:54 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Oct 2019 19:41:06 +0000 (15:41 -0400)
commit45b268543a8d720e929c71dff7302eed5f7dfed4
treea73683af0c49febeffd5e4fa91c3c1a5cca72808
parent03232cc43cff18ae44a30ceb455a036586ee8244
RDMA/uapi: Fix and re-organize the usage of rdma_driver_id

Fix 'enum rdma_driver_id' to preserve other driver values before that
RDMA_DRIVER_CXGB3 was deleted. As this value is UAPI we can't affect
other values as of a deletion of one driver id.

Fixes: 30e0f6cf5acb ("RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20191015075419.18185-2-leon@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/uapi/rdma/ib_user_ioctl_verbs.h
include/uapi/rdma/rdma_user_ioctl_cmds.h