linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Petr Machata 54a9238589 mlxsw: spectrum_qdisc: Offload action trap for qevents
When offloading action trap on a qevent, pass to_dev of NULL to the SPAN
module to trigger the mirror to the CPU port. Query the buffer drops
policer and use it for policing of the trapped traffic.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-03 18:06:46 -07:00
..
cmd.h
core_acl_flex_actions.c mlxsw: core_acl_flex_actions: Add police action 2020-07-15 18:10:00 -07:00
core_acl_flex_actions.h mlxsw: core_acl_flex_actions: Add police action 2020-07-15 18:10:00 -07:00
core_acl_flex_keys.c mlxsw: core_acl: Avoid defining static variable in header file 2020-03-27 15:06:43 -07:00
core_acl_flex_keys.h mlxsw: core_acl: Avoid defining static variable in header file 2020-03-27 15:06:43 -07:00
core_env.c mlxsw: core: Add support for temperature thresholds reading for QSFP-DD transceivers 2020-07-28 13:28:02 -07:00
core_env.h
core_hwmon.c mlxsw: core: Add validation of hardware device types for MGPIR register 2020-02-07 18:47:01 +01:00
core_thermal.c mlxsw: core: Use different get_trend() callbacks for different thermal zones 2020-06-07 16:59:43 -07:00
core.c devlink: Pass extack when setting trap's action and group's parameters 2020-08-03 18:06:46 -07:00
core.h mlxsw: spectrum_trap: Add early_drop trap 2020-08-03 18:06:46 -07:00
emad.h
i2c.c mlxsw: i2c: Add missing field documentation 2020-03-27 15:06:43 -07:00
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: spectrum_trap: Add early_drop trap 2020-08-03 18:06:46 -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 mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum1_mr_tcam.c
spectrum2_acl_tcam.c mlxsw: Fix some IS_ERR() vs NULL bugs 2020-04-23 12:34:43 -07:00
spectrum2_kvdl.c mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum2_mr_tcam.c mlxsw: spectrum: Rename acl_block to flow_block 2020-04-27 12:43:29 -07:00
spectrum_acl_atcam.c
spectrum_acl_bloom_filter.c mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum_acl_ctcam.c
spectrum_acl_erp.c
spectrum_acl_flex_actions.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_acl_flex_actions.h
spectrum_acl_flex_keys.c
spectrum_acl_tcam.c mlxsw: spectrum_flower: Expose a function to get min and max rule priority 2020-05-09 16:02:43 -07:00
spectrum_acl_tcam.h mlxsw: spectrum_flower: Expose a function to get min and max rule priority 2020-05-09 16:02:43 -07:00
spectrum_acl.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_buffers.c mlxsw: spectrum: Do not rely on machine endianness 2020-06-22 16:29:51 -07:00
spectrum_cnt.c mlxsw: spectrum_cnt: Use flex_array_size() helper in memcpy() 2020-07-30 17:38:23 -07:00
spectrum_cnt.h mlxsw: spectrum_cnt: Expose subpool sizes over devlink resources 2020-03-18 16:46:19 -07:00
spectrum_dcb.c mlxsw: spectrum_dcb: Rename mlxsw_sp_port_headroom_set() 2020-06-29 17:45:02 -07:00
spectrum_dpipe.c mlxsw: spectrum: Remove RTNL where possible 2020-02-22 21:24:51 -08:00
spectrum_dpipe.h
spectrum_ethtool.c mlxsw: spectrum_ethtool: Add link extended state 2020-06-29 17:45:02 -07:00
spectrum_fid.c mlxsw: spectrum: Remove unused RIF and FID families 2020-03-27 15:06:43 -07:00
spectrum_flow.c mlxsw: spectrum_flow: Promote binder-type dispatch to spectrum.c 2020-07-13 17:22:22 -07:00
spectrum_flower.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_ipip.c mlxsw: Add ECN configurations with IPinIP tunnels 2020-01-19 16:23:52 +01:00
spectrum_ipip.h
spectrum_kvdl.c mlxsw: spectrum_kvdl: Protect allocations with a lock 2020-02-20 10:04:33 -08:00
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 mlxsw: Fix some IS_ERR() vs NULL bugs 2020-04-23 12:34:43 -07:00
spectrum_mr_tcam.h
spectrum_mr.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2020-03-29 21:25:29 -07:00
spectrum_mr.h
spectrum_nve_vxlan.c
spectrum_nve.c mlxsw: spectrum_router: Store NVE decapsulation configuration in router 2020-02-22 21:24:51 -08:00
spectrum_nve.h
spectrum_policer.c mlxsw: spectrum_policer: Add devlink resource support 2020-07-15 18:10:00 -07:00
spectrum_ptp.c mlxsw: spectrum_ptp: Fix build warnings 2020-03-30 11:20:33 -07:00
spectrum_ptp.h
spectrum_qdisc.c mlxsw: spectrum_qdisc: Offload action trap for qevents 2020-08-03 18:06:46 -07:00
spectrum_router.c mlxsw: spectrum_router: Fix use-after-free in router init / de-init 2020-07-29 12:16:21 -07:00
spectrum_router.h mlxsw: spectrum_router: Introduce router lock 2020-02-22 21:24:51 -08:00
spectrum_span.c mlxsw: spectrum_span: On policer_id_base_ref_count, use dec_and_test 2020-08-03 18:06:46 -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 mlxsw: spectrum_switchdev: Optimize SFN records processing 2020-02-26 20:44:42 -08:00
spectrum_switchdev.h
spectrum_trap.c mlxsw: spectrum_qdisc: Offload action trap for qevents 2020-08-03 18:06:46 -07:00
spectrum_trap.h mlxsw: spectrum_trap: Allow for per-ASIC traps initialization 2020-08-03 18:06:46 -07:00
spectrum.c mlxsw: spectrum_trap: Allow for per-ASIC trap groups initialization 2020-08-03 18:06:46 -07:00
spectrum.h mlxsw: spectrum_qdisc: Offload action trap for qevents 2020-08-03 18:06:46 -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