diff options
| author | Mark Zhang <[email protected]> | 2023-04-20 01:39:06 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2023-04-21 15:36:47 +0000 |
| commit | 746aa3c8cb1a650ff2583497ac646e505831b9b9 (patch) | |
| tree | e58f26b6e72df0377815df85f26ba8003cdbff30 /tools/perf/scripts/python | |
| parent | RDMA/irdma: Drop spurious WQ_UNBOUND from alloc_ordered_workqueue() call (diff) | |
| download | kernel-746aa3c8cb1a650ff2583497ac646e505831b9b9.tar.gz kernel-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/[email protected]
Signed-off-by: Mark Zhang <[email protected]>
Reviewed-by: Maor Gottlieb <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
