On Wednesday 18 January 2017 12:58 PM, Thomas Monjalon wrote:
2017-01-18 06:56, Shreyansh Jain:
+/* Bus list exposed */
+extern struct rte_bus_list rte_bus_list;
I think it should be possible to write a test without the real list
of registered bus.
Yes, it is possible. I just modeled it on t
2017-01-18 06:56, Shreyansh Jain:
> > > > +/* Bus list exposed */
> > > > +extern struct rte_bus_list rte_bus_list;
> > >
> > > I think it should be possible to write a test without the real list
> > > of registered bus.
> >
> > Yes, it is possible. I just modeled it on test_pci assuming that is a
> -Original Message-
> From: Shreyansh Jain
> Sent: Wednesday, January 18, 2017 10:42 AM
> To: 'Thomas Monjalon'
> Cc: dev@dpdk.org
> Subject: RE: [PATCH v8 2/9] test: add basic bus infrastructure tests
>
> > -Original Message-
> > From: Thomas Monjalon [mailto:thomas.monja...@6wi
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> Sent: Wednesday, January 18, 2017 4:54 AM
> To: Shreyansh Jain
> Cc: dev@dpdk.org
> Subject: Re: [PATCH v8 2/9] test: add basic bus infrastructure tests
>
> 2017-01-17 19:07, Shreyansh Jain:
> > +REGISTER_TE
2017-01-17 19:07, Shreyansh Jain:
> +REGISTER_TEST_COMMAND(bus_autotest, test_bus);
You should add it to app/test/autotest_data.py
> +/* Bus list exposed */
> +extern struct rte_bus_list rte_bus_list;
I think it should be possible to write a test without the real list
of registered bus.
Verification of bus registration, deregistration methods.
Signed-off-by: Shreyansh Jain
Reviewed-by: Ferruh Yigit
---
app/test/Makefile | 2 +-
app/test/test.h | 2 +
app/test/test_bus.c | 359
6 matches
Mail list logo