• Amit Cohen's avatar
    mlxsw: spectrum_fid: Configure flooding table type for rFID · 93303ff8
    Amit Cohen authored
    Using unified bridge model, RITR register no longer configures the rFID
    used for sub-port RIFs. It needs to be created by software via SFMR. Such
    FIDs need to be created with a special flood indication using
    'SFMR.flood_rsp=1'. It means that for such FIDs, router sub-port flooding
    table will be used, this table is configured by firmware.
    
    Set the above mentioned field as part of FID initialization and FID
    edition, so then when other fields will be updated in SFMR, this field
    will store the correct value and will not be overwritten.
    
    Add 'flood_rsp' variable to 'struct mlxsw_sp_fid_family', set it to true
    for rFID and to false for the rest.
    Signed-off-by: default avatarAmit Cohen <amcohen@nvidia.com>
    Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
    Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    93303ff8
reg.h 368 KB