mlx4: replace some offload flags with packet type
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 15 Jul 2015 16:05:18 +0000 (18:05 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 15 Jul 2015 22:57:44 +0000 (00:57 +0200)
commit429df3803a16124d5cd4a198c04b2fbee30ab848
tree4ff1ebc25e67f47ee53cce694db78cbb7f35af13
parente7df2fda1fec3fa598d77cff6f33b3f64c48a40f
mlx4: replace some offload flags with packet type

The workaround for Tx tunnel offloading can now be replaced with packet
type flag checking.
The ol_flags for IPv4/IPv6 and tunnel Rx offloading are replaced with
packet type flags.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c