linux/drivers/net/ethernet/mellanox/mlxsw
Nogah Frankel 9148e7cf73 mlxsw: spectrum: Add policers for trap groups
Configure policers and connect them to trap groups.

While many trap groups share policer's configuration they don't share
the actual policer because each trap group represents a different
flow / protocol and we don't want one of them to be able to exceed its
rate on behalf of another.
For example, if STP and LLDP gets to send 128 packets/sec each, if we
put them in one 256 packets/sec policer, one can send 200 packets while
the other only 50.

Note that IP2ME covers lots of flows, so it's limit is set to match the
cpu ability to handle data.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-25 21:22:14 -05:00
..
cmd.h mlxsw: cmd: Push resource query defines to cmd.h 2016-10-23 17:21:29 -04: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: Change emad trap group settings 2016-11-25 21:22:14 -05:00
core.h mlxsw: core: Change emad trap group settings 2016-11-25 21:22:14 -05:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
i2c.c mlxsw: Introduce support for I2C bus 2016-11-16 23:29:04 -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: item: Make char *buf arg constant for getters 2016-10-23 17:21:28 -04:00
Kconfig mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
Makefile mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
minimal.c mlxsw: minimal: Add I2C support for Mellanox ASICs 2016-11-16 23:29:04 -05:00
pci_hw.h mlxsw: pci: Fix the FW ready mask length 2016-11-03 16:21:27 -04:00
pci.c mlxsw: Add bus capability flag 2016-11-16 23:29:04 -05:00
pci.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
port.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
reg.h mlxsw: reg: Add QoS Policer Configuration Register 2016-11-25 21:22:14 -05:00
resources.h mlxsw: resources: Add max cpu policers resource 2016-11-25 21:22:14 -05:00
spectrum_buffers.c mlxsw: spectrum: Fix sparse warnings 2016-09-20 04:32:50 -04:00
spectrum_dcb.c mlxsw: spectrum: Do not override PAUSE settings 2016-08-08 12:57:27 -07:00
spectrum_kvdl.c mlxsw: Introduce simplistic KVD linear area manager 2016-07-05 09:06:30 -07:00
spectrum_router.c mlxsw: spectrum_router: Adjust placement of FIB abort warning 2016-11-16 15:18:01 -05:00
spectrum_switchdev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-15 10:54:36 -05:00
spectrum.c mlxsw: spectrum: Add policers for trap groups 2016-11-25 21:22:14 -05:00
spectrum.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-15 10:54:36 -05:00
switchib.c mlxsw: Change trap groups setting 2016-11-25 21:22:14 -05:00
switchx2.c mlxsw: Create a different trap group list for each device 2016-11-25 21:22:14 -05:00
trap.h mlxsw: spectrum: Add BGP trap 2016-11-25 21:22:14 -05:00
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00