diff options
| author | Ido Schimmel <[email protected]> | 2020-04-30 20:01:11 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-04-30 13:02:32 -0700 |
| commit | 14366da6b59203ef5fc3cf21660113b60c2f1421 (patch) | |
| tree | a7c36b6b4607436581fc96db3ff765603534699a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | eb773c3a2d98e1e1cb9076419f14ebb0a2f40951 (diff) | |
mlxsw: spectrum_span: Wrap buffer change in a function
The code that adjusts the egress buffer size is not symmetric at the
moment. The update is done via a call to
mlxsw_sp_span_port_buffer_update(), but the disablement is done inline
by invoking the write to SBIB register directly.
Wrap the disablement code in mlxsw_sp_span_port_buffer_disable().
Signed-off-by: Ido Schimmel <[email protected]>
Suggested-by: Petr Machata <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions