mlxsw: spectrum_matchall: Move ingress indication into mall_entry
authorJiri Pirko <jiri@mellanox.com>
Mon, 27 Apr 2020 15:13:05 +0000 (18:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2020 19:43:29 +0000 (12:43 -0700)
commit47fa15eae487f3f454d004894671ebea53e77bde
tree159319ea50861e3b32d7aecbef5bec72ef2f9694
parentc7ea0e162fc84602fde67d41edf72ae3f4f4a14f
mlxsw: spectrum_matchall: Move ingress indication into mall_entry

Instead of having it in mirror_entry structure, move it to mall_entry
and set it during rule insertion.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c