[dpdk-dev] [PATCH v1] Change rte_eal_vdev_init to update port_id

2015-08-10 Thread Tetsuya Mukawa
On 2015/08/08 7:06, Ravi Kerur wrote: > Hi Tetsuya, > > On Thu, Aug 6, 2015 at 7:25 PM, Tetsuya Mukawa > wrote: > > On 2015/08/07 3:04, Ravi Kerur wrote: > > diff --git a/drivers/net/enic/enic_ethdev.c > b/drivers/net/enic/enic_ethdev.c > > index

[dpdk-dev] [PATCH v1] Change rte_eal_vdev_init to update port_id

2015-08-09 Thread Thomas Monjalon
2015-08-07 15:06, Ravi Kerur: > On Thu, Aug 6, 2015 at 7:25 PM, Tetsuya Mukawa wrote: > > On 2015/08/07 3:04, Ravi Kerur wrote: > > Hi Thomas, > > > > Could you please make sure API consistency? > > Is it ok to add above functions to DPDK_2.1 even though we are in RC > > phase, or need to add to

[dpdk-dev] [PATCH v1] Change rte_eal_vdev_init to update port_id

2015-08-07 Thread Ravi Kerur
Hi Tetsuya, On Thu, Aug 6, 2015 at 7:25 PM, Tetsuya Mukawa wrote: > On 2015/08/07 3:04, Ravi Kerur wrote: > > diff --git a/drivers/net/enic/enic_ethdev.c > b/drivers/net/enic/enic_ethdev.c > > index 8280cea..472ef5a 100644 > > --- a/drivers/net/enic/enic_ethdev.c > > +++

[dpdk-dev] [PATCH v1] Change rte_eal_vdev_init to update port_id

2015-08-07 Thread Tetsuya Mukawa
On 2015/08/07 3:04, Ravi Kerur wrote: > diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c > index 8280cea..472ef5a 100644 > --- a/drivers/net/enic/enic_ethdev.c > +++ b/drivers/net/enic/enic_ethdev.c > @@ -36,8 +36,8 @@ > #include > #include > > -#include >

[dpdk-dev] [PATCH v1] Change rte_eal_vdev_init to update port_id

2015-08-06 Thread Ravi Kerur
Changes include > Modify rte_eal_vdev_init to return allocated port_id > Modify rte_eal_probe_one to return allocated port_id 2. Removed following functions > rte_eth_dev_save and > rte_eth_dev_get_changed_port 3. Added 2 new functions > rte_eth_dev_get_port_by_name >