Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 16 of 16) sorted by relevance

/dpdk/examples/ip_pipeline/
H A Dpipeline.c113 pp.name = name; in pipeline_create()
168 } pp; in pipeline_port_in_create() local
178 memset(&pp, 0, sizeof(pp)); in pipeline_port_in_create()
258 pp.fd.fd = tap->fd; in pipeline_port_in_create()
276 pp.kni.kni = kni->k; in pipeline_port_in_create()
412 } pp; in pipeline_port_out_create() local
429 memset(&pp, 0, sizeof(pp)); in pipeline_port_out_create()
791 } pp; in pipeline_table_create() local
801 memset(&pp, 0, sizeof(pp)); in pipeline_table_create()
914 pp.hash.seed = 0; in pipeline_table_create()
[all …]
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_pipeline.c242 } pp; in softnic_pipeline_port_in_create() local
252 memset(&pp, 0, sizeof(pp)); in softnic_pipeline_port_in_create()
333 pp.fd.fd = tap->fd; in softnic_pipeline_port_in_create()
463 } pp; in softnic_pipeline_port_out_create() local
478 memset(&pp, 0, sizeof(pp)); in softnic_pipeline_port_out_create()
572 pp.fd.fd = tap->fd; in softnic_pipeline_port_out_create()
816 } pp; in softnic_pipeline_table_create() local
826 memset(&pp, 0, sizeof(pp)); in softnic_pipeline_table_create()
859 pp.acl.name = name; in softnic_pipeline_table_create()
940 pp.hash.seed = 0; in softnic_pipeline_table_create()
[all …]
H A Drte_eth_softnic_tm.c2106 struct rte_sched_pipe_params *pp) in pipe_profile_build() argument
2113 memset(pp, 0, sizeof(*pp)); in pipe_profile_build()
2120 pp->tc_period = PIPE_TC_PERIOD; in pipe_profile_build()
2122 pp->tc_ov_weight = np->weight; in pipe_profile_build()
2131 pp->tc_rate[nt->priority] = in pipe_profile_build()
2166 struct rte_sched_pipe_params *pp, in pipe_profile_exists() argument
2174 if (memcmp(&t->pipe_profiles[i], pp, sizeof(*pp)) == 0) { in pipe_profile_exists()
2185 struct rte_sched_pipe_params *pp, in pipe_profile_install() argument
2191 memcpy(&t->pipe_profiles[pipe_profile_id], pp, sizeof(*pp)); in pipe_profile_install()
2255 struct rte_sched_pipe_params pp; in pipe_profiles_generate() local
[all …]
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_target.h25 pushpull_width(int pp) in pushpull_width() argument
27 pp &= 0xf; in pushpull_width()
29 if (pp == 0) in pushpull_width()
31 return (2 << pp); in pushpull_width()
47 return PUSHPULL(0, pp); in target_rw()
51 return PUSHPULL(pp, pp); in target_rw()
283 int pp; in nfp6000_mu() local
313 return pp; in nfp6000_mu()
505 if (pp < 0) in nfp_target_pushpull_width()
506 return pp; in nfp_target_pushpull_width()
[all …]
H A Dnfp_cpp_pcie_ops.c413 int pp, ret = 0; in nfp6000_area_init() local
415 pp = nfp6000_target_pushpull(NFP_CPP_ID(target, action, token), in nfp6000_area_init()
417 if (pp < 0) in nfp6000_area_init()
418 return pp; in nfp6000_area_init()
420 priv->width.read = PUSH_WIDTH(pp); in nfp6000_area_init()
421 priv->width.write = PULL_WIDTH(pp); in nfp6000_area_init()
/dpdk/drivers/net/pcap/
H A Dpcap_ethdev.c613 if (!pp->tx_pcap[0] && in eth_dev_start()
617 pp->rx_pcap[0] = pp->tx_pcap[0]; in eth_dev_start()
627 if (!pp->tx_dumper[i] && in eth_dev_start()
630 &pp->tx_dumper[i]) < 0) in eth_dev_start()
684 pp->tx_pcap[0] = NULL; in eth_dev_stop()
685 pp->rx_pcap[0] = NULL; in eth_dev_stop()
698 pp->tx_pcap[i] = NULL; in eth_dev_stop()
706 pp->rx_pcap[i] = NULL; in eth_dev_stop()
1207 if (pp == NULL) { in pmd_init_internals()
1216 rte_free(pp); in pmd_init_internals()
[all …]
/dpdk/lib/metrics/
H A Drte_metrics_telemetry.c242 if (ep->pp.num_port_ids <= 0) { in rte_metrics_tel_encode_json_format()
247 for (i = 0; i < ep->pp.num_port_ids; i++) { in rte_metrics_tel_encode_json_format()
249 ports, &ep->pp.metric_ids[0], in rte_metrics_tel_encode_json_format()
250 ep->pp.num_metric_ids); in rte_metrics_tel_encode_json_format()
288 for (i = 0; i < ep->pp.num_port_ids; i++) { in rte_metrics_tel_get_ports_stats_json()
289 port_id = ep->pp.port_ids[i]; in rte_metrics_tel_get_ports_stats_json()
317 ep->pp.port_ids[num_port_ids] = p; in rte_metrics_tel_get_port_stats_ids()
326 ep->pp.num_port_ids = num_port_ids; in rte_metrics_tel_get_port_stats_ids()
327 ep->pp.num_metric_ids = 0; in rte_metrics_tel_get_port_stats_ids()
390 ep->pp.num_metric_ids = num_stat_names; in rte_metrics_tel_extract_data()
[all …]
H A Drte_metrics_telemetry.h32 } pp; member
/dpdk/examples/qos_meter/
H A Dmain.h29 void *pp = p; \
31 pp = pp; \
/dpdk/drivers/net/mlx5/
H A Dmlx5_txpp.c66 if (sh->txpp.pp) { in mlx5_txpp_free_pp_index()
67 mlx5_glue->dv_free_pp(sh->txpp.pp); in mlx5_txpp_free_pp_index()
68 sh->txpp.pp = NULL; in mlx5_txpp_free_pp_index()
85 MLX5_ASSERT(!sh->txpp.pp); in mlx5_txpp_alloc_pp_index()
86 memset(&pp, 0, sizeof(pp)); in mlx5_txpp_alloc_pp_index()
95 MLX5_SET(set_pp_rate_limit_context, &pp, in mlx5_txpp_alloc_pp_index()
97 MLX5_SET(set_pp_rate_limit_context, &pp, in mlx5_txpp_alloc_pp_index()
106 sh->txpp.pp = mlx5_glue->dv_alloc_pp in mlx5_txpp_alloc_pp_index()
107 (sh->cdev->ctx, sizeof(pp), &pp, in mlx5_txpp_alloc_pp_index()
109 if (sh->txpp.pp == NULL) { in mlx5_txpp_alloc_pp_index()
[all …]
H A Dmlx5_trigger.c935 uint16_t p, pp; in mlx5_hairpin_bind() local
954 MLX5_ETH_FOREACH_DEV(pp, dev->device) in mlx5_hairpin_bind()
955 if (pp < p) in mlx5_hairpin_bind()
1010 uint16_t pp; in mlx5_hairpin_get_peer_ports() local
1024 if (pp >= RTE_MAX_ETHPORTS) { in mlx5_hairpin_get_peer_ports()
1029 priv->dev_data->port_id, i, pp); in mlx5_hairpin_get_peer_ports()
1032 bits[pp / 32] |= 1 << (pp % 32); in mlx5_hairpin_get_peer_ports()
1045 pp = rxq->hairpin_conf.peers[0].port; in mlx5_hairpin_get_peer_ports()
1046 if (pp >= RTE_MAX_ETHPORTS) { in mlx5_hairpin_get_peer_ports()
1050 priv->dev_data->port_id, i, pp); in mlx5_hairpin_get_peer_ports()
[all …]
H A Dmlx5.h1052 void *pp; /* Packet pacing context. */ member
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.c1428 mlx5_glue_dv_free_pp(struct mlx5dv_pp *pp) in mlx5_glue_dv_free_pp() argument
1431 mlx5dv_pp_free(pp); in mlx5_glue_dv_free_pp()
1433 RTE_SET_USED(pp); in mlx5_glue_dv_free_pp()
H A Dmlx5_glue.h366 void (*dv_free_pp)(struct mlx5dv_pp *pp);
/dpdk/lib/sched/
H A Drte_sched.c1493 struct rte_sched_pipe_profile *pp; in rte_sched_subport_pipe_profile_add() local
1528 pp = &s->pipe_profiles[s->n_pipe_profiles]; in rte_sched_subport_pipe_profile_add()
1529 rte_sched_pipe_profile_convert(s, params, pp, port->rate); in rte_sched_subport_pipe_profile_add()
1533 if (memcmp(s->pipe_profiles + i, pp, sizeof(*pp)) == 0) { in rte_sched_subport_pipe_profile_add()
/dpdk/doc/guides/nics/
H A Denic.rst140 that adds the host VF 0d:00:01 to the VM. ``profileid='pp-vlan-25'`` indicates
152 <parameters profileid='pp-vlan-25'/>