commit | 76c6f945cc8ec92918ab5459eaa0958dedbfbcfe | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Sep 24 10:02:44 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 24 22:59:21 2015 -0700 |
tree | dbb99ecdcae2e974d742086f822df02371fca8ff | |
parent | 8bdb427206f077cdb567bf34da2e7212ecb2603c [diff] |
rocker: push struct switchdev_trans down through rocker code There will be needed to have switchdev_trans available down in the call chain, so propagate it instead of trans phase enum. This enum will be removed anyway. Also, use prepare/commit phase check helpers to get information about current phase of transaction. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>