pipeline port in /port out error (swx)
Pilar Manzanares
pimanlonoct at gmail.com
Wed Jun 8 21:14:26 CEST 2022
Hello,
I'm using dpdk-22.03 in an Ubuntu 20.04 Virtual Machine using VirtualBox.
Two network devices are binded.
./usertools/dpdk-devbind.py --status
Nework devices using DPDK-compatible driver
0000:00:08.0 "8254EM Gigabit........" drv=uio_pci_generic
unused=e1000,vfio-pci
0000:00:09.0 "8254EM Gigabit........" drv=uio_pci_generic
unused=e1000,vfio-pci
I am testing the pipeline application and the given examples
(registers.cli, l2fwd.cli...),
but the pipeline port in / port out commands always fail.
For example, testing
dpdk-pipeline -l0-1 -- -s ./examples/pipeline/examples/registers.cli
mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0 -> OK
link LINK0 dev 0000:00:08.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscouos on ->
OK
link LINK1 dev 0000:00:09.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscouos on ->
OK (also checked using "link show")
pipeline PIPELINE0 create 0 -> OK
pipeline PIPELINE0 port in 0 link LINK0 rxq 0 bsz 32 --> port in error
pipeline PIPELINE0 port in 1 link LINK1 rxq 0 bsz 32 --> port in error
pipeline PIPELINE0 port out 0 link LINK0 txq 0 bsz 32 --> port out error
pipeline PIPELINE0 port out 1 link LINK1 txq 0 bsz 32 --> port out error
rte_swx_ctl_pipeline_port_in_config(p->p, port_id,"ethdev",¶ms) returns
-22 (EINVAL) incorrect values
The same happens testing l2fwd_mac_swap_pcap.cli which uses "source" and
"sink" types.
Any idea what is happening or how to solve it?
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20220608/ab886481/attachment.htm>
More information about the dev
mailing list