net/mlx5e: Basic setup of hairpin object
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 12 Nov 2017 13:52:25 +0000 (15:52 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 9 Jan 2018 05:40:48 +0000 (07:40 +0200)
commit77ab67b7f0f998ae2610f74a04ab4fa7b49774f6
tree1051e768d83900b0e729c559e6329742caa1b66b
parent18e568c390c61682e747178f136bcbc45c707882
net/mlx5e: Basic setup of hairpin object

Add the code to do basic setup for hairpin object which
will later serve offloading TC flows.

This includes calling the mlx5 core to create/destroy the hairpin
pair object and setting the HW transport objects that will be used
for steering matched flows to go through hairpin.

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