F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.87k stars 899 forks source link

unable to start redis #826

Closed ovlnmurty closed 5 months ago

ovlnmurty commented 5 months ago

Hi, When i compile and run the redis server, i am getting error: no probed ethernet devices error.

here is the output.

root@alxuser:/home/alxuser/ovl/f-stack/dpdk/usertools# redis-server --conf /etc/redis/config.ini --proc-type=primary --proc-id=0 /etc/redis/redis.conf

f-stack -c1 -n4 --proc-type=primary EAL: Detected CPU lcores: 2 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: Probe PCI driver: net_virtio (1af4:1000) device: 0000:00:12.0 (socket -1) eth_virtio_pci_init(): Failed to init PCI device EAL: Requested device 0000:00:12.0 cannot be used TELEMETRY: No legacy callbacks, legacy socket not created EAL: Error - exiting with code: 1 Cause: No probed ethernet devices

ovlnmurty commented 5 months ago

Just to add more information, the output of the command dpdk-devbind.py command is as follows.

root@alxuser:/home/alxuser/ovl/f-stack/dpdk/usertools# python3 dpdk-devbind.py --status

Network devices using kernel driver

0000:00:12.0 'Virtio network device 1000' if=ens18 drv=virtio-pci unused=igb_uio Active 0000:00:13.0 '82540EM Gigabit Ethernet Controller 100e' if=ens19 drv=e1000 unused=igb_uio Active

No 'Baseband' devices detected

No 'Crypto' devices detected

No 'DMA' devices detected

No 'Eventdev' devices detected

No 'Mempool' devices detected

No 'Compress' devices detected

Misc (rawdev) devices using kernel driver

0000:00:0a.0 'Virtio block device 1001' drv=virtio-pci unused=igb_uio

No 'Regex' devices detected

Also, i could able to local ping the configured IP to the virtio-pci nic

ovlnmurty commented 5 months ago

before running it, i need to bound the NIC... Now its working... thanks.