On 29/05/2023 14:48, Ido Schimmel wrote: > Add the 'fdb_miss' key element to supported key blocks and make use of > it to match on layer 2 miss. > > The key is only supported on Spectrum-{2,3,4}. An error is returned for > Spectrum-1 since the key element is not present in any of its key > blocks. > > Signed-off-by: Ido Schimmel <idosch@xxxxxxxxxx> > --- > > Notes: > v2: > * Use 'fdb_miss' key element instead of 'dmac_type'. > > drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c | 1 + > drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h | 3 ++- > .../net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.c | 2 ++ > drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c | 6 ++---- > 4 files changed, 7 insertions(+), 5 deletions(-) > Reviewed-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>