mctp: Add device handling and netlink interface
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 29 Jul 2021 02:20:44 +0000 (10:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 14:06:50 +0000 (15:06 +0100)
commit583be982d93479ea3d85091b0fd0b01201ede87d
treeb4407ff68cdafc6bea2041b6ca0dac5be0a1bfa2
parent4b2e69305cbbc7c32ecbd946110b505c4ff6071a
mctp: Add device handling and netlink interface

This change adds the infrastructure for managing MCTP netdevices; we add
a pointer to the AF_MCTP-specific data to struct netdevice, and hook up
the rtnetlink operations for adding and removing addresses.

Includes changes from Matt Johnston <matt@codeconstruct.com.au>.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
include/linux/netdevice.h
include/net/mctp.h
include/net/mctpdevice.h [new file with mode: 0644]
include/uapi/linux/if_ether.h
include/uapi/linux/if_link.h
include/uapi/linux/mctp.h
net/mctp/Makefile
net/mctp/af_mctp.c
net/mctp/device.c [new file with mode: 0644]