[openib-general] [PATCH] librdmacm: updated librdmacm to work with proposed 2.6.20 kernel CMA

Michael S. Tsirkin mst at mellanox.co.il
Wed Oct 25 22:01:01 PDT 2006


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> Subject: [PATCH] librdmacm: updated librdmacm to work with proposed 2.6.20 kernel CMA
> 
> Updates the librdmacm to work with ABI version 3, which is the proposed
> kernel changes for inclusion in 2.6.20.
> 
> Test programs are also updated.
> 
> Signed-off-by: Sean Hefty <sean.hefty at intel.com>
> ---
> Index: include/rdma/rdma_cma_abi.h
> ===================================================================
> --- include/rdma/rdma_cma_abi.h	(revision 9192)
> +++ include/rdma/rdma_cma_abi.h	(working copy)
> @@ -33,14 +33,15 @@
>  #ifndef RDMA_CMA_ABI_H
>  #define RDMA_CMA_ABI_H
>  
> +#include <infiniband/kern-abi.h>
>  #include <infiniband/sa-kern-abi.h>
>  
>  /*
>   * This file must be kept in sync with the kernel's version of rdma_user_cm.h
>   */
>  
> -#define RDMA_USER_CM_MIN_ABI_VERSION	1
> -#define RDMA_USER_CM_MAX_ABI_VERSION	2
> +#define RDMA_USER_CM_MIN_ABI_VERSION	3
> +#define RDMA_USER_CM_MAX_ABI_VERSION	3


Might it be a good idea to keep min ABI at 1, so that the library works
e.g. against OFED kernel components?

-- 
MST




More information about the general mailing list