[dpdk-dev] [PATCH 1/3] librte_reorder: New reorder library
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Jan 20 09:00:38 CET 2015
Hi,
2015-01-07 16:39, Reshma Pattan:
> 1)New library to provide reordering of out of ordered
> mbufs based on sequence number of mbuf. Library uses reorder buffer structure
> which in tern uses two circular buffers called ready and order buffers.
> *rte_reorder_create API creates instance of reorder buffer.
> *rte_reorder_init API initializes given reorder buffer instance.
> *rte_reorder_reset API resets given reorder buffer instance.
> *rte_reorder_insert API inserts the mbuf into order circular buffer.
> *rte_reorder_fill_overflow moves mbufs from order buffer to ready buffer
> to accomodate early packets in order buffer.
> *rte_reorder_drain API provides draining facility to fetch out
> reordered mbufs from order and ready buffers.
>
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
> Signed-off-by: Richardson Bruce <bruce.richardson at intel.com>
I think 2 things are missing in this patchset:
1) Could you show some performance numbers to compare a simple forwarding
with and without this library, in the commit log?
2) Could you add some documentation in doc/ directory for programmer's guide?
Thank you
--
Thomas
More information about the dev
mailing list