diff options
| author | Amit Cohen <[email protected]> | 2022-06-27 07:06:11 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-06-28 12:31:36 +0000 |
| commit | fad8e1b6d52de875a63a64c465be7349958bb561 (patch) | |
| tree | d7550a972e20f872d812f4cc12f911a46bf8cc72 /net/unix/sysctl_net_unix.c | |
| parent | mlxsw: spectrum_fid: Configure flooding table type for rFID (diff) | |
| download | kernel-fad8e1b6d52de875a63a64c465be7349958bb561.tar.gz kernel-fad8e1b6d52de875a63a64c465be7349958bb561.zip | |
mlxsw: Prepare 'bridge_type' field for SFMR usage
Under the legacy bridge model, the field 'bridge_type' is used only
in SFGC register, to determine the type of flood table (FID/FID offset).
Under the unified bridge model, it will be used also in SFMR register.
When a BUM packet needs to be flooded, SFGC is used to provide the
'mid_base' for PGT table. The access to SFGC is by
{packet type, bridge type}. Under the unified bridge model, software is
responsible for configuring 'bridge_type' as part of SFMR.
As preparation for the new required configuration, rename
'enum mlxsw_reg_sfgc_bridge_type' to 'enum mlxsw_reg_bridge_type'. Then
it can be used also in SFMR. In addition, align the names of the values to
internal documentation.
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
