diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-19 17:23:45 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2017-08-10 12:20:15 +0200 |
commit | 3250b4dbd87aa08c21891cabfc6f6b48b36fd7e5 (patch) | |
tree | df27ca325bed53f561186f861b698019bf21f3e3 /include/rdma | |
parent | RDMA/netlink: Simplify and rename ibnl_chk_listeners (diff) | |
download | linux-3250b4dbd87aa08c21891cabfc6f6b48b36fd7e5.tar.xz linux-3250b4dbd87aa08c21891cabfc6f6b48b36fd7e5.zip |
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.h | 4 |
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. |