diff options
author | Mark Zhang <markzhang@nvidia.com> | 2023-04-20 03:39:06 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-04-21 17:36:47 +0200 |
commit | 746aa3c8cb1a650ff2583497ac646e505831b9b9 (patch) | |
tree | e58f26b6e72df0377815df85f26ba8003cdbff30 /include/trace/events/bridge.h | |
parent | RDMA/irdma: Drop spurious WQ_UNBOUND from alloc_ordered_workqueue() call (diff) | |
download | linux-746aa3c8cb1a650ff2583497ac646e505831b9b9.tar.xz linux-746aa3c8cb1a650ff2583497ac646e505831b9b9.zip |
RDMA/mlx5: Use correct device num_ports when modify DC
Just like other QP types, when modify DC, the port_num should be compared
with dev->num_ports, instead of HCA_CAP.num_ports. Otherwise Multi-port
vHCA on DC may not work.
Fixes: 776a3906b692 ("IB/mlx5: Add support for DC target QP")
Link: https://lore.kernel.org/r/20230420013906.1244185-1-markzhang@nvidia.com
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/trace/events/bridge.h')
0 files changed, 0 insertions, 0 deletions