From 5dee2a0a6b445ba95d5dfe922dc9c3e33cb8015a Mon Sep 17 00:00:00 2001 From: Gregory Etelson Date: Thu, 14 Oct 2021 20:41:12 +0300 Subject: [PATCH] net: fix IPv4 change announce IPv4 header encodes fragment information into 16 bits field. 3 bits hold flags and remaining 13 bits are for fragment offset. 13 bits bit-field cannot be defined both for big and little endian systems. The patch removes IPv4 fragments union announce. Fixes: f7383e7c7ec1 ("net: announce changes in IPv4 header access") Signed-off-by: Gregory Etelson Acked-by: Thomas Monjalon Acked-by: Akhil Goyal Acked-by: Ori Kam Acked-by: Viacheslav Ovsiienko --- doc/guides/rel_notes/deprecation.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index f4e3b0c7d9..f252ef981f 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -147,11 +147,8 @@ Deprecation Notices is deprecated as ambiguous with respect to the embedded switch. The use of these attributes will become invalid starting from DPDK 22.11. -* net: The structure ``rte_ipv4_hdr`` will have two unions. - The first union is for existing ``version_ihl`` byte - and new bitfield for version and IHL. - The second union is for existing ``fragment_offset`` - and new bitfield for fragment flags and offset. +* net: The structure ``rte_ipv4_hdr`` will have a union for + existing ``version_ihl`` byte and new bitfield for ``version`` and ``ihl``. * vhost: ``rte_vdpa_register_device``, ``rte_vdpa_unregister_device``, ``rte_vhost_host_notifier_ctrl`` and ``rte_vdpa_relay_vring_used`` vDPA -- 2.20.1