summaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-06-05 17:14:09 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-05 18:32:37 +0200
commitac0fc8a1bbcbe03ee67278afded105c05eb3535e (patch)
treecb1f064bd3f17b7d66e7a4f8069888b62b29f92e /drivers/net/netdevsim
parentnet: metrics: add proper netlink validation (diff)
downloadlinux-ac0fc8a1bbcbe03ee67278afded105c05eb3535e.tar.xz
linux-ac0fc8a1bbcbe03ee67278afded105c05eb3535e.zip
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')
-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,