Re: [dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2017-01-08 Thread Shreyansh Jain
On Friday 06 January 2017 07:16 PM, Thomas Monjalon wrote: 2017-01-06 17:30, Shreyansh Jain: On Friday 06 January 2017 04:08 PM, Shreyansh Jain wrote: On Wednesday 04 January 2017 03:16 AM, Thomas Monjalon wrote: 2016-12-26 18:53, Shreyansh Jain: --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/

Re: [dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2017-01-08 Thread Shreyansh Jain
Hello, On Sunday 08 January 2017 05:51 PM, Rosen, Rami wrote: Hi, diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 2206277..2c223de 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c +/* Scan all the buses for

Re: [dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2017-01-08 Thread Rosen, Rami
Hi, ... ... diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 2206277..2c223de 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c ... +/* Scan all the buses for registering devices */ int +rte_eal_bus_scan(void) +{ + int re

Re: [dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2017-01-06 Thread Thomas Monjalon
2017-01-06 17:30, Shreyansh Jain: > On Friday 06 January 2017 04:08 PM, Shreyansh Jain wrote: > > On Wednesday 04 January 2017 03:16 AM, Thomas Monjalon wrote: > >> 2016-12-26 18:53, Shreyansh Jain: > >>> --- a/lib/librte_eal/linuxapp/eal/eal.c > >>> +++ b/lib/librte_eal/linuxapp/eal/eal.c > >>> @@

Re: [dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2017-01-06 Thread Shreyansh Jain
On Friday 06 January 2017 04:08 PM, Shreyansh Jain wrote: On Wednesday 04 January 2017 03:16 AM, Thomas Monjalon wrote: 2016-12-26 18:53, Shreyansh Jain: --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -844,6 +845,9 @@ rte_eal_init(int argc, char **argv)

Re: [dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2017-01-06 Thread Shreyansh Jain
On Wednesday 04 January 2017 03:16 AM, Thomas Monjalon wrote: 2016-12-26 18:53, Shreyansh Jain: --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -844,6 +845,9 @@ rte_eal_init(int argc, char **argv) if (rte_eal_intr_init() < 0) rte_panic("

Re: [dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2017-01-03 Thread Thomas Monjalon
2016-12-26 18:53, Shreyansh Jain: > --- a/lib/librte_eal/linuxapp/eal/eal.c > +++ b/lib/librte_eal/linuxapp/eal/eal.c > @@ -844,6 +845,9 @@ rte_eal_init(int argc, char **argv) > if (rte_eal_intr_init() < 0) > rte_panic("Cannot init interrupt-handling thread\n"); > > +

[dpdk-dev] [PATCH v5 04/12] eal: integrate bus scan and probe with EAL

2016-12-26 Thread Shreyansh Jain
Still a dummy implementation as no real bus driver exists. This adds calls from EAL to bus specific scan, match functions. Once driver->probe is in place, and a bus handler has been installed, the code would become effective. Signed-off-by: Shreyansh Jain --- lib/librte_eal/bsdapp/eal/eal.c