DPDK usage discussions
 help / color / mirror / Atom feed
From: Hong Christian <hongguochun@hotmail.com>
To: "users@dpdk.org" <users@dpdk.org>,
	"xiaolong.ye@intel.com" <xiaolong.ye@intel.com>,
	"ciara.loftus@intel.com" <ciara.loftus@intel.com>
Subject: pmd_af_xdp: does net_af_xdp support different rx/tx queue configuration
Date: Thu, 4 Nov 2021 08:44:37 +0000
Message-ID: <SY4P282MB275834348E1058D21E38C8A6AC8D9@SY4P282MB2758.AUSP282.PROD.OUTLOOK.COM> (raw)

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

Hello DPDK users,

Sorry to disturb.

I am currently testing net_af_xdp device.
But I found the device configure always failed if I configure my rx queue != tx queue.
In my project, I use pipeline mode, and require 1 rx and several tx queues.

Example:
I run my app with paramter: "--no-pci --vdev net_af_xdp0,iface=ens12,queue_count=2 --vdev net_af_xdp1,iface=ens13,queue_count=2"
And config 1 rx and 2 tx queue, it will setup failed by print: "Port0 dev_configure = -22"

After checking some xdp docs, I found the rx and tx always bind to use, which connected to filling and completing ring.
But I still want to comfirm this with you ? Could you please share your comments ?
Thanks in advance.

Br,
Christian

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

             reply	other threads:[~2021-11-04  8:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-04  8:44 Hong Christian [this message]
2021-11-04 10:19 ` Loftus, Ciara
2021-11-05  5:42   ` 回复: " Hong Christian
2021-11-05  7:48     ` Loftus, Ciara
2021-11-05 10:05       ` 回复: " Hong Christian

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=SY4P282MB275834348E1058D21E38C8A6AC8D9@SY4P282MB2758.AUSP282.PROD.OUTLOOK.COM \
    --to=hongguochun@hotmail.com \
    --cc=ciara.loftus@intel.com \
    --cc=users@dpdk.org \
    --cc=xiaolong.ye@intel.com \
    /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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git