mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net/smc: Introduce generic netlink interface for diagnostic purposes
Introduce generic netlink interface infrastructure to expose the diagnostic information regarding smc linkgroups, links and devices. 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>
This commit is contained in:
parent
49407ae2bc
commit
e8372d9d21
5 changed files with 97 additions and 2 deletions
|
@ -33,4 +33,15 @@ enum { /* SMC PNET Table commands */
|
|||
#define SMCR_GENL_FAMILY_NAME "SMC_PNETID"
|
||||
#define SMCR_GENL_FAMILY_VERSION 1
|
||||
|
||||
/* gennetlink interface to access non-socket information from SMC module */
|
||||
#define SMC_GENL_FAMILY_NAME "SMC_GEN_NETLINK"
|
||||
#define SMC_GENL_FAMILY_VERSION 1
|
||||
|
||||
/* SMC_GENL_FAMILY top level attributes */
|
||||
enum {
|
||||
SMC_GEN_UNSPEC,
|
||||
__SMC_GEN_MAX,
|
||||
SMC_GEN_MAX = __SMC_GEN_MAX - 1
|
||||
};
|
||||
|
||||
#endif /* _UAPI_LINUX_SMC_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue