summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPatrisious Haddad <phaddad@nvidia.com>2025-03-13 17:18:41 +0300
committerLeon Romanovsky <leon@kernel.org>2025-03-18 13:18:30 +0300
commitd375db42a8effdfeb7973d4f1b0b5985e066fd28 (patch)
tree13f0b219035e2d5df930733bd0f029c5bd5b18b3 /scripts/gdb/linux/utils.py
parent1d6a9e7449e2a0c1e2934eee7880ba8bd1e464cd (diff)
downloadlinux-d375db42a8effdfeb7973d4f1b0b5985e066fd28.tar.xz
RDMA/mlx5: Add optional counters for RDMA_TX/RX_packets/bytes
Add the following optional counters: rdma_tx_packets,rdma_rx_bytes,rdma_rx_packets,rdma_tx_bytes. Which counts all RDMA packets/bytes sent and received per link. Note that since each direction packet and byte counter are shared, the counter is only reset when both counters of that direction are removed. But from user-perspective each can be enabled/disabled separately. The counters can be enabled using: sudo rdma stat set link rocep8s0f0/1 optional-counters rdma_tx_packets And can be seen using: rdma stat -j show link rocep8s0f0/1 Signed-off-by: Patrisious Haddad <phaddad@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Link: https://patch.msgid.link/9f2753ad636f21704416df64b47395c8991d1123.1741875070.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions