IB/rdmavt: Add support for query_port, modify_port and get_port_immutable
authorHarish Chegondi <harish.chegondi@intel.com>
Wed, 3 Feb 2016 22:15:20 +0000 (14:15 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:32 +0000 (20:37 -0500)
commit61a650c14d728354b2d493bed3f1b0531f033dac
tree9cd5d3bb1324e14d6f391693a13f59e8e2d9991b
parent1f024992ef05d1eb9b3a0becd1611ecfa21854a6
IB/rdmavt: Add support for query_port, modify_port and get_port_immutable

rvt_query_port calls into the driver through a call back function
query_port_state to populate the rest of ib_port_attr elements.
rvt_modify_port calls into the driver if needed through a call back
function shut_down_port()

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