OSDN Git Service

net/mlx5: E-Switch, Move mlx5e only logic outside E-Switch
authorMark Bloch <markb@mellanox.com>
Thu, 7 Dec 2017 15:31:50 +0000 (15:31 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Dec 2017 10:36:33 +0000 (12:36 +0200)
commitf7a68945a5aab7498fb7a3e5b13e2ae6c2955e55
treeab7e879175196203958f6e333d2291270dd980d1
parent4c66df01f5a46b191df0d036fc76cc9350280bc3
net/mlx5: E-Switch, Move mlx5e only logic outside E-Switch

In our pursuit to cleanup e-switch sub-module from mlx5e specific code,
we move the functions that insert/remove the flow steering rules that
allow mlx5e representors to send packets directly to VFs into the EN
driver code.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c