net: dsa: Handle SWITCHDEV_PORT_ATTR_SET
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 27 Feb 2019 19:44:27 +0000 (11:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2019 20:39:56 +0000 (12:39 -0800)
commit9ed1eced2d66ddfa30a5b55ce7b57ca3d00e4f5f
tree88926fa79462a0d750de3f4eef9b5a68baf31609
parent4f7054867cad2dd050c9e03ab3d5d3a30bb6f6e8
net: dsa: Handle SWITCHDEV_PORT_ATTR_SET

Following patches will change the way we communicate setting a port's
attribute and use notifiers towards that goal.

Prepare DSA to support receiving notifier events targeting
SWITCHDEV_PORT_ATTR_SET from both atomic and process context and use a
small helper to translate the event notifier into something that
dsa_slave_port_attr_set() can process.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c