]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/ncsi: Add generic netlink family
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 5 Mar 2018 00:39:05 +0000 (11:39 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Apr 2021 09:57:51 +0000 (11:57 +0200)
commitf4e7325060fe9d7f6b223fee7d2a28bf91ba8cb9
tree8bd41c605d68b0b2dfad6ffd5c454a74ffc03591
parent32e0a805c060b38ca4665bd91ff32ce34433f66f
net/ncsi: Add generic netlink family

commit 955dc68cb9b23b42999cafe6df3684309bc686c6 upstream.

Add a generic netlink family for NCSI. This supports three commands;
NCSI_CMD_PKG_INFO which returns information on packages and their
associated channels, NCSI_CMD_SET_INTERFACE which allows a specific
package or package/channel combination to be set as the preferred
choice, and NCSI_CMD_CLEAR_INTERFACE which clears any preferred setting.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/ncsi.h [new file with mode: 0644]
net/ncsi/Makefile
net/ncsi/internal.h
net/ncsi/ncsi-manage.c
net/ncsi/ncsi-netlink.c [new file with mode: 0644]
net/ncsi/ncsi-netlink.h [new file with mode: 0644]