-
- Downloads
Introduce devlink infrastructure
Introduce devlink infrastructure for drivers to register and expose to userspace via generic Netlink interface. There are two basic objects defined: devlink - one instance for every "parent device", for example switch ASIC devlink port - one instance for every physical port of the device. This initial portion implements basic get/dump of objects to userspace. Also, port splitter and port type setting is implemented. Signed-off-by:Jiri Pirko <jiri@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- MAINTAINERS 8 additions, 0 deletionsMAINTAINERS
- include/net/devlink.h 140 additions, 0 deletionsinclude/net/devlink.h
- include/uapi/linux/devlink.h 72 additions, 0 deletionsinclude/uapi/linux/devlink.h
- net/Kconfig 7 additions, 0 deletionsnet/Kconfig
- net/core/Makefile 1 addition, 0 deletionsnet/core/Makefile
- net/core/devlink.c 738 additions, 0 deletionsnet/core/devlink.c
Loading
Please register or sign in to comment