diff options
author | David Ahern <dsahern@gmail.com> | 2018-06-05 18:14:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-05 19:32:37 +0300 |
commit | ac0fc8a1bbcbe03ee67278afded105c05eb3535e (patch) | |
tree | cb1f064bd3f17b7d66e7a4f8069888b62b29f92e /drivers/net/netdevsim/devlink.c | |
parent | 5b5e7a0de2bbf2a1afcd9f49e940010e9fb80d53 (diff) | |
download | linux-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.c | 3 |
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, |