diff options
| author | Jiri Pirko <[email protected]> | 2019-05-29 07:59:44 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-30 19:30:47 +0000 |
| commit | ef74422020aa8c224b00a927e3e47faac4d8fae3 (patch) | |
| tree | a8701de675aa99c7bfa9c6561b491eba1c4516ea /tools/perf/scripts/python | |
| parent | net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT (diff) | |
| download | kernel-ef74422020aa8c224b00a927e3e47faac4d8fae3.tar.gz kernel-ef74422020aa8c224b00a927e3e47faac4d8fae3.zip | |
mlxsw: spectrum_acl: Avoid warning after identical rules insertion
When identical rules are inserted, the latter one goes to C-TCAM. For
that, a second eRP with the same mask is created. These 2 eRPs by the
nature cannot be merged and also one cannot be parent of another.
Teach mlxsw_sp_acl_erp_delta_fill() about this possibility and handle it
gracefully.
Reported-by: Alex Kushnarov <[email protected]>
Fixes: c22291f7cf45 ("mlxsw: spectrum: acl: Implement delta for ERP")
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')
0 files changed, 0 insertions, 0 deletions
