Return-Path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:33655 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbeBSL2q (ORCPT ); Mon, 19 Feb 2018 06:28:46 -0500 Received: by mail-wr0-f194.google.com with SMTP id s5so9271685wra.0 for ; Mon, 19 Feb 2018 03:28:45 -0800 (PST) From: Jiri Pirko To: netdev@vger.kernel.org Cc: davem@davemloft.net, idosch@mellanox.com, arkadis@mellanox.com, mlxsw@mellanox.com Subject: [patch net-next 0/5] Expose KVD linear parts as resources Date: Mon, 19 Feb 2018 12:28:38 +0100 Message-Id: <20180219112843.6762-1-jiri@resnulli.us> Sender: netdev-owner@vger.kernel.org List-ID: 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. 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