diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-02-26 17:32:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-01 22:07:29 +0100 |
commit | bfcd3a46617209454cfc0947ab093e37fd1e84ef (patch) | |
tree | 95eeb37695a1b78d4b99f4c4c4a616deed26825a /net/Kconfig | |
parent | Merge branch 'tc-sw-only' (diff) | |
download | linux-bfcd3a46617209454cfc0947ab093e37fd1e84ef.tar.xz linux-bfcd3a46617209454cfc0947ab093e37fd1e84ef.zip |
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>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index b80efecfc1a0..6c9cfb0d7639 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -396,6 +396,13 @@ config DST_CACHE bool "dst cache" default n +config NET_DEVLINK + tristate "Network physical/parent device Netlink interface" + help + Network physical/parent device Netlink interface provides + infrastructure to support access to physical chip-wide config and + monitoring. + endif # if NET # Used by archs to tell that they support BPF_JIT |