DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nissim Nisimov <NissimN@Radware.com>
To: "'dev@dpdk.org'" <dev@dpdk.org>
Subject: [dpdk-dev] calling rte_eth_rx_queue_setup from secondary processes
Date: Thu, 2 Apr 2015 10:26:47 +0000	[thread overview]
Message-ID: <94AA676E9B9A384A844E7692F3CAD906423CC12E@ILMB1.corp.radware.com> (raw)
In-Reply-To: <94AA676E9B9A384A844E7692F3CAD906423BDF6F@ILMB1.corp.radware.com>

Hi all,

I wonder if there is a possibility to call rte_eth_rx_queue_setup() from different processes (for different RSS queues off course)

For example, the code will look something like:


>From Process 1:

retval = rte_eth_rx_queue_setup(port_num, 0, rx_ring_size,
                                                            rte_eth_dev_socket_id(port_num), &rx_conf_default, dpdk_mp_handle);


from process 2:

retval = rte_eth_rx_queue_setup(port_num, 1, rx_ring_size,
                                                            rte_eth_dev_socket_id(port_num), &rx_conf_default, dpdk_mp_handle);




I know that rte_eth_rx_queue_setup() is not meant to work on secondary processes but my question is if there is a real reason for it. and if it can be changed so it will indeed work in such case

Thanks!
Nissim

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

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 17:58 [dpdk-dev] Queries on DPDK working with XL710 intel NIC Nissim Nisimov
2015-03-20 14:55 ` Nissim Nisimov
2015-03-20 15:30   ` Roberts, Lee A.
2015-04-02 10:26 ` Nissim Nisimov [this message]
2015-05-07 14:43 ` [dpdk-dev] Intel fortville not working with multi-segment Nissim Nisimov
2015-05-10 19:48   ` Nissim Nisimov
2015-05-11  2:02     ` Zhang, Helin
2015-05-11  3:43       ` Nissim Nisimov
2015-05-12  8:50       ` Zhang, Helin
2015-05-14 15:48         ` Nissim Nisimov
2015-05-27  3:54         ` Zhang, Helin
2015-05-28 17:51           ` Nissim Nisimov

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=94AA676E9B9A384A844E7692F3CAD906423CC12E@ILMB1.corp.radware.com \
    --to=nissimn@radware.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).