Hi,
I modified the ethdev.io and l2fwd.cli scripts like below, but I am not sure if it's the correct way:
-------------------------------------
ethdev.io:
mirroring slots 4 sessions 64
port in 0 ethdev 0000:02:04.0 rxq 0 bsz 32
port in 1 ethdev 0000:02:05.0 rxq 0 bsz 32
port out 0 ethdev 0000:02:04.0 txq 0 bsz 32
port out 1 ethdev 0000:02:05.0 txq 0 bsz 32
-------------------------------------
l2fwd.cli:
pipeline codegen ./l2fwd.spec ./l2fwd.c
pipeline libbuild ./l2fwd.c ./l2fwd.so
mempool MEMPOOL0 meta 0 pkt 2176 pool 32K cache 256 numa 0
ethdev 0000:02:04.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
ethdev 0000:02:05.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
pipeline PIPELINE0 build lib ./l2fwd.so io ./ethdev.io numa 0
pipeline PIPELINE0 enable thread 1
----------------------------------------
the l2fwd.spec file is same to the copy in repo, nothing changed. 0000:02:04.0 and 0000:02:05.0 are the NICs bound to DPDK.
the command to run the application like below:
sudo ./pipeline -c 0x3 -- -s ./l2fwd.cli
and no errors show up after the command executed.
The question is:
I connected to hosts to the two NICs bound to DPDK, set IP addresses on both hosts, and attemped to ping between the two hosts, but it failed.
So, is it my understanding that's flawed, or is it my setup?
Thanks in advance.