mlxsw: spectrum_switchdev: Propagate extack to bridge creation function
authorIdo Schimmel <idosch@mellanox.com>
Mon, 17 Feb 2020 14:29:32 +0000 (16:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 22:42:53 +0000 (14:42 -0800)
commit23a1a0b391a7b8fed848d907885156321b4afbf8
tree5bcd071ccf8c1ab52ec3fd15582b55eb8294aba4
parentb96f54698040a51b8a87bdf09478faad56375680
mlxsw: spectrum_switchdev: Propagate extack to bridge creation function

Propagate extack to bridge creation function so that error messages
could be passed to user space via netlink instead of printing them to
kernel log.

A subsequent patch will pass the new extack argument to more functions.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c