diff options
author | DENG Qingfang <dqfext@gmail.com> | 2020-12-08 08:00:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-12-09 01:18:26 +0100 |
commit | ea6d5c924e391872d402acac38461a5f8261e57f (patch) | |
tree | cdb6a7616c7c210c464268b32e9429368335bbea /lib/clz_tab.c | |
parent | Merge branch 'GVE-Raw-Addressing' (diff) | |
download | linux-ea6d5c924e391872d402acac38461a5f8261e57f.tar.xz linux-ea6d5c924e391872d402acac38461a5f8261e57f.zip |
net: dsa: mt7530: support setting ageing time
MT7530 has a global address age control register, so use it to set
ageing time.
The applied timer is (AGE_CNT + 1) * (AGE_UNIT + 1) seconds
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions