net: remove ethernet packing and set two-byte alignment
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 10 Oct 2019 10:46:23 +0000 (11:46 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 27 Oct 2019 17:13:44 +0000 (18:13 +0100)
commitda5350ef29afd35c1adabe76f60832f3092269ad
tree15c84ab1fb6019b07433ce221d9a8597d6a54be2
parent8301b0471ef45e5e74261df54a2327cfa461a0a4
net: remove ethernet packing and set two-byte alignment

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@networkplumber.org>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_19_11.rst
drivers/net/bonding/rte_eth_bond_8023ad.h
lib/librte_net/rte_arp.h
lib/librte_net/rte_ether.h
lib/librte_pipeline/rte_table_action.c