Home
last modified time | relevance | path

Searched refs:lcore_info (Results 1 – 3 of 3) sorted by relevance

/dpdk/examples/vhost/
H A Dmain.c180 static struct lcore_info lcore_info[RTE_MAX_LCORE]; variable
1457 lcore_info[lcore_id].dev_removal_flag = ACK_DEV_REMOVAL; in switch_worker()
1462 TAILQ_FOREACH(vdev, &lcore_info[lcore_id].vdev_list, in switch_worker()
1512 TAILQ_REMOVE(&lcore_info[vdev->coreid].vdev_list, vdev, in destroy_device()
1519 lcore_info[lcore].dev_removal_flag = REQUEST_DEV_REMOVAL; in destroy_device()
1531 lcore_info[vdev->coreid].device_num--; in destroy_device()
1604 if (lcore_info[lcore].device_num < device_num_min) { in new_device()
1605 device_num_min = lcore_info[lcore].device_num; in new_device()
1611 TAILQ_INSERT_TAIL(&lcore_info[vdev->coreid].vdev_list, vdev, in new_device()
1613 lcore_info[vdev->coreid].device_num++; in new_device()
[all …]
H A Dmain.h73 struct lcore_info { struct
/dpdk/app/test-flow-perf/
H A Dmain.c105 struct lcore_info { struct
116 static struct lcore_info lcore_infos[RTE_MAX_LCORE]; argument
1693 do_rx(struct lcore_info *li, uint16_t rx_port, uint16_t rx_queue) in do_rx()
1702 do_tx(struct lcore_info *li, uint16_t cnt, uint16_t tx_port, in do_tx()
1749 struct lcore_info *old; in packet_per_second_stats()
1750 struct lcore_info *li, *oli; in packet_per_second_stats()
1755 sizeof(struct lcore_info) * RTE_MAX_LCORE, 0); in packet_per_second_stats()
1760 sizeof(struct lcore_info) * RTE_MAX_LCORE); in packet_per_second_stats()
1814 sizeof(struct lcore_info) * RTE_MAX_LCORE); in packet_per_second_stats()
1824 struct lcore_info *li = &lcore_infos[lcore]; in start_forwarding()