IB/rdmavt: Add support for rvt_query_device function
authorHarish Chegondi <harish.chegondi@intel.com>
Fri, 22 Jan 2016 20:50:36 +0000 (12:50 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:20 +0000 (20:37 -0500)
commitfeaeb6e26fd15f6531e28f2900e0b59705bfc3d4
tree928114f9e399d2fbc4ceed9fd74232c4a2c38a10
parentfef2efd6b4951148cc8dd1df7b3e1ff2f13dd6df
IB/rdmavt: Add support for rvt_query_device function

With this commit, the drivers using rdmavt need not define query_device
function. But they should fill in the IB device attributes structure
rvt_dev_info.dparms.props

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/vt.c
include/rdma/rdma_vt.h