summaryrefslogtreecommitdiffstats
path: root/drivers/tty/rocket.h
diff options
context:
space:
mode:
authorPetr Machata2019-02-20 20:32:14 +0100
committerDavid S. Miller2019-02-22 00:57:45 +0100
commit93d201f7757e0ec079bc72344fe3577b7333a585 (patch)
tree24994ed92e11416395512489cb8e95c670d29654 /drivers/tty/rocket.h
parentmlxsw: spectrum: Add struct mlxsw_sp_sb_vals (diff)
downloadkernel-qcow2-linux-93d201f7757e0ec079bc72344fe3577b7333a585.tar.gz
kernel-qcow2-linux-93d201f7757e0ec079bc72344fe3577b7333a585.tar.xz
kernel-qcow2-linux-93d201f7757e0ec079bc72344fe3577b7333a585.zip
mlxsw: spectrum_buffers: Allocate prs & pms dynamically
Spectrum-2 will be configured with a different set of pools than Spectrum-1. The size of prs and pms buffers will therefore depend on the chip type of the device. Therefore, instead of reserving an array directly in a structure definition, allocate the buffer in mlxsw_sp_sb_port{,s}_init(). 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/tty/rocket.h')
0 files changed, 0 insertions, 0 deletions