Re: [PATCH] RDMA/core: Fix compatibility between driver and rdma-core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 16, 2019 at 01:17:23PM +0300, Michal Kalderon wrote:
> 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(+)
>

Thanks,
https://lore.kernel.org/linux-rdma/20191015075419.18185-2-leon@xxxxxxxxxx



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux