/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_police_occ.sh | 4 # Test that policers shared by different tc filters are correctly reference 5 # counted by observing policers' occupancy via devlink-resource.
|
/linux-6.12.1/net/devlink/ |
D | trap.c | 1804 * devl_trap_policers_register - Register packet trap policers with devlink. 1806 * @policers: Packet trap policers. 1807 * @policers_count: Count of provided packet trap policers. 1813 const struct devlink_trap_policer *policers, in devl_trap_policers_register() argument 1820 const struct devlink_trap_policer *policer = &policers[i]; in devl_trap_policers_register() 1838 devlink_trap_policer_unregister(devlink, &policers[i]); in devl_trap_policers_register() 1844 * devl_trap_policers_unregister - Unregister packet trap policers from devlink. 1846 * @policers: Packet trap policers. 1847 * @policers_count: Count of provided packet trap policers. 1851 const struct devlink_trap_policer *policers, in devl_trap_policers_unregister() argument [all …]
|
/linux-6.12.1/Documentation/networking/devlink/ |
D | devlink-trap.rst | 606 Packet Trap Policers 615 devices usually include packet trap policers that are able to police the 619 supported packet trap policers with ``devlink``. The device driver can choose 620 to associate these policers with supported packet trap groups (see 624 Device drivers should allow user space to change the parameters of the policers 625 (e.g., rate, burst size) as well as the association between the policers and
|
/linux-6.12.1/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 56 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free"); in sja1105_setup_bcast_policer() 72 /* Make the broadcast policers of all ports attached to this block in sja1105_setup_bcast_policer() 128 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free"); in sja1105_setup_tc_policer() 144 /* Make the policers for traffic class @tc of all ports attached to in sja1105_setup_tc_policer()
|
D | sja1105_main.c | 999 * In this driver, we shall use policers 0-4 as statically alocated port 1000 * (matchall) policers. So we need to make the SHARINDX for all lookups 1003 * The remaining policers (40) shall be dynamically allocated for flower 1004 * policers, where the key is either vlan_prio or dst_mac ff:ff:ff:ff:ff:ff. 1032 /* Setup shared indices for the matchall policers */ in sja1105_init_l2_policing() 1041 /* Only SJA1110 has multicast policers */ in sja1105_init_l2_policing()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_policer.c | 85 /* CPU policers are allocated from the first N policers in the global in mlxsw_sp_policer_single_rate_family_init() 178 …_SET_ERR_MSG_MOD(extack, "Only bandwidth policing is currently supported by single rate policers"); in mlxsw_sp_policer_single_rate_params_check()
|
D | spectrum_trap.h | 12 size_t policers_count; /* Number of registered policers */
|
D | spectrum_trap.c | 1274 dev_err(mlxsw_sp->bus_info->dev, "Exceeded number of supported packet trap policers\n"); in mlxsw_sp_trap_policer_items_arr_init() 1284 /* Initialize policer items array with pre-defined policers. */ in mlxsw_sp_trap_policer_items_arr_init() 1289 * policers. in mlxsw_sp_trap_policer_items_arr_init() 1720 * policers we registered with devlink is in according with the number in mlxsw_sp_trap_policer_item_init() 1721 * of available policers. in mlxsw_sp_trap_policer_item_init()
|
D | spectrum_span.c | 818 /* Policers set on SPAN agents must be in the range of in mlxsw_sp_span_policer_id_base_set()
|
D | spectrum.c | 3179 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize policers\n"); in mlxsw_sp_init()
|
D | reg.h | 3868 * The QPCR register is used to create policers - that limit 10891 * Base policer id for mirroring policers.
|
/linux-6.12.1/drivers/net/ethernet/mscc/ |
D | ocelot_police.c | 17 #define POL_IX_PORT 0 /* 0-11 : Port policers */ 18 #define POL_IX_QUEUE 32 /* 32-127 : Queue policers */
|
/linux-6.12.1/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 1503 u32 ale_entries, rev_major, rev_minor, policers; in cpsw_ale_create() local 1566 regmap_field_read(ale->fields[ALE_POLICERS], &policers); in cpsw_ale_create() 1567 if (!policers) in cpsw_ale_create() 1570 policers *= ALE_POLICER_SIZE_MULTIPLIER; in cpsw_ale_create() 1571 ale->params.num_policers = policers; in cpsw_ale_create() 1575 "ALE Table size %ld, Policers %ld\n", ale->params.ale_entries, in cpsw_ale_create()
|
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_police.c | 5 /* 0-8 : 9 port policers */
|
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | ti,k3-am654-cpsw-nuss.yaml | 34 Configurable number of classifier/policers
|
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_psfp.c | 14 /* Pool of available service policers */
|
/linux-6.12.1/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink_trap.sh | 295 check_err 1 "Failed to dump policers"
|
/linux-6.12.1/include/net/ |
D | devlink.h | 778 * Describes immutable attributes of packet trap policers that drivers register 1988 const struct devlink_trap_policer *policers, 1992 const struct devlink_trap_policer *policers,
|
/linux-6.12.1/net/ipv4/ |
D | tcp_bbr.c | 681 /* Token-bucket traffic policers are common (see "An Internet-Wide Analysis of 682 * Traffic Policing", SIGCOMM 2016). BBR detects token-bucket policers and
|
D | Kconfig | 678 operate with shallow buffers, deep buffers, bufferbloat, policers, or
|
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpni.h | 57 * DPNI_OPT_HAS_POLICING - Allocate policers for this DPNI. They can be used to
|
/linux-6.12.1/drivers/net/ethernet/microchip/vcap/ |
D | vcap_ag_api.h | 692 * Disable policing from QoS, and port policers. Only the VCAP policer selected
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 2623 /* Ingress policers do not exist on all platforms */ in rvu_dbg_nix_band_prof_ctx_display() 2676 /* Ingress policers do not exist on all platforms */ in rvu_dbg_nix_band_prof_rsrc_display()
|
D | rvu_nix.c | 5558 /* NIX ingress policers or bandwidth profiles APIs */
|