[dpdk-dev] [PATCH v1] Send updated port_id in vdev_init functions
Ravi Kerur
rkerur at gmail.com
Thu Aug 6 19:49:20 CEST 2015
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
More information about the dev
mailing list