summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-06-19 18:23:45 +0300
committerLeon Romanovsky <leon@kernel.org>2017-08-10 13:20:15 +0300
commit3250b4dbd87aa08c21891cabfc6f6b48b36fd7e5 (patch)
treedf27ca325bed53f561186f861b698019bf21f3e3 /include/rdma
parentff61c425c1c563f1d688d59caf3b18a395cbf9c4 (diff)
downloadlinux-3250b4dbd87aa08c21891cabfc6f6b48b36fd7e5.tar.bz2
RDMA/netlink: Rename netlink callback struct
The RDMA netlink client infrastructure was removed and made obsolete. The old infrastructure defined struct ibnl_client_cbs. Now that all uses of this have been updated to the new infrastructure, rename the struct to be compliant with the current stack naming standards: struct rdma_nl_cbs. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/rdma_netlink.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rdma/rdma_netlink.h b/include/rdma/rdma_netlink.h
index 348e0bbe0fc9..92f8832297ab 100644
--- a/include/rdma/rdma_netlink.h
+++ b/include/rdma/rdma_netlink.h
@@ -5,7 +5,7 @@
#include <linux/netlink.h>
#include <uapi/rdma/rdma_netlink.h>
-struct ibnl_client_cbs {
+struct rdma_nl_cbs {
int (*dump)(struct sk_buff *skb, struct netlink_callback *nlcb);
u8 flags;
};
@@ -21,7 +21,7 @@ enum rdma_nl_flags {
* @cb_table: A table for op->callback
*/
void rdma_nl_register(unsigned int index,
- const struct ibnl_client_cbs cb_table[]);
+ const struct rdma_nl_cbs cb_table[]);
/**
* Remove a client from IB netlink.