Update to use libiverbs extension support / verbs_register_driver()

Have libmlx4 register with libibverbs with verbs_register_driver() to
indicate that libmlx4 supports verbs extensions, supplying its
verbs_init_func() for further initialization.  This will be used to
add XRC support.

Acked-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Tzahi Oved <tzahio@mellanox.com>

[ Update configure script and deb/rpm packaging to check for new enough
  libibverbs.  - Roland ]

Signed-off-by: Roland Dreier <roland@purestorage.com>
5 files changed