[dpdk-dev] [PATCH v4 1/2] ethdev: add new ext hdr for gtp psc
Tyler Retzlaff
roretzla at linux.microsoft.com
Thu Apr 29 18:29:17 CEST 2021
On Thu, Apr 08, 2021 at 02:29:56PM +0200, Olivier Matz wrote:
> Hi Raslan,
>
> > +/**
> > + * Optional extension for GTP with next_ext set to 0x85
> > + * defined based on RFC 38415-g30.
> > + */
> > +__extension__
> > +struct rte_gtp_psc_hdr {
> > + uint8_t ext_hdr_len; /**< PDU ext hdr len in multiples of 4 bytes */
> > + uint8_t type:4; /**< PDU type */
> > + uint8_t qmp:1; /**< Qos Monitoring Packet */
would it be a lot ot ask to have the structure defined using standard C
instead of using compiler specific extensions?
More information about the dev
mailing list