]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
devlink: Add devlink health port reporters API
authorVladyslav Tarasiuk <vladyslavt@mellanox.com>
Fri, 10 Jul 2020 12:25:11 +0000 (15:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jul 2020 21:32:02 +0000 (14:32 -0700)
commit15c724b997a8fe1a677cf11797fb29c0bdecc63f
tree28f195db469d2b3fc11d88210a8a67bed2d87a8e
parentf4f541660121aeb91a1b462ab3f3c5a86ab7c3dd
devlink: Add devlink health port reporters API

In order to use new devlink port health reporters infrastructure, add
corresponding constructor and destructor functions.

Signed-off-by: Vladyslav Tarasiuk <vladyslavt@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
net/core/devlink.c