使用DPDK 配置多接收队列,每个core 都能从各自的队列收取数据,但是使用APP中proc_info查看统计时,只能看到队列0里有统计值,什么原因?
已经确认了配置的每个队列都有对应的core去处理,而且队列0的统计与实际放包的总数是相符的。
proc_info的输出截取如下:
alloc_rx_buff_failed: 0
rx_queue_0_rx_packets: 63040
rx_queue_0_rx_bytes: 4034560
rx_queue_1_rx_packets: 0
rx_queue_1_rx_bytes: 0
tx_queue_0_tx_packets: 0
tx_queue_0_tx_bytes: 0
tx_queue_0_tx_errors: 0