net/mlx4: enhance Rx packet type offloads
authorMoti Haimovsky <motih@mellanox.com>
Sun, 5 Nov 2017 17:26:56 +0000 (19:26 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Nov 2017 11:47:13 +0000 (12:47 +0100)
commitaee4a03fee4f24fe7d46a17f4e75853b86fd36cc
tree82a32c4da3e0d74acf6bf05bface22310f1dbf06
parente59196e01c1456e8ea0e9b2056651ef64dc17b78
net/mlx4: enhance Rx packet type offloads

This patch enhances the Rx packet type offload to also report the L4
protocol information in the hw ptype filled by the PMD for each received
packet.

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c
drivers/net/mlx4/mlx4.h
drivers/net/mlx4/mlx4_ethdev.c
drivers/net/mlx4/mlx4_prm.h
drivers/net/mlx4/mlx4_rxtx.c