]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Avoid useless attempts to fast-age LAGs
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 18 Mar 2021 19:25:34 +0000 (20:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 23:24:06 +0000 (16:24 -0700)
commit71f4ab773262cb6b95ce7b93ee1b53e6358353dd
tree4b86c246b38cc23462c0f1deb04c1f12a37bc319
parent815eaa1c4c239d383c70fd390ade96c999a565fb
net: dsa: mv88e6xxx: Avoid useless attempts to fast-age LAGs

When a port is a part of a LAG, the ATU will create dynamic entries
belonging to the LAG ID when learning is enabled. So trying to
fast-age those out using the constituent port will have no
effect. Unfortunately the hardware does not support move operations on
LAGs so there is no obvious way to transform the request to target the
LAG instead.

Instead we document this known limitation and at least avoid wasting
any time on it.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c