commit | b80dc51b72e29318e02baace1e3c4cfe6e772904 | [log] [tgz] |
---|---|---|
author | Tobias Waldekranz <tobias@waldekranz.com> | Fri Jan 15 13:52:59 2021 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Jan 15 16:08:51 2021 -0800 |
tree | 3576d4686b95e9b42c4b063d24ed82eb839c48f3 | |
parent | d38001d30d47051eec265d68378abca7f5109e97 [diff] |
net: dsa: mv88e6xxx: Only allow LAG offload on supported hardware There are chips that do have Global 2 registers, and therefore trunk mapping/mask tables are not available. Refuse the offload as early as possible on those devices. Fixes: 57e661aae6a8 ("net: dsa: mv88e6xxx: Link aggregation support") Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>