[PATCH] mbuf: add new ptype for slow protocols
Morten Brørup
mb at smartsharesystems.com
Fri Jul 4 11:38:21 CEST 2025
> diff --git a/lib/mbuf/rte_mbuf_ptype.h b/lib/mbuf/rte_mbuf_ptype.h
> index c46a94f89f..66c4eeb954 100644
> --- a/lib/mbuf/rte_mbuf_ptype.h
> +++ b/lib/mbuf/rte_mbuf_ptype.h
> @@ -144,6 +144,13 @@ extern "C" {
> * <'ether type'=[0x8847|0x8848]>
> */
> #define RTE_PTYPE_L2_ETHER_MPLS 0x0000000a
> +/**
> + * Ethernet packet type for Slow Protocols.
> + *
> + * Packet format:
> + * <'ether type'=[0x8809]>
> + */
> +#define RTE_PTYPE_L2_ETHER_SLOW 0x0000000b
Matching 'ether type' doesn't suffice.
Slow protocols also require 'destination mac'=01-80-C2-00-00-02.
More information about the dev
mailing list