DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2] Send updated port_id in vdev_init functions
@ 2015-08-19 19:42 Ravi Kerur
  2015-08-19 19:42 ` [dpdk-dev] [PATCH v2] Change rte_eal_vdev_init to update port_id Ravi Kerur
  0 siblings, 1 reply; 12+ messages in thread
From: Ravi Kerur @ 2015-08-19 19:42 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-09-30 19:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 19:42 [dpdk-dev] [PATCH v2] Send updated port_id in vdev_init functions Ravi Kerur
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

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).