diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-04-22 12:08:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-22 22:09:32 -0700 |
commit | 8f6862065d8be320ba45a52c8a361b580722fc18 (patch) | |
tree | 4e5c0b3d9ffe913848b0ee2106a80ad5779de637 /Documentation/infiniband | |
parent | f2ad1a522e9817fba7799008e0a8dc6f8a32bf7d (diff) |
mlxsw: spectrum_buffers: Add extack messages for invalid configurations
Add extack messages to better communicate invalid configuration to the
user.
Example:
# devlink sb pool set pci/0000:01:00.0 pool 0 size 104857600 thtype dynamic
Error: mlxsw_spectrum: Exceeded shared buffer size.
devlink answers: Invalid argument
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/infiniband')
0 files changed, 0 insertions, 0 deletions