diff options
author | Guvenc Gulce <guvenc@linux.ibm.com> | 2020-12-01 20:20:47 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-01 17:56:13 -0800 |
commit | 8f9dde4bf230f5c54a24c42a989dd9d88ec95695 (patch) | |
tree | 085d3a7f813c26a655a0949ace90547970698331 /net/smc/smc_netlink.c | |
parent | 5a7e09d58f3fe2f0d5e8f0da4b1f686491245eb5 (diff) | |
download | linux-8f9dde4bf230f5c54a24c42a989dd9d88ec95695.tar.gz linux-8f9dde4bf230f5c54a24c42a989dd9d88ec95695.tar.bz2 linux-8f9dde4bf230f5c54a24c42a989dd9d88ec95695.zip |
net/smc: Add SMC-D Linkgroup diagnostic support
Deliver SMCD Linkgroup information via netlink based
diagnostic interface.
Signed-off-by: Guvenc Gulce <guvenc@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc/smc_netlink.c')
-rw-r--r-- | net/smc/smc_netlink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/smc/smc_netlink.c b/net/smc/smc_netlink.c index a41f78f488a2..95bce936534f 100644 --- a/net/smc/smc_netlink.c +++ b/net/smc/smc_netlink.c @@ -38,6 +38,11 @@ static const struct genl_ops smc_gen_nl_ops[] = { /* can be retrieved by unprivileged users */ .dumpit = smcr_nl_get_link, }, + { + .cmd = SMC_NETLINK_GET_LGR_SMCD, + /* can be retrieved by unprivileged users */ + .dumpit = smcd_nl_get_lgr, + }, }; static const struct nla_policy smc_gen_nl_policy[2] = { |