diff options
| author | David S. Miller <[email protected]> | 2018-06-05 12:32:40 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-06-05 12:32:40 -0400 |
| commit | a6fa9087fc280bba8a045d11d9b5d86cbf9a3a83 (patch) | |
| tree | 68f577e1164bbf95a81be7bcb7497a0de4e06acd /drivers/net/netdevsim/netdevsim.h | |
| parent | 5b5e7a0de2bbf2a1afcd9f49e940010e9fb80d53 (diff) | |
| parent | 3fcc773be62a9c42dc9a5c1108da298fb9f66cfa (diff) | |
Merge branch 'devlink-extack'
David Ahern says:
====================
devlink: Add extack messages for reload and port split/unsplit
Patch 1 adds extack arg to reload, port_split and port_unsplit devlink
operations.
Patch 2 adds extack messages for reload operation in netdevsim.
Patch 3 adds extack messages to port split/unsplit in mlxsw driver.
v2
- make the extack messages align with existing dev_err
====================
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/netdevsim/netdevsim.h')
| -rw-r--r-- | drivers/net/netdevsim/netdevsim.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h index 3a8581af3b85..8ca50b72c328 100644 --- a/drivers/net/netdevsim/netdevsim.h +++ b/drivers/net/netdevsim/netdevsim.h @@ -126,7 +126,8 @@ void nsim_devlink_exit(void); int nsim_fib_init(void); void nsim_fib_exit(void); u64 nsim_fib_get_val(struct net *net, enum nsim_resource_id res_id, bool max); -int nsim_fib_set_max(struct net *net, enum nsim_resource_id res_id, u64 val); +int nsim_fib_set_max(struct net *net, enum nsim_resource_id res_id, u64 val, + struct netlink_ext_ack *extack); #else static inline int nsim_devlink_setup(struct netdevsim *ns) { |