diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2019-04-22 08:08:54 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-23 01:09:33 -0400 |
| commit | 24a7cc1ef6d926a50dd60a90e012d54493496fc3 (patch) | |
| tree | 4b1781a607449f34fbc2362b6c98d81738dd54f6 /scripts/gen_compile_commands.py | |
| parent | 50b5b90514a8306c4a8e33f967f15bac5c9ac1f5 (diff) | |
mlxsw: spectrum_buffers: Split business logic from mlxsw_sp_port_sb_pms_init()
The function is used to set the per-port shared buffer quotas.
Currently, these quotas are only set for front panel ports, but a
subsequent patch will configure these quotas for the CPU port as well.
The configuration required for the CPU port is a bit different than that
of the front panel ports, so split the business logic into a separate
function which will be called with different parameters for the CPU
port.
No functional changes intended.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
