diff options
| author | Petr Machata <[email protected]> | 2020-09-16 09:35:14 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-16 15:19:29 -0700 |
| commit | 3a77f5a2d23aab8b12b74d12ca429cba5b5db317 (patch) | |
| tree | 2c15ba15faf2cd0c27101941defb94d901a797f3 /tools/perf/scripts/python/bin | |
| parent | 045e42f3e6b1dd4c78ec82e980894543be86f782 (diff) | |
mlxsw: spectrum_buffers: Add struct mlxsw_sp_hdroom
The port headroom handling is currently strewn across several modules and
tricky to follow: MTU, DCB PFC, DCB ETS and ethtool pause all influence the
settings, and then there is the completely separate initial configuraion in
spectrum_buffers. A following patch will implement the dcbnl_setbuffer
callback, which is going to further complicate the landscape.
In order to simplify work with port buffers, the following patches are
going to centralize all port-buffer handling in spectrum_buffers. As a
first step, introduce a (currently empty) struct mlxsw_sp_hdroom that will
keep the configuration parameters, and allocate and free it in appropriate
places.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions