linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Petr Machata bb6c346cef mlxsw: spectrum_buffers: Reject overlarge headroom size requests
cap_max_headroom_size holds maximum headroom size supported.
Overstepping that limit might under certain conditions lead to ASIC
freeze.

Query and store the value, and add mlxsw_sp_sb_max_headroom_cells() for
obtaining the stored value. In __mlxsw_sp_port_headroom_set(), reject
requests where the total port buffer is larger than the advertised
maximum.

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>
2019-02-21 15:57:46 -08:00
..
mlx4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-20 00:34:07 -08:00
mlx5/core net/mlx5: E-Switch, Disable esw manager vport correctly 2019-02-19 14:15:04 -08:00
mlxfw mlxfw: Replace license text with SPDX identifiers and adjust copyrights 2019-01-24 22:34:03 -08:00
mlxsw mlxsw: spectrum_buffers: Reject overlarge headroom size requests 2019-02-21 15:57:46 -08:00
Kconfig Change Kconfig description 2017-08-14 11:18:16 -07:00
Makefile Add the mlxfw module for Mellanox firmware flash process 2017-05-25 17:46:17 -04:00