Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 25 of 99) sorted by relevance

1234

/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_action.c32 if (profile == NULL) in softnic_port_in_action_profile_free()
36 free(profile); in softnic_port_in_action_profile_free()
51 return profile; in softnic_port_in_action_profile_find()
154 strlcpy(profile->name, name, sizeof(profile->name)); in softnic_port_in_action_profile_create()
156 profile->ap = ap; in softnic_port_in_action_profile_create()
161 return profile; in softnic_port_in_action_profile_create()
186 free(profile); in softnic_table_action_profile_free()
201 return profile; in softnic_table_action_profile_find()
414 strlcpy(profile->name, name, sizeof(profile->name)); in softnic_table_action_profile_create()
416 profile->ap = ap; in softnic_table_action_profile_create()
[all …]
H A Drte_eth_softnic_meter.c92 struct rte_mtr_meter_profile *profile, in meter_profile_check() argument
116 if (profile == NULL) in meter_profile_check()
124 if (profile->alg != RTE_MTR_TRTCM_RFC2698) in meter_profile_check()
138 struct rte_mtr_meter_profile *profile, in pmd_mtr_meter_profile_add() argument
162 memcpy(&mp->params, profile, sizeof(mp->params)); in pmd_mtr_meter_profile_add()
398 struct rte_table_action_meter_profile profile; in pmd_mtr_meter_profile_update() local
400 memset(&profile, 0, sizeof(profile)); in pmd_mtr_meter_profile_update()
402 profile.alg = RTE_TABLE_ACTION_METER_TRTCM; in pmd_mtr_meter_profile_update()
403 profile.trtcm.cir = mp_new->params.trtcm_rfc2698.cir; in pmd_mtr_meter_profile_update()
404 profile.trtcm.pir = mp_new->params.trtcm_rfc2698.pir; in pmd_mtr_meter_profile_update()
[all …]
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_mtr.c60 return profile; in mrvl_mtr_profile_from_id()
80 if (!profile) in mrvl_meter_profile_add()
104 memcpy(&prof->profile, profile, sizeof(*profile)); in mrvl_meter_profile_add()
128 if (!profile) in mrvl_meter_profile_delete()
238 params.cir = mtr->profile->profile.srtcm_rfc2697.cir; in mrvl_meter_enable()
239 params.cbs = mtr->profile->profile.srtcm_rfc2697.cbs; in mrvl_meter_enable()
240 params.ebs = mtr->profile->profile.srtcm_rfc2697.ebs; in mrvl_meter_enable()
333 if (!profile) in mrvl_create()
353 mtr->profile = profile; in mrvl_create()
438 if (!profile) in mrvl_meter_profile_update()
[all …]
H A Dmrvl_tm.c97 while (profile) { in mrvl_tm_deinit()
101 rte_free(profile); in mrvl_tm_deinit()
102 profile = next; in mrvl_tm_deinit()
402 if (profile) in mrvl_shaper_profile_add()
407 profile = rte_zmalloc_socket(NULL, sizeof(*profile), 0, in mrvl_shaper_profile_add()
409 if (!profile) in mrvl_shaper_profile_add()
415 rte_memcpy(&profile->params, params, sizeof(profile->params)); in mrvl_shaper_profile_add()
438 if (!profile) in mrvl_shaper_profile_delete()
596 if (!profile) in mrvl_node_add()
640 if (profile) { in mrvl_node_add()
[all …]
H A Dmrvl_ethdev.h131 struct rte_mtr_meter_profile profile; member
141 struct mrvl_mtr_profile *profile; member
163 struct mrvl_tm_shaper_profile *profile; member
/f-stack/dpdk/examples/ip_pipeline/
H A Daction.c36 if (strcmp(profile->name, name) == 0) in port_in_action_profile_find()
37 return profile; in port_in_action_profile_find()
132 if (profile == NULL) { in port_in_action_profile_create()
138 strlcpy(profile->name, name, sizeof(profile->name)); in port_in_action_profile_create()
140 profile->ap = ap; in port_in_action_profile_create()
145 return profile; in port_in_action_profile_create()
171 return profile; in table_action_profile_find()
377 if (profile == NULL) { in table_action_profile_create()
383 strlcpy(profile->name, name, sizeof(profile->name)); in table_action_profile_create()
385 profile->ap = ap; in table_action_profile_create()
[all …]
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_port_in_action.c228 if ((profile == NULL) || in rte_port_in_action_profile_action_register()
229 profile->frozen || in rte_port_in_action_profile_action_register()
262 if (profile->frozen) in rte_port_in_action_profile_freeze()
265 action_data_offset_set(&profile->data, &profile->cfg); in rte_port_in_action_profile_freeze()
266 profile->frozen = 1; in rte_port_in_action_profile_freeze()
274 if (profile == NULL) in rte_port_in_action_profile_free()
277 free(profile); in rte_port_in_action_profile_free()
328 if ((profile == NULL) || in rte_port_in_action_create()
329 (profile->frozen == 0)) in rte_port_in_action_create()
344 memcpy(&action->cfg, &profile->cfg, sizeof(profile->cfg)); in rte_port_in_action_create()
[all …]
H A Drte_port_in_action.h189 rte_port_in_action_profile_free(struct rte_port_in_action_profile *profile);
209 struct rte_port_in_action_profile *profile,
231 rte_port_in_action_profile_freeze(struct rte_port_in_action_profile *profile);
254 rte_port_in_action_create(struct rte_port_in_action_profile *profile,
H A Drte_table_action.h840 rte_table_action_profile_free(struct rte_table_action_profile *profile);
859 rte_table_action_profile_action_register(struct rte_table_action_profile *profile,
880 rte_table_action_profile_freeze(struct rte_table_action_profile *profile);
904 rte_table_action_create(struct rte_table_action_profile *profile,
996 struct rte_table_action_meter_profile *profile);
H A Drte_table_action.c281 &mp_data->profile); in mtr_apply()
328 &mp[mp_id].profile, in pkt_work_mtr()
2411 profile->frozen || in rte_table_action_profile_action_register()
2468 if (profile->frozen) in rte_table_action_profile_freeze()
2472 action_data_offset_set(&profile->data, &profile->cfg); in rte_table_action_profile_freeze()
2473 profile->frozen = 1; in rte_table_action_profile_freeze()
2484 free(profile); in rte_table_action_profile_free()
2520 memcpy(&action->cfg, &profile->cfg, sizeof(profile->cfg)); in rte_table_action_create()
2521 memcpy(&action->data, &profile->data, sizeof(profile->data)); in rte_table_action_create()
2661 (profile == NULL)) in rte_table_action_meter_profile_add()
[all …]
/f-stack/app/nginx-1.16.1/src/misc/
H A Dngx_google_perftools_module.c89 u_char *profile; in ngx_google_perftools_worker() local
99 profile = ngx_alloc(gptcf->profiles.len + NGX_INT_T_LEN + 2, cycle->log); in ngx_google_perftools_worker()
100 if (profile == NULL) { in ngx_google_perftools_worker()
109 ngx_sprintf(profile, "%V.%d%Z", &gptcf->profiles, ngx_pid); in ngx_google_perftools_worker()
111 if (ProfilerStart(profile)) { in ngx_google_perftools_worker()
117 "ProfilerStart(%s) failed", profile); in ngx_google_perftools_worker()
120 ngx_free(profile); in ngx_google_perftools_worker()
/f-stack/app/redis-5.0.5/deps/jemalloc/bin/
H A Djeprof.in584 $profile = RemoveUninterestingFrames($symbols, $profile);
588 $profile = FocusProfile($symbols, $profile, $main::opt_focus);
677 my $profile = $data->{profile};
686 $profile = AddProfile($profile, $data2->{profile});
695 $profile = SubtractProfile($profile, $base->{profile});
1000 $profile = FocusProfile($symbols, $profile, $focus);
1008 $profile = IgnoreProfile($symbols, $profile, $ignore);
4008 $r->{profile} = $profile;
4218 $r->{profile} = $profile;
4294 $r->{profile} = $profile;
[all …]
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_meter.c37 &fm->profile->srtcm_prm; in mlx5_flow_meter_action_create()
122 if (profile == NULL) in mlx5_flow_meter_profile_validate()
356 profile, error); in mlx5_flow_meter_profile_add()
369 fmp->profile = *profile; in mlx5_flow_meter_profile_add()
660 fm->profile = fmp; in mlx5_flow_meter_create()
681 fm->profile->ref_cnt++; in mlx5_flow_meter_create()
741 fmp = fm->profile; in mlx5_flow_meter_destroy()
936 old_fmp = fm->profile; in mlx5_flow_meter_profile_update()
940 fm->profile = fmp; in mlx5_flow_meter_profile_update()
947 fm->profile = old_fmp; in mlx5_flow_meter_profile_update()
[all …]
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_tm.c210 if (!profile) in shaper_config_to_nix()
373 else if (profile) in prepare_tm_shaper_reg()
827 ((profile && profile->params.packet_mode) || in nix_tm_node_add_to_list()
835 if (profile) in nix_tm_node_add_to_list()
1304 if (profile) in nix_tm_free_resources()
2124 if (profile) { in otx2_nix_tm_shaper_profile_add()
2171 if (!profile) in otx2_nix_tm_shaper_profile_add()
2191 profile->params.peak.rate = profile->params.peak.rate * 8; in otx2_nix_tm_shaper_profile_add()
2195 profile->params.peak = profile->params.committed; in otx2_nix_tm_shaper_profile_add()
2215 if (!profile) { in otx2_nix_tm_shaper_profile_delete()
[all …]
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c14 struct rte_tm_shaper_params *profile,
233 if (profile->committed.rate) { in ixgbe_shaper_profile_param_check()
239 if (profile->committed.size) { in ixgbe_shaper_profile_param_check()
245 if (profile->peak.size) { in ixgbe_shaper_profile_param_check()
251 if (profile->pkt_length_adjust) { in ixgbe_shaper_profile_param_check()
263 struct rte_tm_shaper_params *profile, in ixgbe_shaper_profile_add() argument
271 if (!profile || !error) in ixgbe_shaper_profile_add()
274 ret = ixgbe_shaper_profile_param_check(profile, error); in ixgbe_shaper_profile_add()
292 rte_memcpy(&shaper_profile->profile, profile, in ixgbe_shaper_profile_add()
1016 tm_node->shaper_profile->profile.peak.rate) { in ixgbe_hierarchy_commit()
[all …]
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_tm.c15 struct rte_tm_shaper_params *profile,
224 if (profile->committed.rate) { in i40e_shaper_profile_param_check()
230 if (profile->committed.size) { in i40e_shaper_profile_param_check()
236 if (profile->peak.size) { in i40e_shaper_profile_param_check()
242 if (profile->pkt_length_adjust) { in i40e_shaper_profile_param_check()
254 struct rte_tm_shaper_params *profile, in i40e_shaper_profile_add() argument
261 if (!profile || !error) in i40e_shaper_profile_add()
282 rte_memcpy(&shaper_profile->profile, profile, in i40e_shaper_profile_add()
906 tm_node->shaper_profile->profile.peak.rate) { in i40e_hierarchy_commit()
951 bw = tm_node->shaper_profile->profile.peak.rate; in i40e_hierarchy_commit()
[all …]
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dip_pipeline.rst248 Add traffic manager subport profile ::
250 tmgr subport profile
257 Add traffic manager pipe profile ::
259 tmgr pipe profile
282 profile <subport_profile_id>
289 profile <pipe_profile_id>
320 Action profile
325 port in action profile <profile_name>
329 Create action profile for the pipeline table ::
331 table action profile <profile_name>
[all …]
/f-stack/dpdk/examples/service_cores/
H A Dmain.c62 struct profile { struct
68 static struct profile profiles[] = { argument
118 struct profile *p = &profiles[profile_id]; in apply_profile()
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c733 rate = profile->peak.rate; in ipn3ke_tm_shaper_parame_trans()
767 if (profile == NULL) in ipn3ke_tm_shaper_profile_add()
775 if (profile->peak.rate == 0 || in ipn3ke_tm_shaper_profile_add()
776 profile->peak.rate > IPN3KE_TM_SHAPER_PEAK_RATE_MAX) in ipn3ke_tm_shaper_profile_add()
784 if (profile->peak.size != 0) in ipn3ke_tm_shaper_profile_add()
800 if (profile->pkt_length_adjust != 0) in ipn3ke_tm_shaper_profile_add()
807 if (ipn3ke_tm_shaper_parame_trans(profile, in ipn3ke_tm_shaper_profile_add()
865 if (profile == NULL) in ipn3ke_tm_tdrop_profile_check()
873 if (profile->packet_mode != 0) in ipn3ke_tm_tdrop_profile_check()
882 uint64_t min_th = profile->red_params[color].min_th; in ipn3ke_tm_tdrop_profile_check()
[all …]
/f-stack/dpdk/examples/qos_sched/
H A Dprofile.cfg29 subport 0-8 = 0 ; These subports are configured with subport profile 0
31 [subport profile 0]
51 pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0
54 [pipe profile 0]
H A Dprofile_ov.cfg16 [subport profile 0]
35 pipe 0-31 = 0 ; These pipes are configured with pipe profile 0
38 [pipe profile 0]
/f-stack/freebsd/contrib/openzfs/lib/libuutil/
H A Duu_pname.c72 uu_alt_exit(int profile) in uu_alt_exit() argument
74 switch (profile) { in uu_alt_exit()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_dummynet.c899 if (s->profile) { in schk_delete_cb()
901 s->profile = NULL; in schk_delete_cb()
1566 if (s->profile) { in config_link()
1568 s->profile = NULL; in config_link()
1801 if (s->profile == NULL) { in config_sched()
1929 s->profile = NULL; in config_profile()
1937 if (s->profile == NULL) in config_profile()
1940 if (s->profile == NULL) { in config_profile()
1946 olen = s->profile->oid.len; in config_profile()
1987 struct dn_profile profile; in do_config() member
[all …]
/f-stack/dpdk/doc/guides/prog_guide/
H A Dprofile_app.rst16 to profile and benchmark an application.
43 Linux ``perf`` tool can be used to profile and benchmark an application. In
44 addition to the standard events, ``perf`` can be used to profile arm64
/f-stack/dpdk/examples/ip_pipeline/examples/
H A Dflow_crypto.cli30 table action profile AP0 ipv4 offset 270 fwd sym_crypto dev CRYPTO0 offset 1792
31 table action profile AP1 ipv4 offset 270 fwd

1234