]> git.baikalelectronics.ru Git - kernel.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)
commit1f3646713df713a0fba15eafdf52abccfc4858b3
tree2b6800ba437b9453f69e37da5cee4c27a10470a4
parentd10112532c0004f2627c9dd7b2bac8eef7a79a73
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