All of lore.kernel.org
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz-smomgflXvOZWk0Htik3J/w@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 0/13] IB-mgmt: Port madeye to userspace
Date: Mon, 08 Nov 2010 12:14:19 +0200	[thread overview]
Message-ID: <4CD7CD7B.2020003@voltaire.com> (raw)
In-Reply-To: <CF9C39F99A89134C9CF9C4CCB68B8DDF25B837B857-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>

Hefty, Sean wrote:
> CM mads aren't reliable, however they are retried.  If a CM REQ does not receive a response after so many retries (usually 15), the REQ fails (status is timeout).  The mad layer reports the timeout to the cm module.  With snooping in place, a user will be notified that a mad send has failed and be given a copy of the mad.
mmm, got that - I also see that ib_mad_send_wc has both the status and 
the content of the mad, upon which you base the design
> 3. ibacm returns a path record.  The path record _may_ have come from cached data.
> 4. The librdmacm tries to establish a connection.
> 5. The kernel ib_cm module issues REQ.
> 6. The ib_mad module retries the REQ until it times out.
> 7. The mad timeout is reported to any users wishing to capture errors.
> In this example, the ibacm service would be registered and receive a copy of the failed REQ.  The ibacm can look at the data in the REQ, see if it if has cached path record data which matches, and remove the cached data if so.
> 8. The librdmacm will see a connection failure.
so the usage of mad snooping would be for cache invalidations, I wonder 
if registering on GID/MGID IN/OUT traps be sufficient for the same purpose?

Or.

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

  parent reply	other threads:[~2010-11-08 10:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03 23:13 [PATCH 0/13] IB-mgmt: Port madeye to userspace Hefty, Sean
     [not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B837B38B-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-11-04  8:25   ` Or Gerlitz
     [not found]     ` <4CD26E04.3060408-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2010-11-04 14:56       ` Hefty, Sean
     [not found]         ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B837B65F-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-11-04 16:31           ` Or Gerlitz
     [not found]             ` <4CD2DFD3.7040900-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
2010-11-04 16:51               ` Hefty, Sean
     [not found]                 ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B837B857-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-11-08 10:14                   ` Or Gerlitz [this message]
     [not found]                     ` <4CD7CD7B.2020003-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2010-11-08 15:53                       ` Hefty, Sean
     [not found]                         ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B83D6B54-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-11-08 16:17                           ` Or Gerlitz

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=4CD7CD7B.2020003@voltaire.com \
    --to=ogerlitz-smomgflxvozwk0htik3j/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@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.