[dpdk-dev] [PATCH] net/mlx5: fix packet type and offload flags in Rx

2016-07-08 Thread Bruce Richardson
On Fri, Jul 08, 2016 at 09:09:32AM +0200, Adrien Mazarguil wrote: > On Thu, Jul 07, 2016 at 06:34:45PM +0200, Maxime Leroy wrote: > > In mlx5 rx function, the packet_type and ol_flags mbuf fields are not > > properly initialized when no rx offload feature is enabled (checksum, l2 > > tun checksum,

[dpdk-dev] [PATCH] net/mlx5: fix packet type and offload flags in Rx

2016-07-08 Thread Adrien Mazarguil
On Thu, Jul 07, 2016 at 06:34:45PM +0200, Maxime Leroy wrote: > In mlx5 rx function, the packet_type and ol_flags mbuf fields are not > properly initialized when no rx offload feature is enabled (checksum, l2 > tun checksum, vlan_strip, crc). Thus, these fields can have a value > different of 0

[dpdk-dev] [PATCH] net/mlx5: fix packet type and offload flags in Rx

2016-07-07 Thread Maxime Leroy
In mlx5 rx function, the packet_type and ol_flags mbuf fields are not properly initialized when no rx offload feature is enabled (checksum, l2 tun checksum, vlan_strip, crc). Thus, these fields can have a value different of 0 depending on their value when the mbuf was freed. This can result in an