[PATCH v8 2/3] ethdev: add VXLAN last reserved field
rongwei liu
rongweil at nvidia.com
Wed Jun 12 03:25:21 CEST 2024
BR
Rongwei
> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at amd.com>
> Sent: Tuesday, June 11, 2024 22:53
> To: rongwei liu <rongweil at nvidia.com>; dev at dpdk.org; Matan Azrad
> <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; Ori Kam
> <orika at nvidia.com>; Suanming Mou <suanmingm at nvidia.com>; NBU-
> Contact-Thomas Monjalon (EXTERNAL) <thomas at monjalon.net>
> Cc: Dariusz Sosnowski <dsosnowski at nvidia.com>; Aman Singh
> <aman.deep.singh at intel.com>; Yuying Zhang <yuying.zhang at intel.com>;
> Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Subject: Re: [PATCH v8 2/3] ethdev: add VXLAN last reserved field
>
> External email: Use caution opening links or attachments
>
>
> On 6/7/2024 3:02 PM, Rongwei Liu wrote:
> > diff --git a/lib/net/rte_vxlan.h b/lib/net/rte_vxlan.h index
> > 997fc784fc..57300fb442 100644
> > --- a/lib/net/rte_vxlan.h
> > +++ b/lib/net/rte_vxlan.h
> > @@ -41,7 +41,10 @@ struct rte_vxlan_hdr {
> > uint8_t flags; /**< Should be 8 (I flag). */
> > uint8_t rsvd0[3]; /**< Reserved. */
> > uint8_t vni[3]; /**< VXLAN identifier. */
> > - uint8_t rsvd1; /**< Reserved. */
> > + union {
> > + uint8_t rsvd1; /**< Reserved. */
> > + uint8_t last_rsvd; /**< Reserved. */
> > + };
> >
>
> Is there a plan to remove 'rsvd1' in next ABI break release?
> We can keep both, but I guess it is not logically necessary to keep it, to prevent
> bloat by time, we can remove the old one.
> If decided to remove, sending a 'deprecation.rst' update helps us to remember
> doing it.
>
I think it should. @NBU-Contact-Thomas Monjalon (EXTERNAL) @Andrew Rybchenko at Ori Kam what do you think?
More information about the dev
mailing list