[dpdk-dev] [PATCH v10 02/19] mbuf: add definitions of unified packet types

Olivier MATZ olivier.matz at 6wind.com
Wed Jul 15 12:19:12 CEST 2015


On 07/09/2015 06:31 PM, Helin Zhang wrote:
> As there are only 6 bit flags in ol_flags for indicating packet
> types, which is not enough to describe all the possible packet
> types hardware can recognize. For example, i40e hardware can
> recognize more than 150 packet types. Unified packet type is
> composed of L2 type, L3 type, L4 type, tunnel type, inner L2 type,
> inner L3 type and inner L4 type fields, and can be stored in
> 'struct rte_mbuf' of 32 bits field 'packet_type'.
> To avoid breaking ABI compatibility, all the changes would be
> enabled by RTE_NEXT_ABI, which is disabled by default.
>
> Signed-off-by: Helin Zhang <helin.zhang at intel.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>




More information about the dev mailing list