Re: [PATCH RESEND rdma-next] RDMA/cm: Trace icm_send_rej event before the cm state is reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/30/2023 3:37 PM, Leon Romanovsky wrote:
On Thu, Mar 30, 2023 at 10:23:51AM +0300, Mark Zhang wrote:
Trace icm_send_rej event before the cm state is reset to idle, so that
correct cm state will be logged. For example when an incoming request is
rejected, the old trace log was:
     icm_send_rej: local_id=961102742 remote_id=3829151631 state=IDLE reason=REJ_CONSUMER_DEFINED
With this patch:
     icm_send_rej: local_id=312971016 remote_id=3778819983 state=MRA_REQ_SENT reason=REJ_CONSUMER_DEFINED

Signed-off-by: Mark Zhang <markzhang@xxxxxxxxxx>
Fixes: 8dc105befe16 ("RDMA/cm: Add tracepoints to track MAD send operations")
---
  drivers/infiniband/core/cm.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

For future reference:
1. You sent new version, so your patch should have vXXX in subject and not RESEND.
2. Changelog is missing.
3. Signed-off-by should be last.

There is no need to resend this patch, we will fix when we will apply it.


Thank you Leon and sorry for the trouble:)




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux