IB/rdmavt: add modify queue pair driver helpers
authorIra Weiny <ira.weiny@intel.com>
Fri, 22 Jan 2016 21:04:38 +0000 (13:04 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:27 +0000 (20:37 -0500)
commite85ec33d820e1f3f763a46f9fd41230ca0ce40c6
treeacde61c970cf7808caa223b6ccb58cbcb7d0056f
parent2b047ea7a3ceef0322e666782e0a82e98424f6f1
IB/rdmavt: add modify queue pair driver helpers

Low level drivers need to be able to check incoming attributes as well as be
able to adjust their private data on queue pair modification.  Add 2 driver
callbacks, check_modify_qp and modify_qp, to facilitate this.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/qp.c
include/rdma/rdma_vt.h