diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-07-02 01:02:24 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-02 21:47:45 +0200 |
commit | 2821c509fcc963e2661ec1ef3aa8b3d2a64399fa (patch) | |
tree | 860c8c84938caee356355e4aa781856267889c4e /drivers/infiniband/sw/rdmavt/vt.c | |
parent | IB/qib: Add qib post send table (diff) | |
download | linux-2821c509fcc963e2661ec1ef3aa8b3d2a64399fa.tar.xz linux-2821c509fcc963e2661ec1ef3aa8b3d2a64399fa.zip |
IB/rdmavt: Use new driver specific post send table
Change rvt_post_one_wr to use the new table mechanism for
post send.
Validate that each low level driver specifies the table.
Reviewed-by: Jianxin Xiong <jianxin.xiong@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/vt.c')
-rw-r--r-- | drivers/infiniband/sw/rdmavt/vt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rdmavt/vt.c b/drivers/infiniband/sw/rdmavt/vt.c index 30c4fda7a05a..89fe9675c550 100644 --- a/drivers/infiniband/sw/rdmavt/vt.c +++ b/drivers/infiniband/sw/rdmavt/vt.c @@ -528,7 +528,8 @@ static noinline int check_support(struct rvt_dev_info *rdi, int verb) post_send), rvt_post_send)) if (!rdi->driver_f.schedule_send || - !rdi->driver_f.do_send) + !rdi->driver_f.do_send || + !rdi->post_parms) return -EINVAL; break; |