]> 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)
commit9c6b89eccaad15dd171e77ec0b3be651779fe506
tree2bb1f4e5265077009ab346ea8d0f2e12c70d7ab6
parentc719b2cc087580bcb016d390a96934ef8651e4c7
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