DPDK patches and discussions
 help / color / mirror / Atom feed
* pipeline port in /port out error (swx)
@ 2022-06-08 19:14 Pilar Manzanares
  0 siblings, 0 replies; only message in thread
From: Pilar Manzanares @ 2022-06-08 19:14 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]

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",&params) 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

[-- Attachment #2: Type: text/html, Size: 1686 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-13  7:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 19:14 pipeline port in /port out error (swx) Pilar Manzanares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).