You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"level":"error","ts":1729861829.3359838,"logger":"eal","msg":"rte_dev_probe error","addr":"0000:03:00.0","args":"","error":"22 Invalid argument"}
{"level":"error","ts":1729861829.3360457,"logger":"DPDK","msg":"PCI_BUS: Expecting 'PA' IOVA mode but current mode is 'VA', not initializing"}
{"level":"error","ts":1729861829.3360944,"logger":"DPDK","msg":"EAL: Driver cannot attach the device (0000:03:00.0)"}
{"level":"error","ts":1729861829.3361518,"logger":"DPDK","msg":"EAL: Failed to attach device on primary process"}
rey@grey-virtual-machine:~$ cd /usr/local/bin
grey@grey-virtual-machine:/usr/local/bin$ sudo ip link set ens160 down
[sudo] password for grey:
grey@grey-virtual-machine:/usr/local/bin$ sudo ./dpdk-devbind.py --unbind 0000:03:00.0
grey@grey-virtual-machine:/usr/local/bin$ sudo ./dpdk-devbind.py -b igb_uio 0000:03:00.0
grey@grey-virtual-machine:/usr/local/bin$ sudo ./dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
0000:03:00.0 'VMXNET3 Ethernet Controller 07b0' drv=igb_uio unused=vmxnet3
Network devices using kernel driver
===================================
0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' if=ens33 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
==============================
No 'Misc (rawdev)' devices detected
===================================
No 'Regex' devices detected
===========================
No 'ML' devices detected
========================
grey@grey-virtual-machine:/usr/local/bin$ cd /usr/local/share/ndn-dpdk
grey@grey-virtual-machine:/usr/local/share/ndn-dpdk$ cat forwarder.json | ndndpdk-ctrl activate-forwarder
true
grey@grey-virtual-machine:/usr/local/share/ndn-dpdk$ ndndpdk-ctrl create-eth-port --pci 03:00.0 --mtu 1500 ens160 MAC: A:00:0c:29:c4:00:4c B:00:0c:29:14:0d:7a
2024/10/25 21:10:29 graphql: 22 Invalid argument
To create a port for the PCI-bound Ethernet adapter: ndndpdk-ctrl create-eth-port --pci 03:00.0 --mtu 1500 ens160 MAC: A:00:0c:29:c4:00:4c B:00:0c:29:14:0d:7a
Errors are always reported, may I ask why。
The text was updated successfully, but these errors were encountered:
{"level":"error","ts":1729861829.3360457,"logger":"DPDK","msg":"PCI_BUS: Expecting 'PA' IOVA mode but current mode is 'VA', not initializing"}
The PCI device you are trying to use expects 'PA' IOVA mode.
You need to pass .iovaMode="PA" in your forwarder/trafficgen activation parameters.
yoursunny
changed the title
Kneel down and ask the great god for an answer:graphql: 22 Invalid argument
22 Invalid argument | PCI_BUS: Expecting 'PA' IOVA mode but current mode is 'VA'
Oct 25, 2024
To create a port for the PCI-bound Ethernet adapter:
ndndpdk-ctrl create-eth-port --pci 03:00.0 --mtu 1500 ens160 MAC: A:00:0c:29:c4:00:4c B:00:0c:29:14:0d:7a
Errors are always reported, may I ask why。
The text was updated successfully, but these errors were encountered: