net: devlink: move reload fail indication to devlink core and expose to user
authorJiri Pirko <jiri@mellanox.com>
Thu, 12 Sep 2019 08:49:46 +0000 (10:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 20:11:14 +0000 (22:11 +0200)
commit2670ac2625f98557fd7e083f8aa22c297e49039e
tree28ebb70925a228cefd4eab0435e7e66f96e0719f
parent97691069dc5a4135e413d3d92200d70b46df9fe5
net: devlink: move reload fail indication to devlink core and expose to user

Currently the fact that devlink reload failed is stored in drivers.
Move this flag into devlink core. Also, expose it to the user.

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