[dpdk-dev] [PATCH] ether: remove packing and set two-byte alignment

Thomas Monjalon thomas at monjalon.net
Sun Oct 27 18:13:01 CET 2019


10/10/2019 12:46, Bruce Richardson:
> The ether header does not need to be packed since that makes no sense for
> structures with only bytes in them, but it should be aligned to a two-byte
> boundary to simplify access to it from code. Other packed structures that
> use this also need to be updated to take account of the change, either by
> removing packing - where it is clearly unneeded - or by explicitly giving
> those structures 2-byte alignment also.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks





More information about the dev mailing list