]> 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)
commit7be94c2a64e7e6b90a6cf16ec717f02311b45e99
tree6c3c525723a8da115fece1f09c0368197ebc5ed0
parent9846d08574a4b7e41c374918ef12a85d960c57f6
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]