summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2019-07-19 09:56:31 -0700
committerThomas Monjalon <thomas@monjalon.net>2019-08-10 22:21:31 +0200
commit9c8a4aba02a2860cced933c38b7d0ec956a88715 (patch)
tree188a8f180e94325cf038647e09ee3e9fc962714f
parent07f08a96f5255a0375dce2683db4fb489bbaa8a0 (diff)
downloaddpdk-9c8a4aba02a2860cced933c38b7d0ec956a88715.zip
dpdk-9c8a4aba02a2860cced933c38b7d0ec956a88715.tar.gz
dpdk-9c8a4aba02a2860cced933c38b7d0ec956a88715.tar.xz
doc: announce ethernet structures alignment changes
Tell users about upcoming changes to rte_ether_addr and rte_ether_header. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
-rw-r--r--doc/guides/rel_notes/deprecation.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index b1aa6a8..bbe8090 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -61,6 +61,16 @@ Deprecation Notices
structure would be made internal (or removed if all dependencies are cleared)
in future releases.
+* net: The Ethernet address and header definitions will change
+ attributes. The Ethernet address struct will no longer be marked as
+ packed since the packed attribute is meaningless on a byte
+ array. The Ethernet header will be marked as aligned on a 2-byte
+ boundary and will no longer have the packed attribute. This allows
+ for efficient access on CPU architectures where unaligned access is
+ expensive. These changes should not impact normal usage because drivers
+ naturally align the Ethernet header on receive and all known
+ encapsulations preserve the alignment of the header.
+
* ethdev: the legacy filter API, including
``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,