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>
This commit is contained in:

committed by
Leon Romanovsky

parent
ff61c425c1
commit
3250b4dbd8
@@ -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.
|
||||
|
Reference in New Issue
Block a user