diff options
author | Mark Bloch <markb@mellanox.com> | 2017-11-06 12:22:13 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-02-23 12:36:39 -0800 |
commit | 8e6efa3a31f4a81a4d8817d68110446df383d049 (patch) | |
tree | 2e0e3eb24d24ed2040bba1b62883cc62b847f77c /drivers/infiniband/hw/mlx5/mlx5_ib.h | |
parent | bcf87f1dbbec0d9abaf89073dd761a41876bc6c1 (diff) | |
download | linux-8e6efa3a31f4a81a4d8817d68110446df383d049.tar.bz2 |
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 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index 659bff5e687d..4dd98b1e9165 100644 --- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -733,6 +733,7 @@ enum mlx5_ib_stages { MLX5_IB_STAGE_INIT, MLX5_IB_STAGE_FLOW_DB, MLX5_IB_STAGE_CAPS, + MLX5_IB_STAGE_NON_DEFAULT_CB, MLX5_IB_STAGE_ROCE, MLX5_IB_STAGE_DEVICE_RESOURCES, MLX5_IB_STAGE_ODP, |