diff options
author | Arkadi Sharshevsky <arkadis@mellanox.com> | 2018-01-15 08:59:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-16 20:15:34 +0100 |
commit | 2d8dc5bbf4e7603747875eb5cadcd67c1fa8b1bb (patch) | |
tree | f47537503b83bd112c2530176ca7321ffe0f81d9 /include/net/devlink.h | |
parent | devlink: Add support for resource abstraction (diff) | |
download | linux-2d8dc5bbf4e7603747875eb5cadcd67c1fa8b1bb.tar.xz linux-2d8dc5bbf4e7603747875eb5cadcd67c1fa8b1bb.zip |
devlink: Add support for reload
Add support for performing driver hot reload.
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r-- | include/net/devlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h index ceb1895d119b..c698883fb0bb 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -281,6 +281,7 @@ struct devlink_resource { #define DEVLINK_RESOURCE_ID_PARENT_TOP 0 struct devlink_ops { + int (*reload)(struct devlink *devlink); int (*port_type_set)(struct devlink_port *devlink_port, enum devlink_port_type port_type); int (*port_split)(struct devlink *devlink, unsigned int port_index, |