DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ravi Kerur <rkerur@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v2] Send updated port_id in vdev_init functions
Date: Wed, 19 Aug 2015 12:42:21 -0700	[thread overview]
Message-ID: <1440013341-29659-1-git-send-email-rkerur@gmail.com> (raw)

Instead of executing following functions before and after vdev_init
   > rte_eth_dev_save and
   > rte_eth_dev_get_changed_port

update following functions to return allocated port_id.
   > rte_eal_vdev_init
   > rte_eal_probe_one

Thanks to Tetsuya for his valuable inputs.

Ravi Kerur (1):
  Change rte_eal_vdev_init to update port_id

 drivers/net/enic/enic_ethdev.c          |   2 +-
 lib/librte_eal/common/eal_common_dev.c  |  13 ++--
 lib/librte_eal/common/eal_common_pci.c  |   6 +-
 lib/librte_eal/common/include/rte_dev.h |  36 +++++++++-
 lib/librte_eal/common/include/rte_pci.h |   4 +-
 lib/librte_ether/rte_ethdev.c           | 122 +++++++++++++++++---------------
 lib/librte_ether/rte_ether_version.map  |   8 +++
 7 files changed, 125 insertions(+), 66 deletions(-)

-- 
1.9.1

             reply	other threads:[~2015-08-19 19:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19 19:42 Ravi Kerur [this message]
2015-08-19 19:42 ` [dpdk-dev] [PATCH v2] Change rte_eal_vdev_init to update port_id Ravi Kerur
2015-08-20  2:07   ` Tetsuya Mukawa
2015-08-20 19:16     ` Ravi Kerur
2015-08-21  3:33       ` Tetsuya Mukawa
2015-08-25 17:59         ` Ravi Kerur
2015-09-03 14:04           ` David Marchand
2015-09-15 11:28             ` Ravi Kerur
2015-09-23 21:22               ` Ravi Kerur
2015-09-26 11:35                 ` Tetsuya Mukawa
2015-09-29  3:32                 ` Tetsuya Mukawa
2015-09-30 19:14                   ` Ravi Kerur

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=1440013341-29659-1-git-send-email-rkerur@gmail.com \
    --to=rkerur@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).