]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82a546235218c761b4369b8e8885fd7fcf1b6cfb
tree1051e768d83900b0e729c559e6329742caa1b66b
parentfb03c8960a9af88ac0f25062cacd9f5cf23e6b1f
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