diff options
Diffstat (limited to 'include/rdma/rdma_netlink.h')
| -rw-r--r-- | include/rdma/rdma_netlink.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rdma/rdma_netlink.h b/include/rdma/rdma_netlink.h index 10732ab31ba2..6631624e4d7c 100644 --- a/include/rdma/rdma_netlink.h +++ b/include/rdma/rdma_netlink.h | |||
| @@ -6,6 +6,12 @@ | |||
| 6 | #include <linux/netlink.h> | 6 | #include <linux/netlink.h> |
| 7 | #include <uapi/rdma/rdma_netlink.h> | 7 | #include <uapi/rdma/rdma_netlink.h> |
| 8 | 8 | ||
| 9 | enum { | ||
| 10 | RDMA_NLDEV_ATTR_EMPTY_STRING = 1, | ||
| 11 | RDMA_NLDEV_ATTR_ENTRY_STRLEN = 16, | ||
| 12 | RDMA_NLDEV_ATTR_CHARDEV_TYPE_SIZE = 32, | ||
| 13 | }; | ||
| 14 | |||
| 9 | struct rdma_nl_cbs { | 15 | struct rdma_nl_cbs { |
| 10 | int (*doit)(struct sk_buff *skb, struct nlmsghdr *nlh, | 16 | int (*doit)(struct sk_buff *skb, struct nlmsghdr *nlh, |
| 11 | struct netlink_ext_ack *extack); | 17 | struct netlink_ext_ack *extack); |
| @@ -110,4 +116,6 @@ void rdma_link_register(struct rdma_link_ops *ops); | |||
| 110 | void rdma_link_unregister(struct rdma_link_ops *ops); | 116 | void rdma_link_unregister(struct rdma_link_ops *ops); |
| 111 | 117 | ||
| 112 | #define MODULE_ALIAS_RDMA_LINK(type) MODULE_ALIAS("rdma-link-" type) | 118 | #define MODULE_ALIAS_RDMA_LINK(type) MODULE_ALIAS("rdma-link-" type) |
| 119 | #define MODULE_ALIAS_RDMA_CLIENT(type) MODULE_ALIAS("rdma-client-" type) | ||
| 120 | |||
| 113 | #endif /* _RDMA_NETLINK_H */ | 121 | #endif /* _RDMA_NETLINK_H */ |
