aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/mr.c
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2017-11-06 12:22:13 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2018-02-23 12:36:39 -0800
commit8e6efa3a31f4a81a4d8817d68110446df383d049 (patch)
tree2e0e3eb24d24ed2040bba1b62883cc62b847f77c /drivers/infiniband/hw/mlx5/mr.c
parentIB/mlx5: Listen to netdev register/unresiter events in switchdev mode (diff)
downloadlinux-dev-8e6efa3a31f4a81a4d8817d68110446df383d049.tar.xz
linux-dev-8e6efa3a31f4a81a4d8817d68110446df383d049.zip
IB/mlx5: When in switchdev mode, expose only raw packet capabilities
Currently in switchdev mode we allow only for raw packet QPs. Expose the right capabilities and set the gid table length to 0, also make sure we don't try to enable RoCE, so split the function to enable RoCE so representors can enable only the notifier needed for net device events. 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 '')
0 files changed, 0 insertions, 0 deletions