summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorPetr Machata2019-02-20 20:32:16 +0100
committerDavid S. Miller2019-02-22 00:57:45 +0100
commit5d65f5f45eaff091a2409e67225983dad4a33423 (patch)
tree64823a14d56aeee15af141e99df78bf7fa68de08 /drivers/uwb
parentmlxsw: spectrum_buffers: Allocate prs & pms dynamically (diff)
downloadkernel-qcow2-linux-5d65f5f45eaff091a2409e67225983dad4a33423.tar.gz
kernel-qcow2-linux-5d65f5f45eaff091a2409e67225983dad4a33423.tar.xz
kernel-qcow2-linux-5d65f5f45eaff091a2409e67225983dad4a33423.zip
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 <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions