diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2018-05-02 10:17:34 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-02 20:15:17 +0300 |
| commit | 6290182b2b3bda119ecb243fb3d6bcc98a74344f (patch) | |
| tree | bd1df58b5b4055cf7050885bcb5396abbe5f86bb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 794451c1b57fa3871f51b62c0e430f44073e7cfc (diff) | |
| download | linux-6290182b2b3bda119ecb243fb3d6bcc98a74344f.tar.xz | |
mlxsw: spectrum_router: Return an error for non-default FIB rules
Since commit 9776d32537d2 ("net: Move call_fib_rule_notifiers up in
fib_nl_newrule") it is possible to forbid the installation of
unsupported FIB rules.
Have mlxsw return an error for non-default FIB rules in addition to the
existing extack message.
Example:
# ip rule add from 198.51.100.1 table 10
Error: mlxsw_spectrum: FIB rules not supported.
Note that offload is only aborted when non-default FIB rules are already
installed and merely replayed during module initialization.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
