linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel 4561705b17 mlxsw: spectrum_trap: Prepare policers for registration with devlink
Prepare an array of policer IDs to register with devlink and their
associated parameters.

The array is composed from both policers that are currently bound to
exposed trap groups and policers that are not bound to any trap group.

v2:
* Provide max/min rate/burst size when registering policers

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-30 17:54:59 -07:00
..
cmd.h
core_acl_flex_actions.c mlxsw: spectrum_flower: Offload FLOW_ACTION_MANGLE 2020-03-26 11:55:40 -07:00
core_acl_flex_actions.h mlxsw: spectrum_flower: Offload FLOW_ACTION_MANGLE 2020-03-26 11:55:40 -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
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: Add validation of hardware device types for MGPIR register 2020-02-07 18:47:01 +01:00
core.c mlxsw: reg: Update module_type values in PMTM register and map them to width 2020-02-27 12:08:46 -08:00
core.h mlxsw: pci: Extract cookie index for ACL discard trap packets 2020-02-25 11:05:55 -08: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
Makefile
minimal.c mlxsw: minimal: Fix an error handling path in 'mlxsw_m_port_create()' 2020-01-27 11:13:53 +01:00
pci_hw.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-02-27 18:31:39 -08:00
pci.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
pci.h
port.h
reg.h mlxsw: reg: Extend QPCR register 2020-03-30 17:54:59 -07:00
resources.h mlxsw: spectrum_cnt: Query bank size from FW resources 2020-03-18 16:46:19 -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
spectrum2_kvdl.c mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum2_mr_tcam.c
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
spectrum_acl_flex_actions.h
spectrum_acl_flex_keys.c
spectrum_acl_tcam.c mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum_acl_tcam.h mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum_acl.c net: sched: expose HW stats types per action used by drivers 2020-03-30 11:06:49 -07:00
spectrum_buffers.c
spectrum_cnt.c mlxsw: spectrum_cnt: Fix 64-bit division in mlxsw_sp_counter_resources_register 2020-03-23 20:57:16 -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: Configure shaper rate and burst size together 2020-01-25 10:56:31 +01:00
spectrum_dpipe.c mlxsw: spectrum: Remove RTNL where possible 2020-02-22 21:24:51 -08:00
spectrum_dpipe.h
spectrum_fid.c mlxsw: spectrum: Remove unused RIF and FID families 2020-03-27 15:06:43 -07:00
spectrum_flower.c net: sched: expose HW stats types per action used by drivers 2020-03-30 11:06:49 -07:00
spectrum_ipip.c
spectrum_ipip.h
spectrum_kvdl.c mlxsw: spectrum_kvdl: Protect allocations with a lock 2020-02-20 10:04:33 -08:00
spectrum_mr_tcam.c
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_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 RED ECN nodrop mode 2020-03-14 21:03:46 -07:00
spectrum_router.c mlxsw: spectrum_router: Avoid uninitialized symbol errors 2020-03-27 15:06:43 -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: Only update mirroring agents if present 2020-02-20 10:04:34 -08:00
spectrum_span.h
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_trap: Prepare policers for registration with devlink 2020-03-30 17:54:59 -07:00
spectrum_trap.h mlxsw: spectrum_trap: Prepare policers for registration with devlink 2020-03-30 17:54:59 -07:00
spectrum.c mlxsw: spectrum: Track used packet trap policer IDs 2020-03-30 17:54:59 -07:00
spectrum.h mlxsw: spectrum: Track used packet trap policer IDs 2020-03-30 17:54:59 -07:00
switchib.c
switchx2.c mlxsw: switchx2: Remove unnecessary conversion to bool 2020-03-27 15:06:43 -07:00
trap.h mlxsw: acl_flex_actions: Trap all ACL dropped packets to DISCARD_*_ACL traps 2020-02-24 11:55:07 -08:00
txheader.h