aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2018-01-23 11:16:30 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2018-02-23 12:36:39 -0800
commitb5ca15ad7e6189f39dff73d786e41d2a507f7b8b (patch)
tree4d270e35e0efd102ccbbfe4573770c33f9b47347 /drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
parentIB/mlx5: E-Switch, Add rule to forward traffic to vport (diff)
downloadlinux-dev-b5ca15ad7e6189f39dff73d786e41d2a507f7b8b.tar.xz
linux-dev-b5ca15ad7e6189f39dff73d786e41d2a507f7b8b.zip
IB/mlx5: Add proper representors support
This commit adds full support for IB representor: 1) Representors profile, We add two new profiles: nic_rep_profile - This profile will be used to create an IB device that represents the PF/UPLINK. rep_profile - This profile will be used to create an IB device that represents VFs. Each VF will be its own representor. 2) Proper load/unload callbacks, Those are called by the E-Switch when moving to/from switchdev mode. 3) Different flow DB handling for when we in switchdev mode. Signed-off-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.c')
0 files changed, 0 insertions, 0 deletions