-
Notifications
You must be signed in to change notification settings - Fork 28
Description
As shown above, my env is similar to Issue#66, where NDNDPDK is activated as a forwarder and connected to an Ixia traffic generator. The NIC is also MT27800 Family [ConnectX-5] 1017, and Linux is 22.04. The NDN-DPDK version is set to 0c34e8b5abb312b6d82bf59395516767bc6f1c72 to be compatible with DPDK 22.07 installed on the server.
NDN interests are generated by Ixia and sent to port 0 (70NI3INGUPHD4), received by the face (7CT2LQTFMLGDLUDF) on port 0. Then, it is forwarded back to Ixia by the face (7CT2LQTFMPMD9UG) on port 1 (70NI3INGUPHD6). However, Ixia does not receive the interests forwarded back by port 1 as expected.

The content of the NDN interests is as shown in the figure below:

And the input cmd and output information are as follows:
$ sudo ndndpdk-ctrl systemd start
$ ndndpdk-ctrl activate-forwarder
Hint: pass parameters via stdin
{}
true
$ ndndpdk-ctrl create-eth-port --pci d9:00.0 --mtu 1500
{"id":"70NI3INGUPHD4","isDown":false,"macAddr":"10:70:fd:11:10:4e","mtu":1500,"name":"0000:d9:00.0","numaSocket":0}
$ ndndpdk-ctrl create-eth-port --pci d9:00.1 --mtu 1500
{"id":"70NI3INGUPHD6","isDown":false,"macAddr":"10:70:fd:11:10:4f","mtu":1500,"name":"0000:d9:00.1","numaSocket":0}
$ ndndpdk-ctrl create-ether-face --local 10:70:fd:11:10:4e --remote 4c:d9:8f:2c:e3:12
{"id":"7CT2LQTFMLGDLUDF"}
$ ndndpdk-ctrl create-ether-face --local 10:70:fd:11:10:4f --remote 4c:d9:8f:2c:e3:14
{"id":"7CT2LQTFMPMD9UG"}
$ ndndpdk-ctrl insert-fib --name /ndn/video/live/202310072149 --nh 7CT2LQTFMPMD9UG
{"id":"7CP2NIVRUGL9NTSGK4EI1N3CNSNIQJB29FNEV9FP4F1BCOR0GGA4G7U290K52G9LJK"}
$ ndndpdk-ctrl get-face --cnt --id 7CT2LQTFMLGDLUDF
{"counters":{"rxData":0,"rxFrames":10,"rxInterests":10,"rxNacks":0,"txData":0,"txFrames":0,"txInterests":0,"txNacks":0},"id":"7CT2LQTFMLGDLUDF","locator":{"local":"10:70:fd:11:10:4e","remote":"4c:d9:8f:2c:e3:12","scheme":"ether"}}
$ ndndpdk-ctrl get-face --cnt --id 7CT2LQTFMPMD9UG
{"counters":{"rxData":0,"rxFrames":0,"rxInterests":0,"rxNacks":0,"txData":0,"txFrames":10,"txInterests":10,"txNacks":0},"id":"7CT2LQTFMPMD9UG","locator":{"local":"10:70:fd:11:10:4f","remote":"4c:d9:8f:2c:e3:14","scheme":"ether"}}In addition, as shown in the figure below, I also tried to forward interests from a single port. The result showed that port 0 forwarded out NACKs, which seems to be because the name did not match.

$ sudo ndndpdk-ctrl systemd restart
$ ndndpdk-ctrl activate-forwarder
Hint: pass parameters via stdin
{}
true
$ ndndpdk-ctrl create-eth-port --pci d9:00.0 --mtu 1500
{"id":"HH1LIU939OEGM","isDown":false,"macAddr":"10:70:fd:11:10:4e","mtu":1500,"name":"0000:d9:00.0","numaSocket":0}
$ ndndpdk-ctrl create-ether-face --local 10:70:fd:11:10:4e --remote 4c:d9:8f:2c:e3:12
{"id":"HTB54M3S14FGSV1H"}
$ ndndpdk-ctrl insert-fib --name /ndn/video/live/202310072149 --nh HTB54M3S14FGSV1H
{"id":"HTF56U189HAK4TG1A9C439T7JQ0O0NOT3TDFFAC7GGF19TNUGCQGLBRL4UD56QLN3O"}
$ ndndpdk-ctrl get-face --cnt --id HTB54M3S14FGSV1H
{"counters":{"rxData":0,"rxFrames":11,"rxInterests":11,"rxNacks":0,"txData":0,"txFrames":11,"txInterests":0,"txNacks":11},"id":"HTB54M3S14FGSV1H","locator":{"local":"10:70:fd:11:10:4e","remote":"4c:d9:8f:2c:e3:12","scheme":"ether"}}I wonder if I have made mistakes in my NDN-DPDK settings.

