diff options
author | Mark Bloch | 2018-01-23 12:16:30 +0100 |
---|---|---|
committer | Saeed Mahameed | 2018-02-23 21:36:39 +0100 |
commit | b5ca15ad7e6189f39dff73d786e41d2a507f7b8b (patch) | |
tree | 4d270e35e0efd102ccbbfe4573770c33f9b47347 /drivers/net/ethernet/mellanox | |
parent | IB/mlx5: E-Switch, Add rule to forward traffic to vport (diff) | |
download | kernel-qcow2-linux-b5ca15ad7e6189f39dff73d786e41d2a507f7b8b.tar.gz kernel-qcow2-linux-b5ca15ad7e6189f39dff73d786e41d2a507f7b8b.tar.xz kernel-qcow2-linux-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')
0 files changed, 0 insertions, 0 deletions