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)
commit03bf0c281234028388108d0aee720954f5fe6924
treec1cdfebacbe5d09e904ef185faafd7d8dffc7ee8
parentff8b335610cac5509156f28e03355c895bcc94f5
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