misc devices. If the abi version file does not exist, assume latest ABI to
make it possible to use librdmacm on such systems.
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
static struct dlist *cma_dev_list;
static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER;
static int ucma_initialized;
-static int abi_ver;
+static int abi_ver = RDMA_USER_CM_MAX_ABI_VERSION;
#define container_of(ptr, type, field) \
((type *) ((void *)ptr - offsetof(type, field)))