[dpdk-dev] [PATCH] mbuf: make rearm_data address naturally aligned

Zoltan Kiss zoltan.kiss at linaro.org
Fri May 20 17:30:33 CEST 2016


Hi,

On 19/05/16 13:18, Ananyev, Konstantin wrote:
> I wonder does anyone really use mbuf port field?
> My though was - could we to drop it completely?

There are a few example codes which are reading the port field. Although 
they can retain this metadata in the private area of the mbuf, right 
after receiving, it would cause them a minor perf drop to do it 
separately. I'm not sure which one is more important: this perf drop of 
the gain everyone else has by relieving the drivers to do it.

Zoli


More information about the dev mailing list