From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [patch net-next 00/10] Add support for resource abstraction Date: Wed, 20 Dec 2017 21:03:10 +0100 Message-ID: <20171220200310.GE1760@nanopsycho> References: <20171220115821.22171-1-jiri@resnulli.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, davem@davemloft.net, arkadis@mellanox.com, mlxsw@mellanox.com, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, michael.chan@broadcom.com, ganeshgr@chelsio.com, saeedm@mellanox.com, matanb@mellanox.com, leonro@mellanox.com, idosch@mellanox.com, jakub.kicinski@netronome.com, ast@kernel.org, daniel@iogearbox.net, simon.horman@netronome.com, pieter.jansenvanvuuren@netronome.com, john.hurley@netronome.com, alexander.h.duyck@intel.com, linville@tuxdriver.com, gospo@broadcom.com, steven.lin1@broadcom.com, yuvalm@mellanox.com, ogerlitz@mellanox.com, roopa@cumulusnetworks.com To: David Ahern Return-path: Received: from mail-wm0-f51.google.com ([74.125.82.51]:42011 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756467AbdLTUDM (ORCPT ); Wed, 20 Dec 2017 15:03:12 -0500 Received: by mail-wm0-f51.google.com with SMTP id b199so12173608wme.1 for ; Wed, 20 Dec 2017 12:03:12 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Wed, Dec 20, 2017 at 08:23:54PM CET, dsa@cumulusnetworks.com wrote: >On 12/20/17 4:58 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Many of the ASIC's internal resources are limited and are shared between >> several hardware procedures. For example, unified hash-based memory can >> be used for many lookup purposes, like FDB and LPM. In many cases the user >> can provide a partitioning scheme for such a resource in order to perform >> fine tuning for his application. In such cases performing driver reload is >> needed for the changes to take place, thus this patchset also adds support >> for hot reload. >> >> Such an abstraction can be coupled with devlink's dpipe interface, which >> models the ASIC's pipeline as a graph of match/action tables. By modeling >> the hardware resource object, and by coupling it to several dpipe tables, >> further visibility can be achieved in order to debug ASIC-wide issues. >> >> The proposed interface will provide the user the ability to understand the >> limitations of the hardware, and receive notification regarding its occupancy. >> Furthermore, monitoring the resource occupancy can be done in real-time and >> can be useful in many cases. >> --- >> Userspace part prototype can be found at https://github.com/arkadis/iproute2/ >> at resource_dev branch. >> > >The breakout problem I mentioned in the last round of patches has not >been fixed: Oops, I guess that we missed that. Thanks!