Hi,

I am trying to run the pipeline sample application (39. Pipeline Application ?? 
Data Plane Development Kit 24.03.0-rc3 documentation (dpdk.org)), with the 
L2fwd example in the examples directory.


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.


From the comment in the l2fwd.spec file, I guess this spec file has the very 
same function like the L2fwd sample application, with whitch I can ping between 
two hosts. (16. L2 Forwarding Sample Application (in Real and Virtualized 
Environments) ?? Data Plane Development Kit 24.03.0-rc3 documentation 
(dpdk.org)). However the pipeline does not work like what I guess. 



So, is it my understanding that's flawed, or is it my setup?


Thanks in advance.

Reply via email to