rocker: push struct switchdev_trans down through rocker code
authorJiri Pirko <jiri@mellanox.com>
Thu, 24 Sep 2015 08:02:44 +0000 (10:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 05:59:21 +0000 (22:59 -0700)
commit76c6f945cc8ec92918ab5459eaa0958dedbfbcfe
treedbb99ecdcae2e974d742086f822df02371fca8ff
parent8bdb427206f077cdb567bf34da2e7212ecb2603c
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>
drivers/net/ethernet/rocker/rocker.c