Revert "net/smc: Replace ib_query_gid with rdma_get_gid_attr"
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 15 Aug 2018 22:52:58 +0000 (16:52 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 16 Aug 2018 20:03:34 +0000 (14:03 -0600)
commit92f4e77c85918eab5e5803d7e28ab89a7e6bd3a2
tree70ce3b5c8152fc5e92043e6c0d2ef4bc00678408
parent89982f7ccee2fcd8fea7936b81eec6defbf0f131
Revert "net/smc: Replace ib_query_gid with rdma_get_gid_attr"

This reverts commit ddb457c6993babbcdd41fca638b870d2a2fc3941.

The include rdma/ib_cache.h is kept, and we have to add a memset
to the compat wrapper to avoid compiler warnings in gcc-7

This revert is done to avoid extensive merge conflicts with SMC
changes in netdev during the 4.19 merge window.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/ib_cache.h
net/smc/smc_core.c
net/smc/smc_ib.c