net/mlx5e: Remove flow encap entry in the correct place
authorRoi Dayan <roid@mellanox.com>
Wed, 30 Nov 2016 15:59:43 +0000 (17:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 15:47:03 +0000 (10:47 -0500)
commit5067b6020770ef7c8102f47079c9e577d175ef2c
treebc02db440f1cfc7e961713ed4919243bb1628b1c
parent961e8979ec3578ef4c441b69a5b7b9febc89fd18
net/mlx5e: Remove flow encap entry in the correct place

Handling flow encap entry should be inside tc del flow
and is only relevant for offloaded eswitch TC rules.

Fixes: 11a457e9b6c1 ("net/mlx5e: Add basic TC tunnel set action for SRIOV offloads")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@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