Re: [dpdk-dev] [PATCH] net/mlx: fix IPv4 and IPv6 packet type

2017-01-16 Thread Adrien Mazarguil
On Wed, Jan 11, 2017 at 05:44:33PM +0100, Olivier Matz wrote: > From: Matthieu Ternisien d'Ouville > > Mellanox PMDs do not differentiate IP header with or without options, so > the advertised packet type for an IPv4 should not be RTE_PTYPE_L3_IPV4, > which explicitly means "does not contain any

[dpdk-dev] [PATCH] net/mlx: fix IPv4 and IPv6 packet type

2017-01-11 Thread Olivier Matz
From: Matthieu Ternisien d'Ouville Mellanox PMDs do not differentiate IP header with or without options, so the advertised packet type for an IPv4 should not be RTE_PTYPE_L3_IPV4, which explicitly means "does not contain any header option". Change the driver to set RTE_PTYPE(_INNER)_L3_IPV4_EXT_