diff options
author | Jiri Pirko <[email protected]> | 2019-05-29 10:59:44 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-05-30 12:30:47 -0700 |
commit | ef74422020aa8c224b00a927e3e47faac4d8fae3 (patch) | |
tree | a8701de675aa99c7bfa9c6561b491eba1c4516ea /lib/test-string_helpers.c | |
parent | 84b3fd1fc9592d431e23b077e692fa4e3fd0f086 (diff) |
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions