summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Welty <brian.welty@intel.com>2016-06-09 07:51:14 -0700
committerDoug Ledford <dledford@redhat.com>2016-06-17 20:11:26 -0400
commit96605672a4172f6e31f31ce29ee27fef68011de0 (patch)
tree4a10e11891eb9c0d73dc5219ca63950f33bcccb8
parentb4ba6633ea153266429f16614029ab1578815390 (diff)
downloadlwn-96605672a4172f6e31f31ce29ee27fef68011de0.tar.gz
lwn-96605672a4172f6e31f31ce29ee27fef68011de0.zip
IB/rdmavt: Correct required callback functions for MODIFY_QP
Functions required for MODIFY_PORT were incorrectly being required for MODIFY_QP. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Brian Welty <brian.welty@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r--drivers/infiniband/sw/rdmavt/vt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/infiniband/sw/rdmavt/vt.c b/drivers/infiniband/sw/rdmavt/vt.c
index e1cc2cc42f25..30c4fda7a05a 100644
--- a/drivers/infiniband/sw/rdmavt/vt.c
+++ b/drivers/infiniband/sw/rdmavt/vt.c
@@ -501,9 +501,7 @@ static noinline int check_support(struct rvt_dev_info *rdi, int verb)
!rdi->driver_f.quiesce_qp ||
!rdi->driver_f.notify_error_qp ||
!rdi->driver_f.mtu_from_qp ||
- !rdi->driver_f.mtu_to_path_mtu ||
- !rdi->driver_f.shut_down_port ||
- !rdi->driver_f.cap_mask_chg)
+ !rdi->driver_f.mtu_to_path_mtu)
return -EINVAL;
break;