* [dpdk-dev] [PATCH v1] Send updated port_id in vdev_init functions
@ 2015-08-06 17:49 Ravi Kerur
0 siblings, 0 replies; only message in thread
From: Ravi Kerur @ 2015-08-06 17:49 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 +-
drivers/net/mpipe/mpipe_tilegx.c | 1 +
lib/librte_eal/common/eal_common_dev.c | 14 ++--
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 | 119 +++++++++++++++++---------------
lib/librte_ether/rte_ether_version.map | 2 +
8 files changed, 118 insertions(+), 66 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-06 17:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06 17:49 [dpdk-dev] [PATCH v1] Send updated port_id in vdev_init functions 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).