summaryrefslogtreecommitdiff
path: root/drivers/net/netdevsim/devlink.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-06-05 18:14:09 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-05 19:32:37 +0300
commitac0fc8a1bbcbe03ee67278afded105c05eb3535e (patch)
treecb1f064bd3f17b7d66e7a4f8069888b62b29f92e /drivers/net/netdevsim/devlink.c
parent5b5e7a0de2bbf2a1afcd9f49e940010e9fb80d53 (diff)
downloadlinux-ac0fc8a1bbcbe03ee67278afded105c05eb3535e.tar.xz
devlink: Add extack to reload and port_{un, }split operations
Add extack argument to reload, port_split and port_unsplit operations. Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/devlink.c')
-rw-r--r--drivers/net/netdevsim/devlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/netdevsim/devlink.c b/drivers/net/netdevsim/devlink.c
index bef7db5d129a..e8366cf372ff 100644
--- a/drivers/net/netdevsim/devlink.c
+++ b/drivers/net/netdevsim/devlink.c
@@ -147,7 +147,8 @@ out:
return err;
}
-static int nsim_devlink_reload(struct devlink *devlink)
+static int nsim_devlink_reload(struct devlink *devlink,
+ struct netlink_ext_ack *extack)
{
enum nsim_resource_id res_ids[] = {
NSIM_RESOURCE_IPV4_FIB, NSIM_RESOURCE_IPV4_FIB_RULES,