]> 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)
commit2669ee37a4fdf8e6958b4cd878e564f96dcb09e1
treec1cdfebacbe5d09e904ef185faafd7d8dffc7ee8
parent2f7a9497e792b5a1f388de9feb442f7e66a332df
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