summaryrefslogtreecommitdiff
path: root/net/smc/smc_netlink.h
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2021-09-14 10:35:05 +0200
committerDavid S. Miller <davem@davemloft.net>2021-09-14 12:49:10 +0100
commitfa0866625543b4d8b3d026e4e0ef5ec25a453920 (patch)
treed272a11bf2f511b76c1f74251d53fa4482e0878f /net/smc/smc_netlink.h
parentf787e3cfeaa62fba8077ae6b0087d12122ea7af8 (diff)
net/smc: add support for user defined EIDs
SMC-Dv2 allows users to define EIDs which allows to create separate name spaces enabling users to cluster their SMC-Dv2 connections. Add support for user defined EIDs and extent the generic netlink interface so users can add, remove and dump EIDs. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Reviewed-by: Guvenc Gulce <guvenc@linux.ibm.com> Signed-off-by: Guvenc Gulce <guvenc@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_netlink.h')
-rw-r--r--net/smc/smc_netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/smc/smc_netlink.h b/net/smc/smc_netlink.h
index 5ce2c0a89ccd..e8c6c3f0e98c 100644
--- a/net/smc/smc_netlink.h
+++ b/net/smc/smc_netlink.h
@@ -17,6 +17,8 @@
extern struct genl_family smc_gen_nl_family;
+extern const struct nla_policy smc_gen_ueid_policy[];
+
struct smc_nl_dmp_ctx {
int pos[3];
};