From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 45AAAA0543; Mon, 13 Jun 2022 09:13:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 460744281C; Mon, 13 Jun 2022 09:12:55 +0200 (CEST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id 567C740042 for ; Wed, 8 Jun 2022 21:14:39 +0200 (CEST) Received: by mail-lf1-f50.google.com with SMTP id w20so13006806lfa.11 for ; Wed, 08 Jun 2022 12:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=74k1uwj/TgJ9e4bJOrEp065XCpQGUK9TwAcFf01DGVI=; b=gMcntZo0QNL3NY030w/0qBGjk5ZRI0j/mH+psNR6qIYbi2DVAAXNmacu21IhA6sbqe +9qYgEV1cPTpAnxe5H5t4C3w7Rwpnwv7d5uFp0yvgmH9cXEGHDmfEOYgKuILCS+rh5n9 mNEGqvugCy5xz0UmtezWOuBzX7e3zEKf2gibRyzDlxCjdXVUVfMqVS6HBiJzuTvhMP9k rUeXQDW7ES9+kQBwG/6nBfqEz/D2A/pAmmSAr2Q+wL7JPFHbh9fjHUcg5SeCkME8b12C bg6j8TxD9xZnFlSgMi+cHBbAZpHjufPk/fqK2fcJaM7JnZZNqOVPAMzrBgj8VJjrXtxe ZMbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=74k1uwj/TgJ9e4bJOrEp065XCpQGUK9TwAcFf01DGVI=; b=4fImf5a/0xLJ9y2j0fpshxEm5shuPBcQs4aUzZwW13THioVhJwdFNGz9EoHzukuk0q 1JKGAx4Om1xch31QKhMzpHPmW0rjJrHNFU1Ukh8xxfJu/tdufGJhxXR+vXUCFpCbt4g4 DBAxFY4SNxvSn9Pb7qWrwTGYQvfTctxxBQ+n0/CJwakUUE+RjHWwdA8D4HtmGZ5VH1vb uotqVo6UnPtSRf+5OMabNpC1y8m8I8KdkAlpLeCz9044nfBC8zCKc0p4pcdal7uS40Em 5VZwZDGxkI1CPy/RLKExYqwk6BmlgG6OHBkIhpzsFRa2e/mCq3jerpi8c0O6NTZcdwPg PLYQ== X-Gm-Message-State: AOAM531aYMXCoWtxJcS9Y8/qEP6A3BT6/lydkeGxqD74tCO1FgcSM1B7 N+i+efQXntt9ouKLFSyLKtwU14flyRRBFLkL3UmT8DvUfN8= X-Google-Smtp-Source: ABdhPJyJ9KqKKq8xvWImVmx9BvtRrr7eBUoPvIM7JBWdyxywMWbLQge7xaNoiknD2Hg0lHRZ3ouxkhZaDFBhy5vQIHo= X-Received: by 2002:a05:6512:68d:b0:478:f8e3:f9c8 with SMTP id t13-20020a056512068d00b00478f8e3f9c8mr22598345lfe.450.1654715678102; Wed, 08 Jun 2022 12:14:38 -0700 (PDT) MIME-Version: 1.0 From: Pilar Manzanares Date: Wed, 8 Jun 2022 21:14:26 +0200 Message-ID: Subject: pipeline port in /port out error (swx) To: dev@dpdk.org Content-Type: multipart/alternative; boundary="0000000000003298d805e0f48426" X-Mailman-Approved-At: Mon, 13 Jun 2022 09:12:51 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --0000000000003298d805e0f48426 Content-Type: text/plain; charset="UTF-8" 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 --0000000000003298d805e0f48426 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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-co= mpatible driver
0000:00:08.0 "8254EM Gigabit........" drv=3Dui= o_pci_generic unused=3De1000,vfio-pci
0000:00:09.0 "8254EM Gigabit.= ......." drv=3Duio_pci_generic unused=3De1000,vfio-pci

I am tes= ting 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/ex= amples/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 MEMP= OOL0 txq 1 512 promiscouos on -> OK (also checked using "link show&= quot;)

pipeline PIPELINE0 create 0 -> OK

pipeline PIPELINE= 0 port in 0 link LINK0 rxq 0 bsz 32 --> port in error
pipeline PIPELI= NE0 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
pipel= ine PIPELINE0 port out 1 link LINK1 txq 0 bsz 32 --> port out error
= =C2=A0
rte_swx_ctl_pipeline_port_in_config(p->p, port_id,"ethdev= ",&params) returns -22 (EINVAL) incorrect values

The same h= appens testing l2fwd_mac_swap_pcap.cli which uses "source" and &q= uot;sink" types.

Any idea what is happening or how to solv= e it?

Thanks in advance
--0000000000003298d805e0f48426--