Thread (1 message) 1 message, 1 author, 2011-08-02

Re: [PATCH 1/2] libibverbs: Allow 3rd party extensions to verb routines

From: Jack Morgenstein <hidden>
Date: 2011-08-02 07:53:05

On Tuesday 02 August 2011 08:38, Jason Gunthorpe wrote:
The hope is once the infrastructure is in libibverbs there will not
be as much need to change libibverbs, just the apps and the drivers.
If I understand correctly, the various additions which would normally be made to libibverbs
would then be made by third-party libraries which extend libibverbs to support their additions.

These additions would include the new ibv_cmd_xxx functions
(the core functions reside in src/cmd.c), and new, additional, enum values of
the form IBV_USER_VERBS_CMD_XXXX, of which the core enum is in file
include/infiniband/kern_abi.h.

The modified apps would then include the header files of the 3rd party additions
after the libibverbs headers when compiling.

Each new third-party package would need such a library.
While this will lead to a multiplicity of new libraries (one per addition),
the core libibverbs package would remain as is.

Am I correct?  If so, shouldn't the current XRC userspace implementation do the same (and
take the XRC-specific additions out of libibverbs and put them into a separate library)?

Note that coordination between third parties would still be required to insure that there is
no collision of enum values between the various packages.

-Jack
--
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