aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorPatrisious Haddad <[email protected]>2023-06-05 13:33:21 +0300
committerLeon Romanovsky <[email protected]>2023-06-11 11:25:57 +0300
commit2de43f5b5137e03ef64a2c3f064a01992830c67f (patch)
tree139775fd1656be4ce510ab4a52e3730f63861fff /scripts/generate_rust_analyzer.py
parente80ef139488fb4f481c877a81f6ba54f1f0ee416 (diff)
RDMA/mlx5: Fix Q-counters query in LAG mode
Previously we used the core device associated to the IB device in order to do the Q-counters query to the FW, but in LAG mode it is possible that the core device isn't the one that created this VF. Hence instead of using the core device to query the Q-counters we use the ESW core device which is guaranteed to be that of the VF. Fixes: d22467a71ebe ("RDMA/mlx5: Expand switchdev Q-counters to expose representor statistics") Signed-off-by: Patrisious Haddad <[email protected]> Reviewed-by: Mark Zhang <[email protected]> Link: https://lore.kernel.org/r/778d7d7a24892348d0bdef17d2e5f9e044717e86.1685960567.git.leon@kernel.org Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions