Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mlx5_pci: probe of PCI device 0000:18:00.0 aborted after encountering an error: Operation not supported #14

Open
littleneko opened this issue Sep 6, 2024 · 0 comments

Comments

@littleneko
Copy link

littleneko commented Sep 6, 2024

配置应该是没问题的,之前还能运行,然后在自己的程序中不知道做了什么,然后就这样了

Server:

$ cat tpa.cfg 
net {
    name = bond1
    ip   = xxxx
    gw   = xxxx
    mask = 255.255.255.128
    bonding = eth0 eth1
}

log {
    level = 3
    file  = ./log/tpa.log
}

dpdk {
    pci = 0000:18:00.0 0000:18:00.1
}
$ sudo techo 
EAL: Detected 128 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: Probe PCI driver: mlx5_pci (15b3:1017) device: 0000:18:00.0 (socket 0)
mlx5_pci: port 0 verbs maximum priority: 0 expected 8/16
mlx5_pci: probe of PCI device 0000:18:00.0 aborted after encountering an error: Operation not supported
common_mlx5: Failed to load driver = mlx5_pci.

EAL: Requested device 0000:18:00.0 cannot be used
EAL: Probe PCI driver: mlx5_pci (15b3:1017) device: 0000:18:00.1 (socket 0)
mlx5_pci: unable to recognize master/representors on the IB device with multiple ports
common_mlx5: Failed to load driver = mlx5_pci.

EAL: Requested device 0000:18:00.1 cannot be used
EAL: Bus (pci) probe failed.
Invalid port_id=0
:: listening on port 5678 ...

Client:

$ cat tpa.cfg 
net {
    name = bond1
    ip   = xxxxx
    gw   = xxxx
    mask = 255.255.255.128
    bonding = eth0 eth1
}

log {
    level = 3
    file  = ./log/tpa.log
}

dpdk {
    pci = 0000:5e:00.0 0000:5e:00.1
}
$ sudo swing -z xxxxx 5678
EAL: Detected 32 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:5e:00.0 (socket 0)
mlx5_pci: No available register for Sampler.
EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:5e:00.1 (socket 0)
mlx5_pci: no Verbs device matches PCI device 0000:5e:00.1, are kernel drivers loaded?
common_mlx5: Failed to load driver = mlx5_pci.

EAL: Requested device 0000:5e:00.1 cannot be used
:: connecting to xxxxx:5678 ...failed to read: Connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant