]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
switchdev: introduce switchdev deferred ops infrastructure
authorJiri Pirko <jiri@mellanox.com>
Wed, 14 Oct 2015 17:40:48 +0000 (19:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 13:09:46 +0000 (06:09 -0700)
commit793f40147e82cdedc80971fa7f5596d6ed1e555e
tree2bb1f4e5265077009ab346ea8d0f2e12c70d7ab6
parentadc9048c607a08320e87befc940955d6ffe51fac
switchdev: introduce switchdev deferred ops infrastructure

Introduce infrastructure which will be used internally to defer ops.
Note that the deferred ops are queued up and either are processed by
scheduled work or explicitly by user calling deferred_process function.

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