Open Sdarot opened 4 years ago
F-Stack‘s guide not applicable to Mellanox NIC, you should flow dpdk's guide or Mellanox's guide.
I finally solved this problem. You should copy librte_pmd_mlx5_glue.so.* to /lib64 directory
I finally solved this problem. You should copy librte_pmd_mlx5_glue.so.* to /lib64 directory
Can you explain more concretely? Thanks a lot. My problem is that DPDK can successfully use Mellanox NIC,but F-Stack can't. The example is both helloworld.
F-Stack is as follow
proc_lcore[0] = 0
port id = 0; nb_lcores= 1
EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes EAL: Auto-detected process type: PRIMARY EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: No available hugepages reported in hugepages-1048576kB f-stack -c1 -n4 --proc-type=auto EAL: Probing VFIO support... EAL: PCI device 0000:00:1f.6 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:15bc net_e1000_em EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:1583 net_i40e EAL: PCI device 0000:03:00.1 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:1583 net_i40e EAL: Error - exiting with code: 1 Cause: No probed ethernet devices
DPDK is as follow EAL: PCI device 0000:00:1f.6 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:15bc net_e1000_em EAL: PCI device 0000:01:00.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 15b3:1017 net_mlx5 EAL: PCI device 0000:01:00.1 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 15b3:1017 net_mlx5 EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:1583 net_i40e EAL: PCI device 0000:03:00.1 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:1583 net_i40e
Mellanox NIC‘s PCI is 0000:01:00.0 and 0000:01:00.1, DPDK can probe it, but F-Stack can't. Can you give me some advice? Thanks a lot!
When I try to run ff_start, to test the example "hello world" app, I'm facing an error "No probed ethernet devices"
running
CentOS Linux release 7.8.2003 (Core)
f-stack (dpdk) compiled withCONFIG_RTE_LIBRTE_MLX5_PMD=y
ff_start -c /etc/f-stack.conf
uname -a
Linux dev 4.14.35-1902.304.6.el7uek.x86_64 #2 SMP Thu Jul 2 18:16:54 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux
dpdk-devbind -s
libraries:
libibverbs-22.4-2.el7_8.x86_64
rdma-core-devel-22.4-2.el7_8.x86_64