Re: [PATCH net-next v7 06/24] switchdev: convert STP update to switchdev attr set
From: Jiri Pirko <jiri@resnulli.us>
Date: 2015-05-10 19:29:38
From: Jiri Pirko <jiri@resnulli.us>
Date: 2015-05-10 19:29:38
Sun, May 10, 2015 at 06:47:51PM CEST, sfeldma@gmail.com wrote:
From: Scott Feldman <redacted> STP update is just a settable port attribute, so convert switchdev_port_stp_update to an attr set. For DSA, the prepare phase is skipped and STP updates are only done in the commit phase. This is because currently the DSA drivers don't need to allocate any memory for STP updates and the STP update will not fail to HW (unless something horrible goes wrong on the MDIO bus, in which case the prepare phase wouldn't have been able to predict anyway).
Acked-by: Jiri Pirko <jiri@resnulli.us>