diff options
| author | Petr Machata <[email protected]> | 2019-02-20 19:32:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-21 15:57:45 -0800 |
| commit | 5d65f5f45eaff091a2409e67225983dad4a33423 (patch) | |
| tree | 64823a14d56aeee15af141e99df78bf7fa68de08 /scripts/gdb/linux/modules.py | |
| parent | 93d201f7757e0ec079bc72344fe3577b7333a585 (diff) | |
mlxsw: spectrum_buffers: Keep pool descriptors in mlxsw_sp_sb_vals
Keep the table of pool descriptors and its length in struct
mlxsw_sp_sb_vals so that it can be specialized per chip type. Redirect
all users from the global definitions to the mlxsw_sp_sb fields.
Give mlxsw_sp_pool_count() an extra mlxsw_sp parameter so that it can
access the descriptor table.
Drop the now unnecessary MLXSW_SP_SB_POOL_DESS_LEN.
Signed-off-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions