summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Bloch2018-12-13 04:11:37 +0100
committerSaeed Mahameed2018-12-14 18:58:57 +0100
commit06cc74af05c33091a9877b54f1821966b446003c (patch)
tree836a7c610ed0cb91ad905426af6d57d2e47eda3d /include
parentnet/mlx5: Use lowercase 'X' for hex values (diff)
downloadkernel-qcow2-linux-06cc74af05c33091a9877b54f1821966b446003c.tar.gz
kernel-qcow2-linux-06cc74af05c33091a9877b54f1821966b446003c.tar.xz
kernel-qcow2-linux-06cc74af05c33091a9877b54f1821966b446003c.zip
IB/mlx5: Unify e-switch representors load approach between uplink and VFs
When in switchdev mode and the add function is called by the core level driver, make sure we only register the callbacks, but don't create the mlx5 IB device or initialize anything. With this change all the IB devices in switchdev mode are created only once the load callback is invoked by the e-switch core sub-module. This follows the design paradigm under which the all the Eth representors must be loaded before any of IB reprs is loaded. Signed-off-by: Mark Bloch <markb@mellanox.com> Acked-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions