diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-05-19 17:00:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-22 19:37:32 -0400 |
commit | fd364541319749c9880bf3ad613eac80fc6ea91e (patch) | |
tree | 80db28f244cc07501240bc2e008c3d31baf7554c /fs/kernfs | |
parent | 0172397e2fcc29dc803c7d0b22aa2a25e4b02991 (diff) | |
download | lwn-fd364541319749c9880bf3ad613eac80fc6ea91e.tar.gz lwn-fd364541319749c9880bf3ad613eac80fc6ea91e.zip |
net: dsa: change scope of STP state setter
Instead of having multiple STP state helpers scoping a slave device
supporting both the DSA logic and the switchdev binding, provide a
single dsa_port_set_state helper scoping a DSA port, as well as its
dsa_port_set_state_now wrapper which skips the prepare phase.
This allows us to better separate the DSA logic from the slave device
handling.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions