> -----Original Message-----
> From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com]
> Sent: Sunday, June 04, 2017 12:21 PM
<..>
> >
> > +/* delete fragmentation table */
> > +void
> > +rte_ip_frag_table_destroy(struct rte_ip_frag_tbl *tbl)
> > +{
> > +   uint32_t i;
> > +
> > +   for (i = 0; i < tbl->nb_entries; i++)
> > +           ip_frag_free_immediate(&tbl->pkt[i]);
> 
> 
> Looks ok, just one thought: wouldn't it be better(faster) in most cases to
> iterate over lru list?
> I suppose usually we wouldn't have nearly all entries filled in.
> Konstantin

Ok, I will send a v2 patch soon.


Reply via email to