diff options
Diffstat (limited to 'app/include/mrapp.h')
| -rw-r--r-- | app/include/mrapp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/include/mrapp.h b/app/include/mrapp.h index 7d42dc2..c6687c3 100644 --- a/app/include/mrapp.h +++ b/app/include/mrapp.h @@ -113,7 +113,7 @@ struct mr_instance /* 是否发送免费ARP */ unsigned int nr_gratuitous_arp_send; /* 核心掩码 */ - cpu_mask_t cpu_mask; + cpu_set_t cpu_set; /* 线程初始化锁 */ pthread_mutex_t lock_thread_init; /* 当前待分配的线程ID */ @@ -131,4 +131,4 @@ int mrapp_monit_loop(struct mr_instance * instance); int mrapp_packet_send_burst(struct vdev_instance * vdi, queue_id_t qid, struct rte_mbuf * mbufs[], int nr_mbufs); -int mrapp_packet_fast_send_burst(struct vdev_instance * vdi, queue_id_t qid, struct rte_mbuf * mbufs[], int nr_mbufs);
\ No newline at end of file +int mrapp_packet_fast_send_burst(struct vdev_instance * vdi, queue_id_t qid, struct rte_mbuf * mbufs[], int nr_mbufs); |
