]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: add generic netlink support for system EID
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 14 Sep 2021 08:35:07 +0000 (10:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Sep 2021 11:49:10 +0000 (12:49 +0100)
commit9d09b1c6901944ddef653da7b09a9476522ff039
tree61524c08f38942c6a9477d717f479f8af34e5281
parente81e3c884ed0e02d6a09b0ab3a7e52fc1a209141
net/smc: add generic netlink support for system EID

With SMC-Dv2 users can configure if the static system EID should be used
during CLC handshake, or if only user EIDs are allowed.
Add generic netlink support to enable and disable the system EID, and
to retrieve the system EID and its current enabled state.

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>
include/uapi/linux/smc.h
net/smc/smc_clc.c
net/smc/smc_clc.h
net/smc/smc_netlink.c