From aa3eb44158f831aa7fb06d2ceba947bd2c03519d Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Thu, 22 Dec 2011 00:14:12 -0800 Subject: [PATCH] libibverbs: Support both OFED verbs and ibverbs From: Sean Hefty This patch allows libibverbs to support both libibverbs API that shipped with OFED 1.5 and the upstream libibverbs API. This supports existing apps that are compiled against the upstream libibverbs (ibverbs). And in ideal cases, an application coded to the OFED version of libibverbs (ofverbs) would only need to be recompiled with 'CFLAGS=-DOFED_VERBS' given as a configuration option. Support for OFED verbs is done using macros that convert the OFED APIs to ibverbs APIs. In most cases, simple data casts are all that are necessary, with XRC support being the primary exception. Signed-off-by: Sean Hefty -- 2.46.0