Searched full:policers (Results 1 – 21 of 21) sorted by relevance
/Linux-v6.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-v6.1/Documentation/networking/devlink/ |
D | devlink-trap.rst | 593 Packet Trap Policers 602 devices usually include packet trap policers that are able to police the 606 supported packet trap policers with ``devlink``. The device driver can choose 607 to associate these policers with supported packet trap groups (see 611 Device drivers should allow user space to change the parameters of the policers 612 (e.g., rate, burst size) as well as the association between the policers and
|
/Linux-v6.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 | 998 * In this driver, we shall use policers 0-4 as statically alocated port 999 * (matchall) policers. So we need to make the SHARINDX for all lookups 1002 * The remaining policers (40) shall be dynamically allocated for flower 1003 * policers, where the key is either vlan_prio or dst_mac ff:ff:ff:ff:ff:ff. 1031 /* Setup shared indices for the matchall policers */ in sja1105_init_l2_policing() 1040 /* Only SJA1110 has multicast policers */ in sja1105_init_l2_policing()
|
/Linux-v6.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 | 1249 dev_err(mlxsw_sp->bus_info->dev, "Exceeded number of supported packet trap policers\n"); in mlxsw_sp_trap_policer_items_arr_init() 1259 /* Initialize policer items array with pre-defined policers. */ in mlxsw_sp_trap_policer_items_arr_init() 1264 * policers. in mlxsw_sp_trap_policer_items_arr_init() 1695 * policers we registered with devlink is in according with the number in mlxsw_sp_trap_policer_item_init() 1696 * of available policers. in mlxsw_sp_trap_policer_item_init()
|
D | spectrum_span.c | 816 /* Policers set on SPAN agents must be in the range of in mlxsw_sp_span_policer_id_base_set()
|
D | spectrum.c | 3117 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize policers\n"); in mlxsw_sp_init()
|
D | reg.h | 3700 * The QPCR register is used to create policers - that limit 10630 * Base policer id for mirroring policers.
|
/Linux-v6.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-v6.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_police.c | 5 /* 0-8 : 9 port policers */
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | ti,k3-am654-cpsw-nuss.yaml | 34 Configurable number of classifier/policers
|
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink_trap.sh | 282 check_err 1 "Failed to dump policers"
|
/Linux-v6.1/include/net/ |
D | devlink.h | 736 * Describes immutable attributes of packet trap policers that drivers register 1848 const struct devlink_trap_policer *policers, 1852 const struct devlink_trap_policer *policers,
|
/Linux-v6.1/net/core/ |
D | devlink.c | 12325 * devl_trap_policers_register - Register packet trap policers with devlink. 12327 * @policers: Packet trap policers. 12328 * @policers_count: Count of provided packet trap policers. 12334 const struct devlink_trap_policer *policers, in devl_trap_policers_register() argument 12341 const struct devlink_trap_policer *policer = &policers[i]; in devl_trap_policers_register() 12359 devlink_trap_policer_unregister(devlink, &policers[i]); in devl_trap_policers_register() 12365 * devl_trap_policers_unregister - Unregister packet trap policers from devlink. 12367 * @policers: Packet trap policers. 12368 * @policers_count: Count of provided packet trap policers. 12372 const struct devlink_trap_policer *policers, in devl_trap_policers_unregister() argument [all …]
|
/Linux-v6.1/net/ipv4/ |
D | tcp_bbr.c | 680 /* Token-bucket traffic policers are common (see "An Internet-Wide Analysis of 681 * Traffic Policing", SIGCOMM 2016). BBR detects token-bucket policers and
|
D | Kconfig | 677 operate with shallow buffers, deep buffers, bufferbloat, policers, or
|
/Linux-v6.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-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 2239 /* Ingress policers do not exist on all platforms */ in rvu_dbg_nix_band_prof_ctx_display() 2292 /* Ingress policers do not exist on all platforms */ in rvu_dbg_nix_band_prof_rsrc_display()
|
D | rvu_nix.c | 4843 /* NIX ingress policers or bandwidth profiles APIs */
|