From: Haggai Eran <haggaie-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Sagi Grimberg
<sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>,
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Liran Liss <liranl-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH v4 09/14] IB/cm: Expose BTH P_Key in CM and SIDR request events
Date: Mon, 31 Aug 2015 09:50:37 +0300 [thread overview]
Message-ID: <55E3F93D.6000400@mellanox.com> (raw)
In-Reply-To: <55E34A05.8040205-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
On 30/08/2015 21:23, Sagi Grimberg wrote:
>
> Looks like for some reason cm_get_bth_pkey got pkey_index of 0xffff
> instead of 0 (working on the default pkey 0xffff at entry 0).
It looks like the mlx5 driver doesn't interpret the completion format
correctly. It takes a field defined in the programmer reference manual
as pkey, and interprets it as pkey_index [1].
> log:
> infiniband mlx5_0: ib_cm: Couldn't retrieve pkey for incoming request (port 1, pkey index 65535). -22
> ib_srpt Received SRP_LOGIN_REQ with i_port_id 0x0:0x2c90300ed0960, t_port_id 0x2c90300ed0950:0x2c90300ed0950 and it_iu_len 260 on port 1 (guid=0xfe80000000000000:0x2c90300ed0950)
> ib_srpt Session : kernel thread ib_srpt_compl (PID 8584) started
> infiniband mlx5_0: ib_cm: Couldn't retrieve pkey for incoming request (port 1, pkey index 65535). -22
> ib_srpt Received SRP_LOGIN_REQ with i_port_id 0x0:0x2c90300ed0960, t_port_id 0x2c90300ed0950:0x2c90300ed0950 and it_iu_len 260 on port 1 (guid=0xfe80000000000000:0x2c90300ed0950)
> ib_srpt Session : kernel thread ib_srpt_compl (PID 8585) started
> mlx5_0:dump_cqe:238:(pid 8584): dump error cqe
> 00000000 00000000 00000000 00000000
> 00000000 00000000 00000000 00000000
> 0000002b 00000000 00000000 00000000
> 00000000 94003004 0000002c 0000b8e0
> ib_srpt receiving failed for idx 0 with status 4
> 0000:04:00.0:poll_health:151:(pid 0): device's health compromised
> assert_var[0] 0x00000094
> assert_var[1] 0x00000000
> assert_var[2] 0x00000000
> assert_var[3] 0x00000000
> assert_var[4] 0x00000000
> assert_exit_ptr 0x0061d35c
> assert_callra 0x0067a5f4
> fw_ver 0xa0641900
> hw_id 0x000001ff
> irisc_index 2
> synd 0x1: firmware internal error
> ext_sync 0x0000
> 0000:04:00.0:health_care:76:(pid 7943): handling bad device here
> ib_srpt Received DREQ and sent DREP for session 0x00000000000000000002c90300ed0960.
> ib_srpt Received DREQ and sent DREP for session 0x00000000000000000002c90300ed0960.
> ib_srpt Received IB TimeWait exit for cm_id ffff88046d1fb200.
> ib_srpt Received IB TimeWait exit for cm_id ffff880454ffa000.
> ib_srpt Session 0x00000000000000000002c90300ed0960: kernel thread ib_srpt_compl (PID 8585) stopped
I don't know how that can cause all the other errors though.
Haggai
[1]
http://lxr.free-electrons.com/source/drivers/infiniband/hw/mlx5/cq.c?v=4.1#L230
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-08-31 6:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 14:50 [PATCH v4 00/14] Demux IB CM requests in the rdma_cm module Haggai Eran
[not found] ` <1438267826-32155-1-git-send-email-haggaie-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-07-30 14:50 ` [PATCH v4 01/14] IB/core: Add rwsem to allow reading device list or client list Haggai Eran
2015-07-30 14:50 ` [PATCH v4 02/14] IB/core: lock client data with lists_rwsem Haggai Eran
2015-07-30 14:50 ` [PATCH v4 03/14] IB/core: Find the network device matching connection parameters Haggai Eran
2015-07-30 14:50 ` [PATCH v4 04/14] IB/ipoib: Return IPoIB devices " Haggai Eran
2015-07-30 14:50 ` [PATCH v4 05/14] IB/cm: Expose service ID in request events Haggai Eran
2015-07-30 14:50 ` [PATCH v4 06/14] IB/cm: Share listening CM IDs Haggai Eran
2015-07-30 14:50 ` [PATCH v4 07/14] IB/cma: Refactor RDMA IP CM private-data parsing code Haggai Eran
2015-07-30 14:50 ` [PATCH v4 08/14] IB/cma: Helper functions to access port space IDRs Haggai Eran
2015-07-30 14:50 ` [PATCH v4 09/14] IB/cm: Expose BTH P_Key in CM and SIDR request events Haggai Eran
[not found] ` <1438267826-32155-10-git-send-email-haggaie-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-08-30 18:23 ` Sagi Grimberg
[not found] ` <55E34A05.8040205-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-08-31 6:50 ` Haggai Eran [this message]
[not found] ` <55E3F93D.6000400-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-08-31 7:41 ` Sagi Grimberg
2015-07-30 14:50 ` [PATCH v4 10/14] IB/cma: Add net_dev and private data checks to RDMA CM Haggai Eran
2015-07-30 14:50 ` [PATCH v4 11/14] IB/cma: Validate routing of incoming requests Haggai Eran
2015-07-30 14:50 ` [PATCH v4 12/14] IB/cma: Use found net_dev for passive connections Haggai Eran
2015-07-30 14:50 ` [PATCH v4 13/14] IB/cma: Share ib_cm_ids between rdma_cm_ids Haggai Eran
2015-07-30 14:50 ` [PATCH v4 14/14] IB/cm: Remove compare_data checks Haggai Eran
2015-07-30 15:30 ` [PATCH v4 00/14] Demux IB CM requests in the rdma_cm module Doug Ledford
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=55E3F93D.6000400@mellanox.com \
--to=haggaie-vpraknaxozvwk0htik3j/w@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=liranl-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.