Home
last modified time | relevance | path

Searched full:policers (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Dtc_police_occ.sh4 # 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/
Ddevlink-trap.rst593 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/
Dsja1105_flower.c56 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()
Dsja1105_main.c998 * 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/
Dspectrum_policer.c85 /* 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()
Dspectrum_trap.h12 size_t policers_count; /* Number of registered policers */
Dspectrum_trap.c1249 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()
Dspectrum_span.c816 /* Policers set on SPAN agents must be in the range of in mlxsw_sp_span_policer_id_base_set()
Dspectrum.c3117 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize policers\n"); in mlxsw_sp_init()
Dreg.h3700 * The QPCR register is used to create policers - that limit
10630 * Base policer id for mirroring policers.
/Linux-v6.1/drivers/net/ethernet/mscc/
Docelot_police.c17 #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/
Dlan966x_police.c5 /* 0-8 : 9 port policers */
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dti,k3-am654-cpsw-nuss.yaml34 Configurable number of classifier/policers
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh282 check_err 1 "Failed to dump policers"
/Linux-v6.1/include/net/
Ddevlink.h736 * 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/
Ddevlink.c12325 * 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/
Dtcp_bbr.c680 /* Token-bucket traffic policers are common (see "An Internet-Wide Analysis of
681 * Traffic Policing", SIGCOMM 2016). BBR detects token-bucket policers and
DKconfig677 operate with shallow buffers, deep buffers, bufferbloat, policers, or
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpni.h57 * DPNI_OPT_HAS_POLICING - Allocate policers for this DPNI. They can be used to
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c2239 /* 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()
Drvu_nix.c4843 /* NIX ingress policers or bandwidth profiles APIs */