Home
last modified time | relevance | path

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

/f-stack/dpdk/examples/vhost/
H A Dmain.c173 static struct lcore_info lcore_info[RTE_MAX_LCORE]; variable
1211 lcore_info[lcore_id].dev_removal_flag = ACK_DEV_REMOVAL; in switch_worker()
1216 TAILQ_FOREACH(vdev, &lcore_info[lcore_id].vdev_list, in switch_worker()
1262 TAILQ_REMOVE(&lcore_info[vdev->coreid].vdev_list, vdev, in destroy_device()
1269 lcore_info[lcore].dev_removal_flag = REQUEST_DEV_REMOVAL; in destroy_device()
1281 lcore_info[vdev->coreid].device_num--; in destroy_device()
1324 if (lcore_info[lcore].device_num < device_num_min) { in new_device()
1325 device_num_min = lcore_info[lcore].device_num; in new_device()
1331 TAILQ_INSERT_TAIL(&lcore_info[vdev->coreid].vdev_list, vdev, in new_device()
1333 lcore_info[vdev->coreid].device_num++; in new_device()
[all …]
H A Dmain.h73 struct lcore_info { struct
/f-stack/dpdk/app/test-flow-perf/
H A Dmain.c84 struct lcore_info { struct
95 static struct lcore_info lcore_infos[MAX_LCORES]; argument
1026 do_rx(struct lcore_info *li, uint16_t rx_port, uint16_t rx_queue) in do_rx()
1035 do_tx(struct lcore_info *li, uint16_t cnt, uint16_t tx_port, in do_tx()
1082 struct lcore_info *old; in packet_per_second_stats()
1083 struct lcore_info *li, *oli; in packet_per_second_stats()
1088 sizeof(struct lcore_info) * MAX_LCORES, 0); in packet_per_second_stats()
1093 sizeof(struct lcore_info) * MAX_LCORES); in packet_per_second_stats()
1147 sizeof(struct lcore_info) * MAX_LCORES); in packet_per_second_stats()
1157 struct lcore_info *li = &lcore_infos[lcore]; in start_forwarding()