diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-21 01:58:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 23:55:14 +0100 |
commit | cc0c207a5d18333fbfecc964a47ddb182fbcb720 (patch) | |
tree | 1956a8953ff029c2d4c73bfdb35750a692d7ad32 /Documentation/networking | |
parent | net: bridge: Stop calling switchdev_port_attr_get() (diff) | |
download | linux-cc0c207a5d18333fbfecc964a47ddb182fbcb720.tar.xz linux-cc0c207a5d18333fbfecc964a47ddb182fbcb720.zip |
net: Remove SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS_SUPPORT
Now that we have converted the bridge code and the drivers to check for
bridge port(s) flags at the time we try to set them, there is no need
for a get() -> set() sequence anymore and
SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS_SUPPORT therefore becomes unused.
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/switchdev.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/networking/switchdev.txt b/Documentation/networking/switchdev.txt index f3244d87512a..79c8b0f16aee 100644 --- a/Documentation/networking/switchdev.txt +++ b/Documentation/networking/switchdev.txt @@ -232,10 +232,8 @@ Learning_sync attribute enables syncing of the learned/forgotten FDB entry to the bridge's FDB. It's possible, but not optimal, to enable learning on the device port and on the bridge port, and disable learning_sync. -To support learning and learning_sync port attributes, the driver implements -switchdev op switchdev_port_attr_get/set for -SWITCHDEV_ATTR_PORT_ID_BRIDGE_FLAGS. The driver should initialize the attributes -to the hardware defaults. +To support learning, the driver implements switchdev op +switchdev_port_attr_get/set for SWITCHDEV_ATTR_PORT_ID_BRIDGE_FLAGS. FDB Ageing ^^^^^^^^^^ |