net/mlx5e: Maximize ip tunnel key usage on the TC offloading path
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 3 Jan 2017 17:03:00 +0000 (19:03 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 24 Jan 2017 19:14:01 +0000 (21:14 +0200)
commit9a941117fb761dcfb4f698f1f67340484b781b90
tree57c5a38da243b7b930d2a6626e29fef93e39c216
parent76f7444dd5a4349af40e4c67e4b995d4ae3c5c92
net/mlx5e: Maximize ip tunnel key usage on the TC offloading path

Use more fields out of the tunnel key (e.g the tunnel source IP address)
provided by upper layers for the route lookup done on the encap offload path.

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