Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Wiles, Keith
> On Feb 15, 2017, at 2:06 PM, Jan Blunck wrote: > > On Wed, Feb 15, 2017 at 7:09 PM, Wiles, Keith wrote: >> >> I guess I see this differently, meaning we modified the system to put vdev >> devices last only because we do not have clean way to startup the system for >> pdev/vdev devices. The

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Jan Blunck
On Wed, Feb 15, 2017 at 7:09 PM, Wiles, Keith wrote: > > I guess I see this differently, meaning we modified the system to put vdev > devices last only because we do not have clean way to startup the system for > pdev/vdev devices. The application should be agnostic to the devices being > start

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Wiles, Keith
PM >>> To: Shreyansh Jain >>> Cc: Jan Blunck ; dev@dpdk.org >>> Subject: Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a >>> bus >>> >>> >>>> On Feb 15, 2017, at 8:15 AM, Shreyansh Jain wrote: >>>>

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Jerin Jacob
ject: Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a > > bus > > > > > > > On Feb 15, 2017, at 8:15 AM, Shreyansh Jain > > > wrote: > > > > > > On Wednesday 15 February 2017 07:41 PM, Shreyansh Jain wrote: > > &

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Wiles, Keith
> On Feb 15, 2017, at 11:10 AM, Wiles, Keith wrote: > > >> On Feb 15, 2017, at 11:06 AM, Jan Blunck wrote: >> >> On Wed, Feb 15, 2017 at 3:22 PM, Wiles, Keith wrote: >>> On Feb 15, 2017, at 8:15 AM, Shreyansh Jain wrote: Just ignore this comment - I am misunderstood s

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Wiles, Keith
> On Feb 15, 2017, at 11:06 AM, Jan Blunck wrote: > > On Wed, Feb 15, 2017 at 3:22 PM, Wiles, Keith wrote: >> >>> On Feb 15, 2017, at 8:15 AM, Shreyansh Jain wrote: >>> >>> >>> Just ignore this comment - I am misunderstood something. >>> >>> But another question: Is there specific reason V

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Jan Blunck
On Wed, Feb 15, 2017 at 3:22 PM, Wiles, Keith wrote: > >> On Feb 15, 2017, at 8:15 AM, Shreyansh Jain wrote: >> >> >> Just ignore this comment - I am misunderstood something. >> >> But another question: Is there specific reason VDEV should be >> registered/scanned *after* other devices? Is there

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Shreyansh Jain
> -Original Message- > From: Wiles, Keith [mailto:keith.wi...@intel.com] > Sent: Wednesday, February 15, 2017 7:53 PM > To: Shreyansh Jain > Cc: Jan Blunck ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a > bus > > &

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Wiles, Keith
> On Feb 15, 2017, at 8:15 AM, Shreyansh Jain wrote: > > On Wednesday 15 February 2017 07:41 PM, Shreyansh Jain wrote: >> On Wednesday 15 February 2017 03:32 PM, Jan Blunck wrote: >>> This is a refactoring of the virtual device probing which moves into into >>> a proper bus structure. >>> >>> S

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Shreyansh Jain
On Wednesday 15 February 2017 07:43 PM, Jan Blunck wrote: On Wed, Feb 15, 2017 at 3:11 PM, Shreyansh Jain wrote: On Wednesday 15 February 2017 03:32 PM, Jan Blunck wrote: + +static struct rte_bus rte_vdev_bus = { + .scan = vdev_scan, + .probe = vdev_probe, +}; + +RTE_REGISTER_B

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Jan Blunck
On Wed, Feb 15, 2017 at 3:11 PM, Shreyansh Jain wrote: > On Wednesday 15 February 2017 03:32 PM, Jan Blunck wrote: >> > >> + >> +static struct rte_bus rte_vdev_bus = { >> + .scan = vdev_scan, >> + .probe = vdev_probe, >> +}; >> + >> +RTE_REGISTER_BUS_LATE(virtual, rte_vdev_bus); >> > >

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Shreyansh Jain
On Wednesday 15 February 2017 07:41 PM, Shreyansh Jain wrote: On Wednesday 15 February 2017 03:32 PM, Jan Blunck wrote: This is a refactoring of the virtual device probing which moves into into a proper bus structure. Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_dev.c | 22

Re: [dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Shreyansh Jain
On Wednesday 15 February 2017 03:32 PM, Jan Blunck wrote: This is a refactoring of the virtual device probing which moves into into a proper bus structure. Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_dev.c | 22 - lib/librte_eal/common/eal_common_vdev.c | 44

[dpdk-dev] [PATCH 3/7] eal: move virtual device probing into a bus

2017-02-15 Thread Jan Blunck
This is a refactoring of the virtual device probing which moves into into a proper bus structure. Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_dev.c | 22 - lib/librte_eal/common/eal_common_vdev.c | 44 + 2 files changed, 44 inse