net: devlink: Add extack to shared buffer operations
authorIdo Schimmel <idosch@mellanox.com>
Mon, 22 Apr 2019 12:08:39 +0000 (12:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Apr 2019 05:09:32 +0000 (22:09 -0700)
commitf2ad1a522e9817fba7799008e0a8dc6f8a32bf7d
tree763ec10d22252d8a672497a1c9a25619f8672571
parent7e5ebd0b785c5e1dbae685d56017a2bf01bad39f
net: devlink: Add extack to shared buffer operations

Add extack to shared buffer set operations, so that meaningful error
messages could be propagated to the user.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/netronome/nfp/nfp_devlink.c
include/net/devlink.h
net/core/devlink.c