diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-01-06 09:59:38 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:37:09 -0500 |
commit | e6a8818a354db4d5a13b42d9fbc0f11ed74058e8 (patch) | |
tree | 4a56d5ed0338b332cd9d9144e220848eaa0b877b /drivers/infiniband/sw/rdmavt | |
parent | dc21752e2c930ae32f11affb2e1d7a6f8a44a16a (diff) | |
download | lwn-e6a8818a354db4d5a13b42d9fbc0f11ed74058e8.tar.gz lwn-e6a8818a354db4d5a13b42d9fbc0f11ed74058e8.zip |
IB/rdmavt: Add get port immutable stub
This adds the get port immutable verbs call.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@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')
-rw-r--r-- | drivers/infiniband/sw/rdmavt/vt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rdmavt/vt.c b/drivers/infiniband/sw/rdmavt/vt.c index 41cfd8432f7c..a122ee8341c9 100644 --- a/drivers/infiniband/sw/rdmavt/vt.c +++ b/drivers/infiniband/sw/rdmavt/vt.c @@ -198,6 +198,12 @@ static int rvt_dealloc_ucontext(struct ib_ucontext *context) return -EOPNOTSUPP; } +static int rvt_get_port_immutable(struct ib_device *ibdev, u8 port_num, + struct ib_port_immutable *immutable) +{ + return -EOPNOTSUPP; +} + /* * Check driver override. If driver passes a value use it, otherwise we use our * own value. @@ -219,6 +225,7 @@ int rvt_register_device(struct rvt_dev_info *rdi) CHECK_DRIVER_OVERRIDE(rdi, query_gid); CHECK_DRIVER_OVERRIDE(rdi, alloc_ucontext); CHECK_DRIVER_OVERRIDE(rdi, dealloc_ucontext); + CHECK_DRIVER_OVERRIDE(rdi, get_port_immutable); /* Queue Pairs */ CHECK_DRIVER_OVERRIDE(rdi, create_qp); |