]> git.baikalelectronics.ru Git - kernel.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)
commit863f5899d4054c53a139720715376dc9b65f0b51
tree2bb1f4e5265077009ab346ea8d0f2e12c70d7ab6
parent88b8c1b9a248bfc4713aa27c9c60361232ff2fc5
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