OSDN Git Service

net: devlink: split reload op into two
authorJiri Pirko <jiri@mellanox.com>
Thu, 12 Sep 2019 08:49:45 +0000 (10:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 20:11:14 +0000 (22:11 +0200)
commit97691069dc5a4135e413d3d92200d70b46df9fe5
tree2f4e2610bb8dc72be3affba651b57d10b73f9a6e
parent35c7ff349a2d1df1b59909f67ba4ddcd84ad934e
net: devlink: split reload op into two

In order to properly implement failure indication during reload,
split the reload op into two ops, one for down phase and one for
up phase.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/netdevsim/dev.c
include/net/devlink.h
net/core/devlink.c