]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Move representors definition to a global scope
authorMark Bloch <markb@mellanox.com>
Tue, 16 Jan 2018 14:04:14 +0000 (14:04 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 23 Feb 2018 20:36:38 +0000 (12:36 -0800)
commit3cd217982177dd0d43ea50521d773a5112c69883
tree6c3c525723a8da115fece1f09c0368197ebc5ed0
parent00cdf70e43c7c2cd750d1a9fcc5edc4753fa7d3e
net/mlx5: E-Switch, Move representors definition to a global scope

In preparation for IB representors, move representors structs to a global
scope, also expose functions needed for registration, unregistration,
eswitch mode and creating a flow rule to direct traffic from SQs to the
right VF.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
include/linux/mlx5/driver.h
include/linux/mlx5/eswitch.h [new file with mode: 0644]