Re: [patch net-next v2 0/5] mlxsw: Expose KVD linear parts as resources
From: Jiri PirkoDate: Tue, 20 Feb 2018 08:44:19 +0100 > From: Jiri Pirko > > 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. > > --- > v1->v2: > - patch1: > - fixed u64 division error reported by kbuildbot Series applied, thanks Jiri.
[patch net-next v2 0/5] mlxsw: Expose KVD linear parts as resources
From: Jiri PirkoArkadi says: Expose the KVD linear partitions via the devlink resource interface. This will give the user the ability to control the linear memory division. --- v1->v2: - patch1: - fixed u64 division error reported by kbuildbot 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 | 32 +++- 5 files changed, 220 insertions(+), 97 deletions(-) -- 2.14.3