summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2018-12-12 19:11:37 -0800
committerSaeed Mahameed <saeedm@mellanox.com>2018-12-14 09:58:57 -0800
commit06cc74af05c33091a9877b54f1821966b446003c (patch)
tree836a7c610ed0cb91ad905426af6d57d2e47eda3d /init
parent4c8b85187c22ee65637035efd2ae0cb10836d8e8 (diff)
downloadlinux-06cc74af05c33091a9877b54f1821966b446003c.tar.bz2
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 'init')
0 files changed, 0 insertions, 0 deletions