Home
last modified time | relevance | path

Searched refs:pconf (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/examples/qos_sched/
H A Dargs.c215 struct flow_conf *pconf; in app_parse_flow_conf() local
223 pconf = &qos_conf[nb_pfc]; in app_parse_flow_conf()
225 pconf->rx_port = vals[0]; in app_parse_flow_conf()
226 pconf->tx_port = vals[1]; in app_parse_flow_conf()
232 pconf->tx_core = pconf->wt_core; in app_parse_flow_conf()
234 if (pconf->rx_core == pconf->wt_core) { in app_parse_flow_conf()
241 nb_pfc, pconf->rx_port); in app_parse_flow_conf()
246 nb_pfc, pconf->tx_port); in app_parse_flow_conf()
250 mask = 1lu << pconf->rx_port; in app_parse_flow_conf()
253 nb_pfc, pconf->rx_port); in app_parse_flow_conf()
[all …]
/f-stack/freebsd/mips/ingenic/
H A Djz4780_pinctrl.c194 uint32_t *value, *pconf; in jz4780_pinctrl_configure_pins() local
207 pconf = value; in jz4780_pinctrl_configure_pins()
209 for (i = 0; i < len; i++, pconf += 4) { in jz4780_pinctrl_configure_pins()
213 chip = jz4780_pinctrl_chip_lookup(sc, pconf[0]); in jz4780_pinctrl_configure_pins()
220 if (jz4780_pinctrl_parse_pincfg(pconf[3], &bias) != 0) { in jz4780_pinctrl_configure_pins()
223 pconf[1], ofw_bus_get_name(chip)); in jz4780_pinctrl_configure_pins()
227 result = JZ4780_GPIO_CONFIGURE_PIN(chip, pconf[1], pconf[2], in jz4780_pinctrl_configure_pins()
231 "failed to configure pin %u on %s\n", pconf[1], in jz4780_pinctrl_configure_pins()
/f-stack/dpdk/app/test/
H A Dtest_eventdev.c509 struct rte_event_port_conf pconf; in test_eventdev_port_default_conf_get() local
525 &pconf); in test_eventdev_port_default_conf_get()
537 struct rte_event_port_conf pconf; in test_eventdev_port_setup() local
549 pconf.new_event_threshold = info.max_num_events; in test_eventdev_port_setup()
565 pconf.event_port_cfg = 0; in test_eventdev_port_setup()
569 &pconf); in test_eventdev_port_setup()
596 struct rte_event_port_conf pconf; in test_eventdev_port_attr_dequeue_depth() local
610 TEST_ASSERT_EQUAL(value, pconf.dequeue_depth, in test_eventdev_port_attr_dequeue_depth()
621 struct rte_event_port_conf pconf; in test_eventdev_port_attr_enqueue_depth() local
635 TEST_ASSERT_EQUAL(value, pconf.enqueue_depth, in test_eventdev_port_attr_enqueue_depth()
[all …]
/f-stack/lib/
H A Dff_dpdk_if.c271 for (i = 0; i < pconf->nb_lcores; i++) { in init_lcore_conf()
272 if (pconf->lcore_list[i] == lcore_id) { in init_lcore_conf()
410 int nb_queues = pconf->nb_lcores; in init_dispatch_ring()
578 uint16_t nb_queues = pconf->nb_lcores; in init_port_start()
580 for (j=0; j<=pconf->nb_slaves; j++) { in init_port_start()
581 if (j < pconf->nb_slaves) { in init_port_start()
622 rte_memcpy(pconf->mac, in init_port_start()
668 pconf->hw_features.rx_lro = 1; in init_port_start()
678 pconf->hw_features.rx_csum = 1; in init_port_start()
770 rte_memcpy(pconf->mac, in init_port_start()
[all …]
H A Dff_config.c465 struct ff_port_cfg *pconf = &pc[portid]; in port_cfg_handler() local
466 pconf->port_id = portid; in port_cfg_handler()
467 pconf->nb_lcores = ff_global_cfg.dpdk.nb_procs; in port_cfg_handler()
468 memcpy(pconf->lcore_list, ff_global_cfg.dpdk.proc_lcore, in port_cfg_handler()
469 pconf->nb_lcores*sizeof(uint16_t)); in port_cfg_handler()