net/ncsi: Add generic netlink family
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 5 Mar 2018 00:39:05 +0000 (11:39 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 15:43:37 +0000 (10:43 -0500)
commit955dc68cb9b23b42999cafe6df3684309bc686c6
treeb357c2668aba700e94a7e4a3a87b61eca62ea66a
parentbe631892948060f44b1ceee3132be1266932071e
net/ncsi: Add generic netlink family

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>
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]