]> git.baikalelectronics.ru Git - kernel.git/commit
switchdev: introduce switchdev notifier
authorJiri Pirko <jiri@resnulli.us>
Thu, 15 Jan 2015 22:49:36 +0000 (23:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 05:23:57 +0000 (00:23 -0500)
commit8756fd70406d71b50c04a3b8d10f89221e0523ed
treec1cdfebacbe5d09e904ef185faafd7d8dffc7ee8
parentee34e662385d10f46fffce913f5e1aac18303acd
switchdev: introduce switchdev notifier

This patch introduces new notifier for purposes of exposing events which happen
on switch driver side. The consumers of the event messages are mainly involved
masters, namely bridge and ovs.

Suggested-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h
net/switchdev/switchdev.c