public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: zhenwei pi <zhenwei.pi@linux.dev>
To: linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org
Cc: zyjzyj2000@gmail.com, jgg@ziepe.ca, leon@kernel.org
Subject: PING: [PATCH v7 0/4] Support PERF MGMT for RXE
Date: Tue, 21 Apr 2026 14:29:35 +0800	[thread overview]
Message-ID: <ba50cde9-b26c-4dac-a494-0caa00603928@linux.dev> (raw)
In-Reply-To: <20260414062948.671658-1-zhenwei.pi@linux.dev>

Greetings! Gentle ping.


On 4/14/26 14:29, zhenwei pi wrote:
> v7:
> - use 'counters/port_xmit_data' & 'counters/port_rcv_data' instead of
>    'hw_counters/sent_bytes' & 'hw_counters/rcvd_bytes'
> 
> v6:
> - return IB_MAD_RESULT_SUCCESS instead of 'IB_MAD_RESULT_SUCCESS | IB_MAD_RESULT_REPLY'
>    on unsupported method
> - add a script to verify the sent/rcvd bytes which is wrotten by Yanjun
> 
> v5:
> - remove patch "RDMA/core: Fix memory free for GID table", it was
>    applied by Jason separately.
> - suggested by Yanjun, use 'skb_network_offset' to calculate the
>    length of received packets.
> 
> v4:
> - drop rxe_ib_device_get_netdev and RXE_PORT, use 1 instead
> - avoid UAF to get skb length
> - remove one-line wrapper rxe_counter_get, use atomic64_read instead
> - fix memory free for GID table, this is a new patch in this series.
> 
> v3:
> - merge 'RDMA/rxe: use rxe_counter_get' into previous commit
> - zero *out* MAD memory
> - return success with error status rather than failure to avoid
>    uplayer hang
> 
> v2:
> - Fix overflow for PMA counter *link_downed_counter*
> - Use *rxe_counter_get* instead of *atomic64_read* for hw-counters
> 
> v1:
> Support PERF MGMT for RXE, add sent/received bytes for RXE counters,
> also improve coding style.
> 
> Zhu Yanjun (1):
>    selftest/rxe: Add selftests for perf
> 
> zhenwei pi (3):
>    RDMA/rxe: remove rxe_ib_device_get_netdev() and RXE_PORT
>    RDMA/rxe: add SENT/RCVD bytes
>    RDMA/rxe: support perf mgmt GET method
> 
>   drivers/infiniband/sw/rxe/Makefile            |   1 +
>   drivers/infiniband/sw/rxe/rxe_hw_counters.c   |   2 +
>   drivers/infiniband/sw/rxe/rxe_hw_counters.h   |   2 +
>   drivers/infiniband/sw/rxe/rxe_loc.h           |   6 ++
>   drivers/infiniband/sw/rxe/rxe_mad.c           | 101 ++++++++++++++++++
>   drivers/infiniband/sw/rxe/rxe_mcast.c         |   4 +-
>   drivers/infiniband/sw/rxe/rxe_net.c           |   9 +-
>   drivers/infiniband/sw/rxe/rxe_recv.c          |   2 +
>   drivers/infiniband/sw/rxe/rxe_verbs.c         |   5 +-
>   drivers/infiniband/sw/rxe/rxe_verbs.h         |  10 +-
>   tools/testing/selftests/rdma/Makefile         |   3 +-
>   .../selftests/rdma/rxe_sent_rcvd_bytes.sh     |  75 +++++++++++++
>   12 files changed, 206 insertions(+), 14 deletions(-)
>   create mode 100644 drivers/infiniband/sw/rxe/rxe_mad.c
>   create mode 100755 tools/testing/selftests/rdma/rxe_sent_rcvd_bytes.sh
> 


      parent reply	other threads:[~2026-04-21  6:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-14  6:29 [PATCH v7 0/4] Support PERF MGMT for RXE zhenwei pi
2026-04-14  6:29 ` [PATCH v7 1/4] RDMA/rxe: remove rxe_ib_device_get_netdev() and RXE_PORT zhenwei pi
2026-04-14  6:29 ` [PATCH v7 2/4] RDMA/rxe: add SENT/RCVD bytes zhenwei pi
2026-04-14  6:29 ` [PATCH v7 3/4] RDMA/rxe: support perf mgmt GET method zhenwei pi
2026-04-14  6:29 ` [PATCH v7 4/4] selftest/rxe: Add selftests for perf zhenwei pi
2026-04-21  6:29 ` zhenwei pi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ba50cde9-b26c-4dac-a494-0caa00603928@linux.dev \
    --to=zhenwei.pi@linux.dev \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=zyjzyj2000@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox