diff options
author | Chiara Meiohas <[email protected]> | 2024-09-09 20:30:21 +0300 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-09-13 08:27:40 +0300 |
commit | 91b4b2c62613dab3e1ec8083f1e96e5f5b2eee36 (patch) | |
tree | aefaf0edc6025e34574a50c0ae1c8143ef50515b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3ed7f9e239938a0cfaf3689e2f545229ecabec06 (diff) |
RDMA/mlx5: Initialize phys_port_cnt earlier in RDMA device creation
phys_port_cnt of the IB device must be initialized before calling
ib_device_set_netdev().
Previously, phys_port_cnt was initialized in the mlx5_ib init function.
Remove this initialization to allow setting it separately, providing
the flexibility to call ib_device_set_netdev before registering the
IB device.
Signed-off-by: Chiara Meiohas <[email protected]>
Signed-off-by: Michael Guralnik <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions