net/mlx5e: Add TC offloads matching on IPv6 encapsulation headers
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 11 Dec 2016 10:20:53 +0000 (12:20 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 24 Jan 2017 19:13:58 +0000 (21:13 +0200)
commit19f4440141af8cd9b2f280ec38476baa86dc87f9
treeb07fe55aacdd0a4b20c3d24a8fcfd1ae3b67f9f4
parent073ff3c8e6acdd6bae91a037e6f2d0edeed4165d
net/mlx5e: Add TC offloads matching on IPv6 encapsulation headers

Enhance the parsing of offloaded TC rules to set HW matching on outer
IPv6 encapsulation headers. This effectively adds support for TC tunnel
key release action (decapsulation) of SRIOV offloads over IPv6 tunnels.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c