From: Gregory Etelson Date: Thu, 14 Oct 2021 17:41:12 +0000 (+0300) Subject: net: fix IPv4 change announce X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5dee2a0a6b445ba95d5dfe922dc9c3e33cb8015a;p=dpdk.git 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 --- 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