DPDK patches and discussions
 help / color / mirror / Atom feed
From: Pavel Odintsov <pavel.odintsov@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Can't allocate different number of TX and RX queues for single port of ixgbe NIC
Date: Tue, 28 Apr 2015 13:02:04 +0300	[thread overview]
Message-ID: <CALgsdbe9YTYxBCTo7Sp+No117dVqmJoKpwLo1NCiSnbK-G=zFQ@mail.gmail.com> (raw)

Hello, Network Performance Gurus!

I have Debian Jessie with 3.16 kernel, DPDK 2.0.0 with ixgbe NIC. And
I wrote following code:
https://gist.github.com/pavel-odintsov/e1f64de4d56c0ab1b37c

I try to allocate 2 queues for TX and only 1 queue for RX and I can't
do it with error (detailed error message
https://gist.github.com/pavel-odintsov/507cf7a082793f547120):
PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f9e9dcdbc80
hw_ring=0x7f9e9dd41500 dma_addr=0x36b41500
PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f9e9dcd9b40
hw_ring=0x7f9e9dd51580 dma_addr=0x36b51580
PMD: ixgbe_set_tx_function(): Using simple tx code path
PMD: ixgbe_set_tx_function(): Vector tx enabled.
EAL: Error - exiting with code: 1
  Cause: Can't configure TX queue 1 for port 0

I could fix this issue with allocation 2 queues for TX and 2 queues
for RX. But it's useless for my aplication because I need multiple TX
queue but could use only one RX and I want ability to specify
different number of queues for NIC.

Thank you so much!

-- 
Sincerely yours, Pavel Odintsov

             reply	other threads:[~2015-04-28 10:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 10:02 Pavel Odintsov [this message]
2015-04-28 10:57 ` Vladimir Medvedkin
2015-04-28 11:03   ` Pavel Odintsov

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='CALgsdbe9YTYxBCTo7Sp+No117dVqmJoKpwLo1NCiSnbK-G=zFQ@mail.gmail.com' \
    --to=pavel.odintsov@gmail.com \
    --cc=dev@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).