diff options
author | David S. Miller <davem@davemloft.net> | 2019-09-16 22:07:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-16 22:07:59 +0200 |
commit | 990925fad5c227269c3fcb76c7c46811b1e86c73 (patch) | |
tree | 94919d2ddeb333521b4857a38e8243c6b5c213cd /Documentation/networking/devlink-trap.rst | |
parent | b63e1a02d74bd92a346f4b9254bc0f3f1e776810 (diff) | |
parent | a759ab6dacd0dd8e27f60f19bb92c2201db213fb (diff) |
Merge branch 'mlxsw-spectrum_buffers-Add-the-ability-to-query-the-CPU-ports-shared-buffer'
Ido Schimmel says:
====================
mlxsw: spectrum_buffers: Add the ability to query the CPU port's shared buffer
Shalom says:
While debugging packet loss towards the CPU, it is useful to be able to
query the CPU port's shared buffer quotas and occupancy.
Patch #1 prevents changing the CPU port's threshold and binding.
Patch #2 registers the CPU port with devlink.
Patch #3 adds the ability to query the CPU port's shared buffer quotas and
occupancy.
v3:
Patch #2:
* Remove unnecessary wrapping
v2:
Patch #1:
* s/0/MLXSW_PORT_CPU_PORT/
* Assign "mlxsw_sp->ports[MLXSW_PORT_CPU_PORT]" at the end of
mlxsw_sp_cpu_port_create() to avoid NULL assignment on error path
* Add common functions for mlxsw_core_port_init/fini()
Patch #2:
* Move "changing CPU port's threshold and binding" check to a separate
patch
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/devlink-trap.rst')
0 files changed, 0 insertions, 0 deletions