]> git.baikalelectronics.ru Git - kernel.git/commit
switchdev: Add SWITCHDEV_PORT_ATTR_SET
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 27 Feb 2019 19:44:25 +0000 (11:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2019 20:39:55 +0000 (12:39 -0800)
commitaa5917cc843ce94a3cca304704a18ae22db85b00
tree5fba4afb6297475d26c9931c384df7f7a5ef4ee5
parent88a3cff55d71f85a4a5c8f1b74413ade0151411d
switchdev: Add SWITCHDEV_PORT_ATTR_SET

In preparation for allowing switchdev enabled drivers to veto specific
attribute settings from within the context of the caller, introduce a
new switchdev notifier type for port attributes.

Suggested-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h
net/switchdev/switchdev.c