net: switchdev: Add extack argument to switchdev_port_obj_add()
authorPetr Machata <petrm@mellanox.com>
Wed, 12 Dec 2018 17:02:52 +0000 (17:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Dec 2018 00:34:21 +0000 (16:34 -0800)
commit69b7320e14e6e8c7a77fa5803cecc86434a1162d
tree8b7a52552bdea210f55d06d9ecc0b5a5e47f07be
parent169327d5850cb80d98d095cfaf8dfbb63d576864
net: switchdev: Add extack argument to switchdev_port_obj_add()

After the previous patch, bridge driver has extack argument available to
pass to switchdev. Therefore extend switchdev_port_obj_add() with this
argument, updating all callers, and passing the argument through to
switchdev_port_obj_notify().

Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h
net/bridge/br_mdb.c
net/bridge/br_switchdev.c
net/switchdev/switchdev.c