diff options
| author | 2021-10-26 12:42:19 +0300 | |
|---|---|---|
| committer | 2021-10-26 13:35:57 +0100 | |
| commit | 26029225d9927b75cd26cdccc1d0b766e47b9647 (patch) | |
| tree | 50549641a8cf9adbca7d4fdc67ddff7fe258ca93 /tools/perf/scripts/python | |
| parent | mlxsw: resources: Add resource identifier for RIF MAC profiles (diff) | |
| download | linux-dev-26029225d9927b75cd26cdccc1d0b766e47b9647.tar.xz linux-dev-26029225d9927b75cd26cdccc1d0b766e47b9647.zip | |
mlxsw: spectrum_router: Propagate extack further
The next patch will set the MAC profile of a router interface (RIF) as
part of its configure() callback. The operation can fail in case the
maximum number of profiles was exceeded.
Add extack to mlxsw_sp_rif_ops::configure() in order to communicate such
failures to user space.
In addition, the MAC profile of a RIF can change following a
'NETDEV_CHANGEADDR' notification. Propagate extack to
mlxsw_sp_router_port_change_event() so that failures could be
communicated in this path as well.
No functional changes intended.
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
