net: announce changes in IPv4 header
Checks
Commit Message
Announce changes to add 2 unions. The first union will provide
integral and bits access to version and IHL. The second union will
provide integral and bits access to fragment flags and offset.
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
---
doc/guides/rel_notes/deprecation.rst | 5 +++++
1 file changed, 5 insertions(+)
Comments
On 8/2/21 1:38 PM, Gregory Etelson wrote:
> Announce changes to add 2 unions. The first union will provide
> integral and bits access to version and IHL. The second union will
> provide integral and bits access to fragment flags and offset.
>
> Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Gregory Etelson
> Sent: Monday, August 2, 2021 13:39
> To: dev@dpdk.org
> Cc: Gregory Etelson <getelson@nvidia.com>; Matan Azrad
> <matan@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>; Ori Kam
> <orika@nvidia.com>; Ray Kinsella <mdr@ashroe.eu>
> Subject: [dpdk-dev] [PATCH] net: announce changes in IPv4 header
>
> Announce changes to add 2 unions. The first union will provide integral and
> bits access to version and IHL. The second union will provide integral and bits
> access to fragment flags and offset.
>
> Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> > -----Original Message-----
> > From: dev <dev-bounces@dpdk.org> On Behalf Of Gregory Etelson
> > Sent: Monday, August 2, 2021 13:39
> > To: dev@dpdk.org
> > Cc: Gregory Etelson <getelson@nvidia.com>; Matan Azrad
> > <matan@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>; Ori Kam
> > <orika@nvidia.com>; Ray Kinsella <mdr@ashroe.eu>
> > Subject: [dpdk-dev] [PATCH] net: announce changes in IPv4 header
> >
> > Announce changes to add 2 unions. The first union will provide integral and
> > bits access to version and IHL. The second union will provide integral and
> bits
> > access to fragment flags and offset.
> >
> > Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
On Mon, Aug 2, 2021 at 5:38 AM Akhil Goyal <gakhil@marvell.com> wrote:
>
> > > -----Original Message-----
> > > From: dev <dev-bounces@dpdk.org> On Behalf Of Gregory Etelson
> > > Sent: Monday, August 2, 2021 13:39
> > > To: dev@dpdk.org
> > > Cc: Gregory Etelson <getelson@nvidia.com>; Matan Azrad
> > > <matan@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>; Ori Kam
> > > <orika@nvidia.com>; Ray Kinsella <mdr@ashroe.eu>
> > > Subject: [dpdk-dev] [PATCH] net: announce changes in IPv4 header
> > >
> > > Announce changes to add 2 unions. The first union will provide integral and
> > > bits access to version and IHL. The second union will provide integral and
> > bits
> > > access to fragment flags and offset.
> > >
> > > Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> > Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
>
> Acked-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
>
> > > > Announce changes to add 2 unions. The first union will provide integral and
> > > > bits access to version and IHL. The second union will provide integral and
> > > bits
> > > > access to fragment flags and offset.
> > > >
> > > > Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> > > Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> > Acked-by: Akhil Goyal <gakhil@marvell.com>
> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Applied, thanks.
@@ -158,3 +158,8 @@ Deprecation Notices
* security: The functions ``rte_security_set_pkt_metadata`` and
``rte_security_get_userdata`` will be made inline functions and additional
flags will be added in structure ``rte_security_ctx`` in DPDK 21.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.