netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next RFC 0/7] Add support for resource abstraction
@ 2017-10-24  9:22 Jiri Pirko
  2017-10-24  9:22 ` [patch net-next RFC 1/7] devlink: " Jiri Pirko
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Jiri Pirko @ 2017-10-24  9:22 UTC (permalink / raw)
  To: netdev
  Cc: davem, mlxsw, andrew, vivien.didelot, f.fainelli, michael.chan,
	ganeshgr, saeedm, matanb, leonro, idosch, jakub.kicinski, ast,
	daniel, simon.horman, pieter.jansenvanvuuren, john.hurley,
	alexander.h.duyck, linville, gospo, steven.lin1, yuvalm, ogerlitz

From: Jiri Pirko <jiri@mellanox.com>

Arkadi says:

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 many cases after setting the partitioning
of the resource driver reload is needed. This patchset add support for hot
reset of the driver.

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.

Arkadi Sharshevsky (7):
  devlink: Add support for resource abstraction
  devlink: Add per devlink instance lock
  devlink: Add support for reload
  mlxsw: pci: Add support for performing bus reset
  mlxsw: Register KVD resources with devlink
  mlxsw: pci: Add support for getting resource through devlink
  mlxsw: core: Add support for reload

 drivers/net/ethernet/mellanox/mlxsw/core.c     |  79 ++++-
 drivers/net/ethernet/mellanox/mlxsw/core.h     |  15 +-
 drivers/net/ethernet/mellanox/mlxsw/i2c.c      |   4 +-
 drivers/net/ethernet/mellanox/mlxsw/pci.c      | 100 ++++---
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 148 +++++++++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h |  12 +
 include/net/devlink.h                          |  76 +++++
 include/uapi/linux/devlink.h                   |   9 +
 net/core/devlink.c                             | 385 ++++++++++++++++++++++++-
 9 files changed, 752 insertions(+), 76 deletions(-)

-- 
2.9.5

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-10-29  7:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-24  9:22 [patch net-next RFC 0/7] Add support for resource abstraction Jiri Pirko
2017-10-24  9:22 ` [patch net-next RFC 1/7] devlink: " Jiri Pirko
2017-10-25 15:26   ` David Ahern
2017-10-29  7:49     ` Arkadi Sharshevsky
2017-10-24  9:22 ` [patch net-next RFC 2/7] devlink: Add per devlink instance lock Jiri Pirko
2017-10-24  9:22 ` [patch net-next RFC 3/7] devlink: Add support for reload Jiri Pirko
2017-10-24  9:22 ` [patch net-next RFC 4/7] mlxsw: pci: Add support for performing bus reset Jiri Pirko
2017-10-24  9:22 ` [patch net-next RFC 5/7] mlxsw: Register KVD resources with devlink Jiri Pirko
2017-10-25 16:40   ` David Ahern
2017-10-24  9:22 ` [patch net-next RFC 6/7] mlxsw: pci: Add support for getting resource through devlink Jiri Pirko
2017-10-24  9:22 ` [patch net-next RFC 7/7] mlxsw: core: Add support for reload Jiri Pirko
2017-10-25 15:31   ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).