mlxsw: spectrum_flower: Do not force matching on iif
authorIdo Schimmel <idosch@nvidia.com>
Mon, 29 May 2023 11:48:33 +0000 (14:48 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 31 May 2023 06:37:00 +0000 (23:37 -0700)
commit0b9cd74b8d1e07111a048e8eeb15f54f2ed9cbe2
tree6ede67196d9ca8b02c06101afe87279643965ee5
parentd04e265096784b4cebeb627b21f0f27410d20dc4
mlxsw: spectrum_flower: Do not force matching on iif

Currently, mlxsw only supports the 'ingress_ifindex' field in the
'FLOW_DISSECTOR_KEY_META' key, but subsequent patches are going to add
support for the 'l2_miss' field as well. It is valid to only match on
'l2_miss' without 'ingress_ifindex', so do not force matching on it.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c