DPDK usage discussions
 help / color / mirror / Atom feed
From: Anna Tauzzi <admin@argonnetech.net>
To: users@dpdk.org
Subject: Initializing and starting port on primary but transmitting on secondary I get port not ready
Date: Wed, 31 Aug 2022 22:59:56 +0200	[thread overview]
Message-ID: <CAK_0FMTBmt_y1EHEZVR8qGJY6N14TAVH_VLvbnpYywee6=EUgw@mail.gmail.com> (raw)

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

I initialize a port with the following methods on a primary process:

rte_dev_probe(vf)

rte_eth_dev_configure(port_id, ... );

rte_eth_dev_adjust_nb_rx_tx_desc(port_id, ... );

rte_eth_rx_queue_setup(port_id, .... );

rte_eth_tx_queue_setup(port_id, ... );

rte_eth_dev_start(port_id ... );



Then I use the rte_eth_tx_burst(port_id) in the secondary process but I get
this message:

called tx_pkt_burst for not ready port 0

Is this expected?

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

             reply	other threads:[~2022-08-31 21:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31 20:59 Anna Tauzzi [this message]
2022-09-01  1:25 ` Stephen Hemminger
2022-09-01  7:33   ` Anna Tauzzi
2022-09-01 15:21     ` Stephen Hemminger
2022-09-05 10:14       ` Anna Tauzzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK_0FMTBmt_y1EHEZVR8qGJY6N14TAVH_VLvbnpYywee6=EUgw@mail.gmail.com' \
    --to=admin@argonnetech.net \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).