[dpdk-dev] [PATCH RFC 06/11] mbuf: replace data pointer by an offset

Thomas Monjalon thomas.monjalon at 6wind.com
Tue May 13 16:09:28 CEST 2014


Hi Venky,

2014-05-13 13:54, Venkatesan, Venky:
> An alternative way to save 6 bytes (without the side effects this change
> has) would be to change the mempool struct * to a uint16_t mempool_id. That
> limits the changes to a return function, and the performance impact of that
> can be mitigated quite easily.

It's very difficult to compare things without code examples.
Please, provide:
- a patch for your proposal
- an example application which allows to test and understand the performance 
issue you are pointing out

PS: please don't top post, it makes this thread difficult to read

-- 
Thomas


More information about the dev mailing list