linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel bcdd5de80a mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
In commit 9ffcc3725f ("mlxsw: spectrum: Allow packets to be trapped
from any PG") I fixed a problem where packets could not be trapped to
the CPU due to exceeded shared buffer quotas. The mentioned commit
explains the problem in detail.

The problem was fixed by assigning a minimum quota for the CPU port and
the traffic class used for scheduling traffic to the CPU.

However, commit 117b0dad2d ("mlxsw: Create a different trap group list
for each device") assigned different traffic classes to different
packet types and rendered the fix useless.

Fix the problem by assigning a minimum quota for the CPU port and all
the traffic classes that are currently in use.

Fixes: 117b0dad2d ("mlxsw: Create a different trap group list for each device")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Eddie Shklaer <eddies@mellanox.com>
Tested-by: Eddie Shklaer <eddies@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-17 17:34:54 -04:00
..
cmd.h mlxsw: pci: Remove unused bit 2017-03-08 23:17:38 -08:00
core_acl_flex_actions.c mlxsw: spectrum: Fix gact_ok offloading 2018-03-09 13:02:13 -05:00
core_acl_flex_actions.h mlxsw: spectrum: Fix gact_ok offloading 2018-03-09 13:02:13 -05:00
core_acl_flex_keys.c mlxsw: core: Introduce flexible keys support 2017-02-03 16:35:41 -05:00
core_acl_flex_keys.h mlxsw: core: Fix flex keys scratchpad offset conflict 2018-02-28 12:32:36 -05:00
core_hwmon.c mlxsw: core: Zero payload buffers for couple of registers 2016-10-30 16:50:17 -04:00
core_thermal.c mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
core.c mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05:00
core.h mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05:00
emad.h
i2c.c mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05:00
i2c.h mlxsw: Introduce support for I2C bus 2016-11-16 23:29:04 -05:00
ib.h mlxsw: switchx2: Add IB port support 2016-10-30 16:50:17 -04:00
item.h mlxsw: reg: add rdpm register 2018-01-14 12:21:11 -05:00
Kconfig mlxsw: spectrum_router: Add support for IPv6 routes addition / deletion 2017-08-03 15:36:00 -07:00
Makefile mlxsw: spectrum: Support RED qdisc offload 2017-11-08 12:23:38 +09:00
minimal.c mlxsw: minimal: Add I2C support for Mellanox ASICs 2016-11-16 23:29:04 -05:00
pci_hw.h mlxsw: pci: Wait after reset before accessing HW 2018-01-10 15:58:22 -05:00
pci.c mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05:00
pci.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
port.h mlxsw: Query maximum number of ports from firmware 2017-03-24 13:53:28 -07:00
reg.h mlxsw: reg: add rdpm register 2018-01-14 12:21:11 -05:00
resources.h mlxsw: resources: Add multicast ERIF list entries resource 2017-09-19 14:21:40 -07:00
spectrum_acl_flex_actions.c mlxsw: spectrum: Extend mlxsw_afa_ops for counter index and implement for Spectrum 2018-01-21 18:21:30 -05:00
spectrum_acl_flex_actions.h mlxsw: spectrum: Move ACL flexible actions instance to spectrum 2017-09-19 14:21:40 -07:00
spectrum_acl_flex_keys.h mlxsw: spectrum: Add tos to the ipv4 acl block 2017-07-17 09:18:23 -07:00
spectrum_acl_tcam.c mlxsw: spectrum_acl: Pass mlxsw_sp_port down to ruleset bind/unbind ops 2018-01-17 14:53:58 -05:00
spectrum_acl.c mlxsw: spectrum: Fix gact_ok offloading 2018-03-09 13:02:13 -05:00
spectrum_buffers.c mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic 2018-03-17 17:34:54 -04:00
spectrum_cnt.c mlxsw: spectrum: Support for counters on router interfaces 2017-03-28 17:11:55 -07:00
spectrum_cnt.h mlxsw: spectrum: Support for counters on router interfaces 2017-03-28 17:11:55 -07:00
spectrum_dcb.c mlxsw: spectrum: Do not override PAUSE settings 2016-08-08 12:57:27 -07:00
spectrum_dpipe.c mlxsw: spectrum_dpipe: Connect dpipe tables to resources 2018-01-16 14:15:35 -05:00
spectrum_dpipe.h mlxsw: spectrum_dpipe: Add initial support for the router adjacency table 2017-09-26 20:04:35 -07:00
spectrum_fid.c mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast 2018-02-28 12:32:36 -05:00
spectrum_flower.c mlxsw: spectrum: Fix gact_ok offloading 2018-03-09 13:02:13 -05:00
spectrum_ipip.c mlxsw: spectrum_ipip: Handle underlay device change 2017-11-04 09:15:18 +09:00
spectrum_ipip.h mlxsw: spectrum: Handle NETDEV_CHANGE on L3 tunnels 2017-11-04 09:15:18 +09:00
spectrum_kvdl.c mlxsw: spectrum: Make function mlxsw_sp_kvdl_part_occ() static 2018-01-19 14:35:32 -05:00
spectrum_mr_tcam.c mlxsw: core: Make counter index allocated inside the action append 2018-01-21 18:21:30 -05:00
spectrum_mr_tcam.h mlxsw: spectrum: Add the multicast routing hardware logic 2017-09-27 11:33:28 -07:00
spectrum_mr.c mlxsw: spectrum: mr: Make the function mlxsw_sp_mr_dev_vif_lookup static 2017-10-24 19:07:13 +09:00
spectrum_mr.h mlxsw: spectrum: mr_tcam: Add trap-and-forward multicast route 2017-10-03 10:06:30 -07:00
spectrum_qdisc.c net: sched: red: don't reset the backlog on every stat dump 2018-01-17 14:29:32 -05:00
spectrum_router.c mlxsw: spectrum_router: Do not unconditionally clear route offload indication 2018-02-19 11:21:08 -05:00
spectrum_router.h mlxsw: spectrum: Handle NETDEV_CHANGE on L3 tunnels 2017-11-04 09:15:18 +09:00
spectrum_switchdev.c mlxsw: spectrum_switchdev: Check success of FDB add operation 2018-03-04 18:12:44 -05:00
spectrum.c mlxsw: spectrum: Prevent duplicate mirrors 2018-03-09 13:02:14 -05:00
spectrum.h mlxsw: spectrum: Prevent duplicate mirrors 2018-03-09 13:02:14 -05:00
switchib.c mlxsw: make mlxsw_config_profile const 2017-08-11 14:57:04 -07:00
switchx2.c mlxsw: make mlxsw_config_profile const 2017-08-11 14:57:04 -07:00
trap.h mlxsw: spectrum: Add trap for multicast trap-and-forward routes 2017-10-03 10:06:30 -07:00
txheader.h