diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-05-29 10:59:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-30 22:30:47 +0300 |
commit | ef74422020aa8c224b00a927e3e47faac4d8fae3 (patch) | |
tree | a8701de675aa99c7bfa9c6561b491eba1c4516ea /drivers/of/irq.c | |
parent | 84b3fd1fc9592d431e23b077e692fa4e3fd0f086 (diff) | |
download | linux-ef74422020aa8c224b00a927e3e47faac4d8fae3.tar.xz |
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 <alexanderk@mellanox.com>
Fixes: c22291f7cf45 ("mlxsw: spectrum: acl: Implement delta for ERP")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of/irq.c')
0 files changed, 0 insertions, 0 deletions