public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* XRC Questions for Mellanox and All
@ 2017-11-09 10:12 Amrani, Ram
       [not found] ` <BN3PR07MB2578462C1760953F6D4690E2F8570-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Amrani, Ram @ 2017-11-09 10:12 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hi Mellanox, All,
I've been reading XRC code, currently implemented only by Mellanox.
I have a few questions regarding specifications vs. implementation.

 (1) The protocol specifies:
11.6.3.2 AFFILIATED ASYNCHRONOUS ERRORS
...
The following describes the new Affiliated Asynchronous Errors for
XRC TGT QPs:
* XRC Domain Violation - Responder's Receive Queue detected an
XRC Domain that does not match the XRC Domain of the XRC SRQ.
* Invalid XRCETH - Responder detected that the XRC SRQ does not
exist or is not in the right state or wire protocol violation.

I don't see any dedicated entries in the enum ib_event_type.
Why? How, do you currently treat these errors?

(2) The protocol specifies:
11.4.2.1 POLL FOR COMPLETION
...
Output Modifiers:
...
* Local XRC TGT QP Number. Returned only for completions
of WRs posted to XRC SRQs.

I don't see any dedicated field in the struct ib_wc.
Why? How, do you currently return this value, if at all?

(3) The protocol specifies:
11.4.2.1 POLL FOR COMPLETION 
A new "XRC violation error" is returned for requests that caused the responder
to return a "NAK-Invalid RD Request" NAK. This could have been
caused by either a Remote XRC Domain Violation or an XRCETH Violation
as detailed in the transport section.

What entry from the enum ib_wc_status do you use for this?

Thanks,
Ram

--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-12-21 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09 10:12 XRC Questions for Mellanox and All Amrani, Ram
     [not found] ` <BN3PR07MB2578462C1760953F6D4690E2F8570-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-11-19 12:02   ` Amrani, Ram
     [not found]     ` <BN3PR07MB2578DE457E8E49E57CF49F17F82D0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-11-19 12:09       ` Leon Romanovsky
     [not found]         ` <20171119120935.GX18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-19 12:12           ` Amrani, Ram
     [not found]             ` <BN3PR07MB2578D6D405479F378F8363E2F82D0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-12-12  9:49               ` Amrani, Ram
     [not found]                 ` <BN3PR07MB2578AD1BAC34493F0026D5B0F8340-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-12-19  5:41                   ` Leon Romanovsky
2017-12-20 21:11       ` jackm
     [not found]         ` <20171220231157.00000e11-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-12-21 15:52           ` Amrani, Ram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox