[dpdk-dev] [PATCH v3 1/3] ethdev: support PPP and L2TPV2 procotol
Ferruh Yigit
ferruh.yigit at intel.com
Fri Oct 15 13:10:08 CEST 2021
On 10/15/2021 10:58 AM, Jie Wang wrote:
> +/**
> + * @warning
> + * @b EXPERIMENTAL: this structure may change without prior notice
> + * RTE_FLOW_ITEM_TYPE_PPP
> + *
> + * Matches PPP Header
> + */
> +struct rte_flow_item_ppp {
> + uint8_t addr; /**< ppp address(8) */
> + uint8_t ctrl; /**< ppp control(8) */
> + rte_be16_t proto_id; /**< ppp protocol id(16) */
> +};
Hi Jie,
Can't we do same thing for ppp, have the protocol header in the lib/net
and use it within the 'rte_flow_item_ppp'?
More information about the dev
mailing list