diff options
author | Petr Machata <[email protected]> | 2023-11-28 16:50:39 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-29 20:03:24 -0800 |
commit | 80638da22e11164e6833f8697ad94136e0a6cdd5 (patch) | |
tree | d20adfb4e924471dd8ed278145424920f6497b7c /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 1d0791168ef7a31780c5f9dc65cbdb044b7e859c (diff) |
mlxsw: spectrum_fid: Add an op for flood table initialization
In controlled flood mode, for each bridge FID family (i.e., 802.1Q and
802.1D) and packet type (i.e., UUC/MC/BC), the hardware needs to be told
which PGT address to use as the base address for the flood table and how
to determine the offset from the base for each FID.
The above is not needed in CFF mode where each FID has its own flood
table instead of the FID family itself.
Therefore, create a new FID family operation for the above configuration
and only implement it for the 802.1Q and 802.1D families in controlled
flood mode.
No functional changes intended.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/06f71415eec75811585ec597e1dd101b6dff77e7.1701183892.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions