]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/rxe: support perf mgmt GET method
authorzhenwei pi <zhenwei.pi@linux.dev>
Tue, 14 Apr 2026 06:29:47 +0000 (14:29 +0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 18 May 2026 08:58:41 +0000 (04:58 -0400)
commit1648bcf1ed5cc32c6d93f9f4fcd3876e789b1f8f
treec70eb3823410b77c382eacfe06a35f4408563ab4
parented7e5e4a932a05aba0fd8c27859c829882ac0b01
RDMA/rxe: support perf mgmt GET method

In RXE, hardware counters are already supported, but not in a
standardized manner. For instance, user-space monitoring tools like
atop only read from the *counters* directory. Therefore, it is
necessary to add perf management support to RXE.

Also use rxe_counter_get instead of raw atomic64_read in hw-counters.

Signed-off-by: zhenwei pi <zhenwei.pi@linux.dev>
Link: https://patch.msgid.link/20260414062948.671658-4-zhenwei.pi@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/Makefile
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_mad.c [new file with mode: 0644]
drivers/infiniband/sw/rxe/rxe_verbs.c