On 1/16/2017 2:03 PM, Adrien Mazarguil wrote: > On Wed, Jan 11, 2017 at 05:44:33PM +0100, Olivier Matz wrote: >> From: Matthieu Ternisien d'Ouville <matthieu....@6wind.com> >> >> 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_UNKNOWN or >> RTE_PTYPE(_INNER)_L3_IPV6_EXT_UNKNOWN flags for all IPv4/IPv6 packets >> received. >> >> Fixes: 429df3803a16 ("mlx4: replace some offload flags with packet type") >> Fixes: 67fa62bc672d ("mlx5: support checksum offload") >> >> CC: sta...@dpdk.org >> Signed-off-by: Samuel Gauthier <samuel.gauth...@6wind.com> >> Signed-off-by: Matthieu Ternisien d'Ouville <matthieu....@6wind.com> >> Signed-off-by: Olivier Matz <olivier.m...@6wind.com> >> --- >> drivers/net/mlx4/mlx4.c | 18 ++++++++++++------ >> drivers/net/mlx5/mlx5_rxtx.c | 12 ++++++------ >> 2 files changed, 18 insertions(+), 12 deletions(-) > > Acked-by: Adrien Mazarguil <adrien.mazarg...@6wind.com>
Applied to dpdk-next-net/master, thanks.