From: Leon Romanovsky <leon@kernel.org>
To: Olga Kornievskaia <aglo@umich.edu>
Cc: linux-rdma <linux-rdma@vger.kernel.org>
Subject: Re: help with "PSN sequence error" in Ubuntu 20.04 (using CX-4 or CX-6 mellanox cards)
Date: Mon, 2 Aug 2021 19:58:56 +0300 [thread overview]
Message-ID: <YQgkUDawCHSYyau5@unreal> (raw)
In-Reply-To: <CAN-5tyEiv0-Mjfq5aSpzURjAx4Uu=ydobZCQ-rKFTOUDTapo+A@mail.gmail.com>
On Mon, Aug 02, 2021 at 11:37:06AM -0400, Olga Kornievskaia wrote:
> Hi folks,
>
> We are encountering an error condition (while doing NFSoRDMA) but the
> problem seems to be in the RDMA core itself. The problem is that the
> client at some point is ending in an RDMA NAK with "PNS Sequence
> error" but the network trace shows all the PSNs are accounted for
> (snippet at the bottom). It's as if the client lost its knowledge of
> the current PSN.
>
> Questions:
> 1. Is PSN handling done by the hardware card itself (in firmware) and
> not in the kernel (making this a card/firmware specific problem)? I
> was trying to look thru the rdma core/mlx5 driver code to see what
> would generate a NAK with such error but wasn't able to find one. Only
> found counters for nak_seq_error which made me think this is a
> firmware problem.
The decisions what is valid or not are done in the FW, kernel doesn't
check anything. Although, the kernel sets/gets next_send_psn/next_recv_psn.
Thanks
next prev parent reply other threads:[~2021-08-02 16:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-02 15:37 help with "PSN sequence error" in Ubuntu 20.04 (using CX-4 or CX-6 mellanox cards) Olga Kornievskaia
2021-08-02 16:58 ` Leon Romanovsky [this message]
2021-08-02 19:00 ` Olga Kornievskaia
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=YQgkUDawCHSYyau5@unreal \
--to=leon@kernel.org \
--cc=aglo@umich.edu \
--cc=linux-rdma@vger.kernel.org \
/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