public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] IB/umad: Export mad snooping to userspace
@ 2010-10-12 19:10 Hefty, Sean
       [not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B7DAA11D-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Hefty, Sean @ 2010-10-12 19:10 UTC (permalink / raw)
  To: Linux RDMA list

The kernel mad interface allows a client to view all
sent and received MADs.  This has proven to be a useful
debugging technique when paired with the external kernel
module, madeye.  However, madeye was never intended to
be submitted upstream.

A couple of alternatives have been proposed for making
this functionality available in the upstream kernel,
using trace events or exporting the snooping interface
to user space.  This patch series takes the latter approach.

In addition to snooping MADs simply for debugging purposes,
applications can be constructed to examine and act on
MAD traffic.  For example, a daemon could snoop SA queries
and CM messages as part of providing a path record caching
service.  It could cached snooped path records and use CM
timeouts as an indication that cached data may be stale.

Because such services may become crucial to support large
clusters, the desire is to add mad snooping capabilities
to the stack directly, rather than using a debug interface.

These patches compile, but have not been tested.  If this
approach is acceptable, I will modify libibumad to work
with the proposed changes.  I will also create a userspace
version of madeye as a new ib-diag.  Finally, the IB ACM
will eventually be updated to monitor CM response timeouts.

Signed-off-by: Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
--
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:[~2010-10-19 22:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 19:10 [RFC 0/2] IB/umad: Export mad snooping to userspace Hefty, Sean
     [not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B7DAA11D-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-10-12 20:35   ` Jason Gunthorpe
     [not found]     ` <20101012203528.GP24268-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-12 20:54       ` Hefty, Sean
     [not found]         ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B7DAA2A6-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-10-12 21:10           ` Jason Gunthorpe
     [not found]             ` <20101012211052.GT24268-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-12 22:50               ` Hefty, Sean
     [not found]                 ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B7DAA46E-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-10-12 23:22                   ` Opensm crash with OFED 1.5 Suresh Shelvapille
     [not found]                     ` <091262BDA0A846A0B62CB3BEDB366DBC-+IkoAhRkys/CbFgIbBqbbjGjJy/sRE9J@public.gmane.org>
2010-10-13 19:06                       ` Suresh Shelvapille
     [not found]                         ` <EC5B6AE4937B444290B7D4D10BC489A5-+IkoAhRkys/CbFgIbBqbbjGjJy/sRE9J@public.gmane.org>
2010-10-19 22:17                           ` Suresh Shelvapille

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