Open sanhuanshisanshao opened 4 years ago
hello, I get some error when I'm trying run ans.
input: ./ans -c 0x4 -n 1 --base-virtaddr=0x2aaa2aa0000 -- -p 0x1 --config="(0,0,2)"
output: EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:00:05.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1d0f:ec20 net_ena EAL: PCI device 0000:00:06.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1d0f:ec20 net_ena
Start to Init port port 0: port name net_ena: max_rx_queues 8: max_tx_queues:8 rx_offload_capa 0x800: tx_offload_capa:0xe Creating queues: rx queue number=1 tx queue number=1... MAC Address:02:8B:F3:73:79:D8 Deault-- tx pthresh:0, tx hthresh:0, tx wthresh:0, tx offloads:0x0 lcore id:2, tx queue id:0, socket id:0 Conf-- tx pthresh:0, tx hthresh:0, tx wthresh:0, tx offloads:0xe Invalid value for nb_tx_desc(=2048), should be: <= 1024, = 128, and a product of 1 EAL: Error - exiting with code: 1 Cause: rte_eth_tx_queue_setup: err=-22, port=0
Please help me how to fix it, thanks!
change nb_tx_desc in ans_main.h.
hello, I get some error when I'm trying run ans.
input: ./ans -c 0x4 -n 1 --base-virtaddr=0x2aaa2aa0000 -- -p 0x1 --config="(0,0,2)"
output: EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:00:05.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1d0f:ec20 net_ena EAL: PCI device 0000:00:06.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1d0f:ec20 net_ena
Start to Init port port 0: port name net_ena: max_rx_queues 8: max_tx_queues:8 rx_offload_capa 0x800: tx_offload_capa:0xe Creating queues: rx queue number=1 tx queue number=1... MAC Address:02:8B:F3:73:79:D8 Deault-- tx pthresh:0, tx hthresh:0, tx wthresh:0, tx offloads:0x0 lcore id:2, tx queue id:0, socket id:0 Conf-- tx pthresh:0, tx hthresh:0, tx wthresh:0, tx offloads:0xe Invalid value for nb_tx_desc(=2048), should be: <= 1024, = 128, and a product of 1 EAL: Error - exiting with code: 1 Cause: rte_eth_tx_queue_setup: err=-22, port=0
Please help me how to fix it, thanks!