| /OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/ |
| H A 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.
|
| /OK3568_Linux_fs/kernel/Documentation/networking/devlink/ |
| H A D | devlink-trap.rst | 583 Packet Trap Policers 592 devices usually include packet trap policers that are able to police the 596 supported packet trap policers with ``devlink``. The device driver can choose 597 to associate these policers with supported packet trap groups (see 601 Device drivers should allow user space to change the parameters of the policers 602 (e.g., rate, burst size) as well as the association between the policers and
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/ |
| H A D | sja1105_flower.c | 55 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free"); in sja1105_setup_bcast_policer() 71 /* Make the broadcast policers of all ports attached to this block in sja1105_setup_bcast_policer() 127 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free"); in sja1105_setup_tc_policer() 143 /* Make the policers for traffic class @tc of all ports attached to in sja1105_setup_tc_policer()
|
| H A D | sja1105_main.c | 618 * In this driver, we shall use policers 0-4 as statically alocated port 619 * (matchall) policers. So we need to make the SHARINDX for all lookups 622 * The remaining policers (40) shall be dynamically allocated for flower 623 * policers, where the key is either vlan_prio or dst_mac ff:ff:ff:ff:ff:ff. 650 /* Setup shared indices for the matchall policers */ in sja1105_init_l2_policing()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A 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()
|
| H A D | spectrum_trap.h | 12 size_t policers_count; /* Number of registered policers */
|
| H A D | spectrum_trap.c | 1096 dev_err(mlxsw_sp->bus_info->dev, "Exceeded number of supported packet trap policers\n"); in mlxsw_sp_trap_policer_items_arr_init() 1106 /* Initialize policer items array with pre-defined policers. */ in mlxsw_sp_trap_policer_items_arr_init() 1111 * policers. in mlxsw_sp_trap_policer_items_arr_init() 1543 * policers we registered with devlink is in according with the number in mlxsw_sp_trap_policer_item_init() 1544 * of available policers. in mlxsw_sp_trap_policer_item_init()
|
| H A D | spectrum_span.c | 814 /* Policers set on SPAN agents must be in the range of in mlxsw_sp_span_policer_id_base_set()
|
| H A D | spectrum.c | 2564 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize policers\n"); in mlxsw_sp_init()
|
| H A D | reg.h | 3274 * The QPCR register is used to create policers - that limit 9664 * Base policer id for mirroring policers.
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/ |
| H A D | ocelot_police.c | 17 #define POL_IX_PORT 0 /* 0-11 : Port policers */ 18 #define POL_IX_QUEUE 32 /* 32-127 : Queue policers */
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | ti,k3-am654-cpsw-nuss.yaml | 37 Configurable number of classifier/policers
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | devlink.h | 687 * Describes immutable attributes of packet trap policers that drivers register 1609 const struct devlink_trap_policer *policers, 1613 const struct devlink_trap_policer *policers,
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | devlink_trap.sh | 270 check_err 1 "Failed to dump policers"
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | devlink.c | 10124 * devlink_trap_policers_register - Register packet trap policers with devlink. 10126 * @policers: Packet trap policers. 10127 * @policers_count: Count of provided packet trap policers. 10133 const struct devlink_trap_policer *policers, in devlink_trap_policers_register() argument 10140 const struct devlink_trap_policer *policer = &policers[i]; in devlink_trap_policers_register() 10160 devlink_trap_policer_unregister(devlink, &policers[i]); in devlink_trap_policers_register() 10167 * devlink_trap_policers_unregister - Unregister packet trap policers from devlink. 10169 * @policers: Packet trap policers. 10170 * @policers_count: Count of provided packet trap policers. 10174 const struct devlink_trap_policer *policers, in devlink_trap_policers_unregister() argument [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | tcp_bbr.c | 678 /* Token-bucket traffic policers are common (see "An Internet-Wide Analysis of 679 * Traffic Policing", SIGCOMM 2016). BBR detects token-bucket policers and
|
| H A D | Kconfig | 678 operate with shallow buffers, deep buffers, bufferbloat, policers, or
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpni.h | 56 * Allocate policers for this DPNI. They can be used to rate-limit traffic per
|
| /OK3568_Linux_fs/u-boot/include/fsl-mc/ |
| H A D | fsl_dpni.h | 727 * @max_policers: Maximum number of policers; 884 * @max_policers: Maximum number of policers;
|