From: Jiri Pirko <j...@mellanox.com> Arkadi says:
Expose the KVD linear partitions via the devlink resource interface. This will give the user the ability to control the linear memory division. Arkadi Sharshevsky (5): devlink: Move size validation to core devlink: Perform cleanup of resource_set cb mlxsw: spectrum_kvdl: Add support for linear division resources mlxsw: spectrum_kvdl: Add support for dynamic partition set mlxsw: spectrum_kvdl: Add support for per part occupancy drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 87 +--------- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 7 + .../net/ethernet/mellanox/mlxsw/spectrum_kvdl.c | 187 ++++++++++++++++++++- include/net/devlink.h | 4 - net/core/devlink.c | 30 +++- 5 files changed, 218 insertions(+), 97 deletions(-) -- 2.14.3