net/mlx5e: Add TC tunnel release action for SRIOV offloads
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 7 Nov 2016 13:14:46 +0000 (15:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:41:56 +0000 (13:41 -0500)
commitbbd00f7e2349e53345d0a151c04c8cb7e10bf2e7
tree28dc3afa096f3efbfe63bdc45569de01b2780a02
parent66958ed906b87816314c0517f05fe0b5766ec7fe
net/mlx5e: Add TC tunnel release action for SRIOV offloads

Enhance the parsing of offloaded TC rules to set HW matching on outer
(encapsulation) headers.
Parse TC tunnel release action and set it as mlx5 decap action when the
required capabilities are supported.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c