netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next 0/5] mlxsw: Query resources from firmware
@ 2017-03-24  7:02 Jiri Pirko
  2017-03-24  7:02 ` [patch net-next 1/5] mlxsw: spectrum_router: Query number of LPM trees " Jiri Pirko
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jiri Pirko @ 2017-03-24  7:02 UTC (permalink / raw)
  To: netdev; +Cc: davem, idosch, mlxsw

From: Jiri Pirko <jiri@mellanox.com>

Ido says:

Some parts of the driver already use the resource query mechanism, but
in other parts we still rely on hard coded values that may change over
time.

This patchset removes most of these remaining values and queries them
from the firmware instead.

Ido Schimmel (5):
  mlxsw: spectrum_router: Query number of LPM trees from firmware
  mlxsw: Query maximum number of ports from firmware
  mlxsw: spectrum_buffers: Query shared buffer size from firmware
  mlxsw: spectrum: Refactor port buffer configuration
  mlxsw: spectrum: Query cell size from firmware

 drivers/net/ethernet/mellanox/mlxsw/core.c         |  46 ++++-
 drivers/net/ethernet/mellanox/mlxsw/core.h         |   2 +
 drivers/net/ethernet/mellanox/mlxsw/port.h         |  10 +-
 drivers/net/ethernet/mellanox/mlxsw/resources.h    |   4 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     | 107 +++++++++---
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     |  52 +++---
 .../net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 187 +++++++++++++--------
 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  |  51 +++++-
 .../ethernet/mellanox/mlxsw/spectrum_switchdev.c   |   2 +-
 drivers/net/ethernet/mellanox/mlxsw/switchx2.c     |   7 +-
 10 files changed, 314 insertions(+), 154 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-03-24 20:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-24  7:02 [patch net-next 0/5] mlxsw: Query resources from firmware Jiri Pirko
2017-03-24  7:02 ` [patch net-next 1/5] mlxsw: spectrum_router: Query number of LPM trees " Jiri Pirko
2017-03-24  7:02 ` [patch net-next 2/5] mlxsw: Query maximum number of ports " Jiri Pirko
2017-03-24  7:02 ` [patch net-next 3/5] mlxsw: spectrum_buffers: Query shared buffer size " Jiri Pirko
2017-03-24  7:02 ` [patch net-next 4/5] mlxsw: spectrum: Refactor port buffer configuration Jiri Pirko
2017-03-24  7:02 ` [patch net-next 5/5] mlxsw: spectrum: Query cell size from firmware Jiri Pirko
2017-03-24 20:54 ` [patch net-next 0/5] mlxsw: Query resources " David Miller

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).