FastClick - A faster version of the Click Modular Router featuring batching, advanced multi-processing and improved Netmap and DPDK support (ANCS'15). Check the metron branch for Metron specificities (NSDI'18). PacketMill modifications (ASPLOS'21) as well as MiddleClick(ToN, 2021) are merged in main.
Other
279
stars
81
forks
source link
FastClick can't identify DPDK PORT,whatever Integer or PCI address. #356
I have met this problem:
My command: bin/click --dpdk -l 0-35 -n 6 -w 0000:04:00.1 -v -- CONFIG-1
EAL: Detected 32 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.05.0-rc4'
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No free hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
CONFIG-1:2: While configuring ‘FromDPDKDevice@1 :: FromDPDKDevice’:
0000:04:00.1: Unknown or invalid PORT
CONFIG-1:3: While configuring ‘ToDPDKDevice@2 :: ToDPDKDevice’:
BURST: unknown argument
Router could not be initialized!
My CONFIG-1 is very simple,only one line codes:
FromDPDKDevice(0000:04:00.1, N_QUEUES 1, MAXTHREADS 1, PAUSE none, BURST 32, NDESC 128, THREADOFFSET 0, NUMA false)->ToDPDKDevice(0000:04:00.1, IQUEUE 1, BLOCKING true, BURST 32);
AND this is what my dpdk-devbind.py --status shows:
Network devices using DPDK-compatible driver
0000:04:00.1 'MT416842 BlueField integrated ConnectX-5 network controller a2d2' drv=uio_pci_generic unused=mlx5_core
I have binded my mlx5 to the uio_pci_generic, and as far as I know,the mlx can also work on kernel driver. However ,whatever I bind the mlx5 to, I can only get the terrible results:“While configuring ‘FromDPDKDevice@1 :: FromDPDKDevice’: 0000:04:00.1: Unknown or invalid PORT”.
I have met this problem: My command: bin/click --dpdk -l 0-35 -n 6 -w 0000:04:00.1 -v -- CONFIG-1 EAL: Detected 32 lcore(s) EAL: Detected 2 NUMA nodes EAL: RTE Version: 'DPDK 20.05.0-rc4' EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: No free hugepages reported in hugepages-2048kB EAL: Probing VFIO support... EAL: VFIO support initialized EAL: No legacy callbacks, legacy socket not created CONFIG-1:2: While configuring ‘FromDPDKDevice@1 :: FromDPDKDevice’: 0000:04:00.1: Unknown or invalid PORT CONFIG-1:3: While configuring ‘ToDPDKDevice@2 :: ToDPDKDevice’: BURST: unknown argument Router could not be initialized!
My CONFIG-1 is very simple,only one line codes: FromDPDKDevice(0000:04:00.1, N_QUEUES 1, MAXTHREADS 1, PAUSE none, BURST 32, NDESC 128, THREADOFFSET 0, NUMA false)->ToDPDKDevice(0000:04:00.1, IQUEUE 1, BLOCKING true, BURST 32);
AND this is what my dpdk-devbind.py --status shows: Network devices using DPDK-compatible driver 0000:04:00.1 'MT416842 BlueField integrated ConnectX-5 network controller a2d2' drv=uio_pci_generic unused=mlx5_core
Network devices using kernel driver 0000:01:00.0 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' if=em1 drv=tg3 unused=uio_pci_generic Active 0000:01:00.1 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' if=em2 drv=tg3 unused=uio_pci_generic 0000:02:00.0 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' if=em3 drv=tg3 unused=uio_pci_generic 0000:02:00.1 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' if=em4 drv=tg3 unused=uio_pci_generic 0000:04:00.0 'MT416842 BlueField integrated ConnectX-5 network controller a2d2' if=p6p1 drv=mlx5_core unused=uio_pci_generic
I have binded my mlx5 to the uio_pci_generic, and as far as I know,the mlx can also work on kernel driver. However ,whatever I bind the mlx5 to, I can only get the terrible results:“While configuring ‘FromDPDKDevice@1 :: FromDPDKDevice’: 0000:04:00.1: Unknown or invalid PORT”.