This is an out-of-tree distribution of the libionic provider for libibverbs.

Build rpms (recommended for installing):

  ./autogen.sh
  ./configure
  make rpms

Build debs (recommended for installing):

  ./autogen.sh
  ./configure
  make debs

Build libionic and install (without using a package manager):

  ./autogen.sh

  ./build.sh

  cd build
  sudo make install

Build and install to rdma-core when it is built-in-place:

  From rdma-core workspace:

  ./build.sh

  From libionic workspace:

  RCORE=$(readlink -f path/to/rdma-core/build)

  ./autogen.sh

  ./build.sh --with-rdmacore=$RCORE --prefix=$RCORE

  cd build
  make install

  find path/to/rdma-core -name '*ionic*'
  path/to/rdma-core/build/etc/libibverbs.d/ionic.driver
  path/to/rdma-core/build/lib/libionic-0.0.so
  path/to/rdma-core/build/lib/libionic.so
  path/to/rdma-core/build/lib/libionic.a
  path/to/rdma-core/build/lib/libionic.la
  path/to/rdma-core/build/lib/libionic-rdmav17.so

Extend rdma-core version compatibility:

  See compat/README

TODO:

  Install ionic_dv.h

  The regular file should be libionic-VERSION.so.
  The libionic.so and libionic-rdmavXX.so should be symbolic links.
  The libionic-rdmavXX.so should be installed in lib/libibverbs/libionic-rdmavXX.so.
