linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel 8d3fbae70d mlxsw: spectrum_policer: Add policer core
Add common code to handle all policer-related functionality in mlxsw.
Currently, only policer for policy engines are supported, but it in the
future more policer families will be added such as CPU (trap) policers
and storm control policers.

The API allows different modules to add / delete policers and read their
drop counter.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-07-15 18:10:00 -07:00
..
cmd.h
core_acl_flex_actions.c mlxsw: spectrum_acl: Support FLOW_ACTION_MANGLE for TCP, UDP ports 2020-06-22 16:32:11 -07:00
core_acl_flex_actions.h mlxsw: spectrum_acl: Support FLOW_ACTION_MANGLE for TCP, UDP ports 2020-06-22 16:32:11 -07:00
core_acl_flex_keys.c
core_acl_flex_keys.h
core_env.c
core_env.h
core_hwmon.c
core_thermal.c mlxsw: core: Use different get_trend() callbacks for different thermal zones 2020-06-07 16:59:43 -07:00
core.c mlxsw: core: Use mirror reason during Rx listener lookup 2020-07-14 14:50:50 -07:00
core.h mlxsw: core: Use mirror reason during Rx listener lookup 2020-07-14 14:50:50 -07:00
emad.h
i2c.c
i2c.h
ib.h
item.h
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile mlxsw: spectrum_policer: Add policer core 2020-07-15 18:10:00 -07:00
minimal.c mlxsw: Set port split ability attribute in driver 2020-07-09 13:15:29 -07:00
pci_hw.h mlxsw: pci: Add mirror reason field to CQEv2 2020-07-14 14:50:49 -07:00
pci.c mlxsw: pci: Retrieve mirror reason from CQE during receive 2020-07-14 14:50:50 -07:00
pci.h
port.h
reg.h mlxsw: reg: Add policer bandwidth limits 2020-07-15 18:09:59 -07:00
resources.h mlxsw: resources: Add resource identifier for global policers 2020-07-15 18:09:59 -07:00
spectrum1_acl_tcam.c
spectrum1_kvdl.c
spectrum1_mr_tcam.c
spectrum2_acl_tcam.c
spectrum2_kvdl.c
spectrum2_mr_tcam.c
spectrum_acl_atcam.c
spectrum_acl_bloom_filter.c
spectrum_acl_ctcam.c
spectrum_acl_erp.c
spectrum_acl_flex_actions.c mlxsw: spectrum_span: Allow setting policer on a SPAN agent 2020-07-14 14:50:49 -07:00
spectrum_acl_flex_actions.h
spectrum_acl_flex_keys.c
spectrum_acl_tcam.c
spectrum_acl_tcam.h
spectrum_acl.c mlxsw: spectrum_acl: Support FLOW_ACTION_MANGLE for TCP, UDP ports 2020-06-22 16:32:11 -07:00
spectrum_buffers.c mlxsw: spectrum: Do not rely on machine endianness 2020-06-22 16:29:51 -07:00
spectrum_cnt.c
spectrum_cnt.h
spectrum_dcb.c mlxsw: spectrum_dcb: Rename mlxsw_sp_port_headroom_set() 2020-06-29 17:45:02 -07:00
spectrum_dpipe.c
spectrum_dpipe.h
spectrum_ethtool.c mlxsw: spectrum_ethtool: Add link extended state 2020-06-29 17:45:02 -07:00
spectrum_fid.c
spectrum_flow.c mlxsw: spectrum_flow: Promote binder-type dispatch to spectrum.c 2020-07-13 17:22:22 -07:00
spectrum_flower.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
spectrum_ipip.c
spectrum_ipip.h
spectrum_kvdl.c
spectrum_matchall.c mlxsw: spectrum_span: Allow setting policer on a SPAN agent 2020-07-14 14:50:49 -07:00
spectrum_mr_tcam.c
spectrum_mr_tcam.h
spectrum_mr.c
spectrum_mr.h
spectrum_nve_vxlan.c
spectrum_nve.c
spectrum_nve.h
spectrum_policer.c mlxsw: spectrum_policer: Add policer core 2020-07-15 18:10:00 -07:00
spectrum_ptp.c
spectrum_ptp.h
spectrum_qdisc.c mlxsw: spectrum_span: Allow passing parameters to SPAN agents 2020-07-14 14:50:49 -07:00
spectrum_router.c mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON() 2020-07-10 14:33:34 -07:00
spectrum_router.h
spectrum_span.c mlxsw: spectrum_span: Allow setting policer on a SPAN agent 2020-07-14 14:50:49 -07:00
spectrum_span.h mlxsw: spectrum_span: Allow setting policer on a SPAN agent 2020-07-14 14:50:49 -07:00
spectrum_switchdev.c
spectrum_switchdev.h
spectrum_trap.c mlxsw: spectrum_trap: Register ACL control traps 2020-06-01 11:49:23 -07:00
spectrum_trap.h mlxsw: spectrum_trap: Do not hard code "thin" policer identifier 2020-05-26 20:33:58 -07:00
spectrum.c mlxsw: spectrum_policer: Add policer core 2020-07-15 18:10:00 -07:00
spectrum.h mlxsw: spectrum_policer: Add policer core 2020-07-15 18:10:00 -07:00
switchib.c mlxsw: Set port split ability attribute in driver 2020-07-09 13:15:29 -07:00
switchx2.c mlxsw: Set port split ability attribute in driver 2020-07-09 13:15:29 -07:00
trap.h mlxsw: trap: Add trap identifiers for mirrored packets 2020-07-14 14:50:49 -07:00
txheader.h