[dts] [PATCH V1] update dump test suite
huilongx.xu at intel.com
Wed Aug 10 09:50:49 CEST 2016
The mempool name maybe will changed, when development want to update.
Dump only a debug function, I think we only check it can dump the info.
And the info by dump is normal or not decide by mempool auto test and mempool struct.
Thanks a lot
> -----Original Message-----
> From: Liu, Yong
> Sent: Tuesday, August 09, 2016 5:57 PM
> To: Xu, HuilongX; dts at dpdk.org
> Subject: Re: [dts] [PATCH V1] update dump test suite
> dump_ring, dump_mempool are the test cases for dpdk API which can dump
> all mempools and rings.
> Ideally, we need to verify dumped mempool information is the same as
> added. But at least, we need to verify all added mempools and rings can
> be dumped.
> After running mempool autotest, there' re three mempools left, they are
> "test_nocache", "test_cache", "test_stack".
> We need verify the information is correct.
> On 08/09/2016 01:47 PM, Xu, HuilongX wrote:
> >> Only check ring number is not enough, we'd better also check expected
> >> >ring name.
> > The ring name only a string. The string content set by who will used
> > So I think we don't need check the string content. We only should
> check dump can work, and get ring struct info.
> > And the struct content by dpdk decision.
> >> >
More information about the dts