diff options
author | Parav Pandit <parav@mellanox.com> | 2018-12-18 13:28:30 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-14 21:05:14 +0100 |
commit | ea4baf7f116a18382df331db2123d98bc1c3cd83 (patch) | |
tree | eda84e63f296b43e6132b1924b9887617e639714 /include/rdma/rdma_vt.h | |
parent | RDMA: Clear CTX objects during their allocation (diff) | |
download | linux-ea4baf7f116a18382df331db2123d98bc1c3cd83.tar.xz linux-ea4baf7f116a18382df331db2123d98bc1c3cd83.zip |
RDMA: Rename port_callback to init_port
Most provider routines are callback routines which ib core invokes.
_callback suffix doesn't convey information about when such callback is
invoked. Therefore, rename port_callback to init_port.
Additionally, store the init_port function pointer in ib_device_ops, so
that it can be accessed in subsequent patches when binding rdma device to
net namespace.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/rdma_vt.h')
-rw-r--r-- | include/rdma/rdma_vt.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h index dd0ed8048bb4..acb3bc96dfa7 100644 --- a/include/rdma/rdma_vt.h +++ b/include/rdma/rdma_vt.h @@ -250,9 +250,6 @@ struct rvt_driver_provided { */ void (*do_send)(struct rvt_qp *qp); - /* Passed to ib core registration. Callback to create syfs files */ - int (*port_callback)(struct ib_device *, u8, struct kobject *); - /* * Returns a pointer to the undelying hardware's PCI device. This is * used to display information as to what hardware is being referenced |