Searched refs:burst (Results 1 - 25 of 196) sorted by relevance

12345678

/linux-master/include/linux/platform_data/
H A Dasoc-kirkwood.h6 int burst; member in struct:kirkwood_asoc_platform_data
/linux-master/include/uapi/linux/netfilter_bridge/
H A Debt_limit.h17 __u32 burst; /* Period multiplier for upper limit. */ member in struct:ebt_limit_info
/linux-master/include/uapi/linux/netfilter/
H A Dxt_limit.h16 __u32 burst; /* Period multiplier for upper limit. */ member in struct:xt_rateinfo
H A Dxt_hashlimit.h35 __u32 burst; /* Period multiplier for upper limit. */ member in struct:hashlimit_cfg
59 __u32 burst; /* Period multiplier for upper limit. */ member in struct:hashlimit_cfg1
72 __u64 burst; /* Period multiplier for upper limit. */ member in struct:hashlimit_cfg2
86 __u64 burst; /* Period multiplier for upper limit. */ member in struct:hashlimit_cfg3
/linux-master/lib/
H A Dratelimit.c20 * This enforces a rate limit: not more than @rs->burst callbacks
34 int burst = READ_ONCE(rs->burst); local
65 if (burst && burst > rs->printed) {
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_police.c13 u32 idx, pup_tokens, max_pup_tokens, burst, thres; local
21 burst = pol->burst;
27 thres = DIV_ROUND_UP(burst, g->min_burst);
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Darb.c38 int burst; member in struct:nv_fifo_info
103 fifo->burst = cbs;
117 * to the CRTC FIFO burst. (ns) */
169 /* FIFO burst */
171 /* Max burst not leading to overflows. */
174 fifo->burst = min(max_burst_o, 1024);
176 /* Max burst value with an acceptable latency. */
178 fifo->burst = min(max_burst_l, fifo->burst);
180 fifo->burst
193 nv04_update_arb(struct drm_device *dev, int VClk, int bpp, int *burst, int *lwm) argument
239 nv20_update_arb(int *burst, int *lwm) argument
252 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) argument
[all...]
/linux-master/net/bridge/netfilter/
H A Debt_limit.c74 if (info->burst == 0 ||
75 user2credits(info->avg * info->burst) < user2credits(info->avg)) {
77 info->avg, info->burst);
83 info->credit = user2credits(info->avg * info->burst);
84 info->credit_cap = user2credits(info->avg * info->burst);
93 * only avg/burst have meaningful values in userspace.
96 compat_uint_t avg, burst; member in struct:ebt_compat_limit_info
/linux-master/include/linux/
H A Dratelimit_types.h19 int burst; member in struct:ratelimit_state
29 .burst = burst_init, \
H A Dratelimit.h10 int interval, int burst)
16 rs->burst = burst;
9 ratelimit_state_init(struct ratelimit_state *rs, int interval, int burst) argument
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.h35 u32 burst, u64 rate);
40 u32 burst, u64 rate, bool pps);
H A Dcn10k.c146 * [12:15] no of LMTST - 1 in the burst.
147 * [19:63] data size of each LMTST in the burst except first.
238 static void cn10k_get_ingress_burst_cfg(u32 burst, u32 *burst_exp, argument
248 *burst_exp = ilog2(burst);
249 if (burst < 256) {
259 * Find remaining bytes 'burst - 2^burst_exp'
262 tmp = burst - rounddown_pow_of_two(burst);
361 u32 burst, u64 rate, bool pps)
369 cn10k_get_ingress_burst_cfg(burst,
360 cn10k_set_ipolicer_rate(struct otx2_nic *pfvf, u16 profile, u32 burst, u64 rate, bool pps) argument
464 cn10k_set_matchall_ipolicer_rate(struct otx2_nic *pfvf, u32 burst, u64 rate) argument
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dsch_ets.sh26 rate 1Gbit burst 1Mbit latency 100ms
H A Dsch_tbf_etsprio.sh18 rate 400Mbit burst $bs limit 1M
20 rate 800Mbit burst $bs limit 1M
44 tbf rate 400Mbit burst $bs limit 1M
H A Dsch_tbf_root.sh16 rate 400Mbit burst $bs limit 1M
/linux-master/include/net/tc_act/
H A Dtc_police.h41 u32 burst; member in struct:tc_police_compat
70 u32 burst; local
76 * "rate" bytes "burst" nanoseconds
85 * "rate" bytes "burst" nanoseconds 2^6 ticks
89 * "rate" * "burst"
94 * "rate" * "burst"
98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps,
101 return burst;
118 u32 burst; local
124 * "rate" pkts "burst" nanosecond
[all...]
/linux-master/net/netfilter/
H A Dxt_limit.c111 if (r->burst == 0
112 || user2credits(r->avg * r->burst) < user2credits(r->avg)) {
114 r->avg, r->burst);
127 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */
146 u_int32_t burst; member in struct:compat_xt_rateinfo
162 .burst = cm->burst,
176 .burst = m->burst,
H A Dnft_limit.c28 u32 burst; member in struct:nft_limit_priv
77 priv->burst = ntohl(nla_get_be32(tb[NFTA_LIMIT_BURST]));
79 if (pkts && priv->burst == 0)
80 priv->burst = NFT_LIMIT_PKT_BURST_DEFAULT;
82 if (check_add_overflow(priv->rate, priv->burst, &rate_with_burst))
88 if (check_mul_overflow(tmp, priv->burst, &tokens))
95 * tokens_max = unit * (rate + burst) / rate.
136 nla_put_be32(skb, NFTA_LIMIT_BURST, htonl(priv->burst)) ||
158 priv_dst->burst = priv_src->burst;
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_police.c15 u32 burst; member in struct:lan966x_tc_policer
26 /* Avoid zero burst size */
27 pol->burst = pol->burst ?: 1;
29 pol->burst = DIV_ROUND_UP(pol->burst, 4096);
32 pol->burst > GENMASK(6, 0))
46 ANA_POL_PIR_CFG_PIR_BURST_SET(pol->burst),
153 pol.burst = act->police.burst;
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_policer.sh162 devlink trap policer set $DEVLINK_DEV policer 1 burst 0 &> /dev/null
163 check_fail $? "Policer burst size was changed to 0"
164 devlink trap policer set $DEVLINK_DEV policer 1 burst 17 &> /dev/null
165 check_fail $? "Policer burst size was changed to burst size that is not power of 2"
166 devlink trap policer set $DEVLINK_DEV policer 1 burst 8 &> /dev/null
167 check_fail $? "Policer burst size was changed to burst size lower than limit"
169 burst $((2**25)) &> /dev/null
170 check_fail $? "Policer burst siz
[all...]
H A Dsch_red_root.sh23 probability 1.0 avpkt 8000 burst 38 "${args[@]}"
H A Dtc_police_occ.sh72 action police rate 100mbit burst 100k conform-exceed drop/ok
82 action police rate 100mbit burst 100k conform-exceed drop/ok \
/linux-master/drivers/dma/dw-edma/
H A Ddw-edma-core.c56 struct dw_edma_burst *burst; local
58 burst = kzalloc(sizeof(*burst), GFP_NOWAIT);
59 if (unlikely(!burst))
62 INIT_LIST_HEAD(&burst->list);
63 if (chunk->burst) {
66 list_add_tail(&burst->list, &chunk->burst->list);
70 chunk->burst = burst;
368 struct dw_edma_burst *burst; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.c120 u64 rate, burst; local
125 burst = meter_params->burst;
130 burst <<= 7;
133 if (!rate || rate > MLX5_MAX_CIR || !burst || burst > MLX5_MAX_CBS)
137 if (burst > MLX5_MAX_HW_CBS) {
139 "burst(%lld) is too large, use HW allowed value(%d)\n",
140 burst, MLX5_MAX_HW_CBS);
141 burst
[all...]
/linux-master/drivers/dma/qcom/
H A Dqcom_adm.c190 * adm_get_blksize - Get block size from burst value
192 * @burst: Burst size of transaction
194 static int adm_get_blksize(unsigned int burst) argument
198 switch (burst) {
203 ret = ffs(burst >> 4) - 1;
226 * @burst: Burst size of transaction
231 u32 burst,
244 row_offset = burst;
249 row_offset = burst << 16;
254 while (remainder >= burst) {
229 adm_process_fc_descriptors(struct adm_chan *achan, void *desc, struct scatterlist *sg, u32 crci, u32 burst, enum dma_transfer_direction direction) argument
358 u32 i, burst; local
[all...]

Completed in 232 milliseconds

12345678