diff options
author | Jiri Pirko <[email protected]> | 2019-07-27 20:32:56 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-27 14:32:31 -0700 |
commit | c9588e28123c563a355964c6ee8ca5dd28aebd6a (patch) | |
tree | b6a8b5bf1812d3f3c696862f3adc20d2523ae85c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 185556f092491120ea2bd7eab6f9f78ff6c4d6d0 (diff) |
mlxsw: spectrum_acl: Track rules that forbid egress block bind
Some matches and actions are not supported on egress. Track such rules
and forbid a bind of block which contains them to egress.
With this patch, the kernel tells the user he cannot do that:
$ tc qdisc add dev ens16np1 ingress_block 22 clsact
$ tc filter add block 22 protocol 802.1q pref 2 handle 101 flower vlan_id 100 skip_sw action pass
$ tc qdisc add dev ens16np2 egress_block 22 clsact
Error: mlxsw_spectrum: Block cannot be bound to egress because it contains unsupported rules.
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions