]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
switchdev: add switchdev_trans_ph_prepare/commit helpers
authorJiri Pirko <jiri@mellanox.com>
Thu, 24 Sep 2015 08:02:43 +0000 (10:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 05:59:21 +0000 (22:59 -0700)
commit8bdb427206f077cdb567bf34da2e7212ecb2603c
tree2b6800ba437b9453f69e37da5cee4c27a10470a4
parentf8db83486e316ff50f97961a82b614985645508e
switchdev: add switchdev_trans_ph_prepare/commit helpers

Add helpers which should be used int attr_set/obj_add switchdev ops to
check the phase of transaction.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h