> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html