[dpdk-dev] [PATCH] net: fix IPv4 change announce
From: Gregory Etelson <hidden>
Date: 2021-10-05 09:05:10
Subsystem:
the rest · Maintainer:
Linus Torvalds
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. Signed-off-by: Gregory Etelson <redacted> --- 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 05fc2fdee7..e701280885 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst@@ -175,11 +175,8 @@ Deprecation Notices * net: ``s_addr`` and ``d_addr`` fields of ``rte_ether_hdr`` structure will be renamed in DPDK 21.11 to avoid conflict with Windows Sockets headers. -* 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.33.0