aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2022-06-21 11:33:43 +0300
committerDavid S. Miller <[email protected]>2022-06-22 12:56:58 +0100
commit736bf371d2d460c9ded1073e8490be1d294ee177 (patch)
treecd727249327bda24b720bdf9d4358257725258e6 /include/linux
parent6131d9630d986495fc660a64c0df5fd648569a1b (diff)
mlxsw: spectrum_fid: Save 'fid_offset' as part of FID structure
SFMR register contains a 'fid_offset' field which is used when flooding tables of type FID offset are used. Currently, the driver sets this field to zero, as flooding tables of type FID are used. Using unified bridge model, the driver will use FID offset flooding tables. As preparation, add 'fid_offset' to 'struct mlxsw_sp_fid'. Then, use this field instead of passing zero to the function that configures SFMR. Set the new field as part of 'ops->setup()', for that, implement this function for dummy FID and rFID. Signed-off-by: Amit Cohen <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions