[dpdk-dev] [PATCH v8 2/9] test: add basic bus infrastructure tests

Shreyansh Jain shreyansh.jain at nxp.com
Wed Jan 18 06:13:14 CET 2017


> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, January 18, 2017 4:54 AM
> To: Shreyansh Jain <shreyansh.jain at nxp.com>
> Cc: dev at dpdk.org
> Subject: Re: [PATCH v8 2/9] test: add basic bus infrastructure tests
> 
> 2017-01-17 19:07, Shreyansh Jain:
> > +REGISTER_TEST_COMMAND(bus_autotest, test_bus);
> 
> You should add it to app/test/autotest_data.py

Ok. I will do that.

> 
> > +/* 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 kind of expected/standard. But, it seems probably it is not. I will change the tests.


More information about the dev mailing list