IB/rdmavt: Add hardware driver send work request check
authorIra Weiny <ira.weiny@intel.com>
Wed, 3 Feb 2016 22:14:45 +0000 (14:14 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:31 +0000 (20:37 -0500)
commit60c30f572595e46c819503b5a8c3a8e2f922de7a
tree8f30efa7fa7c47b8c67174a61c4c37d3d3abb30e
parentb8f881b913f34f712185b2ff7a41645dcad9a868
IB/rdmavt: Add hardware driver send work request check

Some hardware drivers requires additional checks on send WRs.  Create an
optional call back to allow hardware drivers to reject a send WR.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
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