Thread (1 message) 1 message, 1 author, 2011-06-23

RE: [RFC] [OFED] libibverbs: Translate OFED verbs to ibverbs

From: Hefty, Sean <hidden>
Date: 2011-06-23 17:31:16

Possibly related (same subject, not in this thread)

Once you create a new linkable symbol you may as well un-inline the
bulk of this emulation..
yep
You could go like:

verbs.h:

#define ibv_send_wr _real_ibv_send_wr
// rest of verbs.h

#undef ibv_send_wr

#include "ofed-verbs.h"

ofed-verbs.h:

struct ibv_send_wr
{
 // ofa version
}

Then you don't need the #define to get to the correct version.
Thanks - I'll give this a try.

- Sean 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help