mlxsw: reg: Add nve_flood_prf_id field to SFMR
authorPetr Machata <petrm@nvidia.com>
Thu, 14 Dec 2023 13:19:05 +0000 (14:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 10:58:00 +0000 (10:58 +0000)
commitd9d441e8e89db78683032bcedb74964575a8eafe
tree5b5fa2e74e4d2d766ae161cffd3a15d573247dce
parent523e1f5f3754fa738f2ab6eb6f4d2b6f51d10b83
mlxsw: reg: Add nve_flood_prf_id field to SFMR

The field is used for setting a flood profile for lookup of KVD entry for
NVE underlay. As the other uses of flood profile, this references a traffic
type-to-offset mapping, except here it is not applied to PGT offsets, but
KVD offsets.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h