[dpdk-dev] [PATCH v3 3/6] test/hash: test more corner cases in unit test

Thomas Monjalon thomas at monjalon.net
Fri Oct 26 13:02:41 CEST 2018


> > --- a/test/test/test_hash_readwrite.c
> > +++ b/test/test/test_hash_readwrite.c
> > test_hash_readwrite_worker(__attribute__((unused)) void *arg)
> >  uint64_t i, offset;
> >  uint32_t lcore_id = rte_lcore_id();
> >  uint64_t begin, cycles;
> > -int ret;
> > +int *ret;
> >
> > +ret = rte_malloc(NULL, sizeof(int) *
> > +tbl_rw_test_param.num_insert, 0);
> This memory needs to be freed at the end of this function

I am waiting a v4 for this change, please.





More information about the dev mailing list