public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Yevgeny Kliteynik <kliteyn-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Sasha Khapyorsky <sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org>
Cc: Linux RDMA <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: OpenSM: reporting traps 129, 130, 131
Date: Sun, 08 Nov 2009 16:37:02 +0200	[thread overview]
Message-ID: <4AF6D78E.6080600@dev.mellanox.co.il> (raw)

Hi Sasha,

I noticed that OpenSM doesn't send InformInfo on traps 129/130/131.
This is what osm_trap_rcv.c is doing:

322: static void trap_rcv_process_request(IN osm_sm_t * sm,
323: 				     IN const osm_madw_t * p_madw)
... 

435: 		if (ib_notice_is_generic(p_ntci) &&
436: 		    (p_ntci->g_or_v.generic.trap_num == CL_HTON16(129) ||
437: 		     p_ntci->g_or_v.generic.trap_num == CL_HTON16(130) ||
438: 		     p_ntci->g_or_v.generic.trap_num == CL_HTON16(131))) {
439: 			/* If this is a trap 129, 130, or 131 - then this is a
440: 			 * trap signaling a change on a physical port.
441: 			 * Mark the physp_change_trap flag as TRUE.
442: 			 */
443: 			physp_change_trap = TRUE;
...

539:	/* If we reached here due to trap 129/130/131 - do not need to do
540:	   the notice report. Just goto exit. We know this is the case
541:	   if physp_change_trap is TRUE. */
542:	if (physp_change_trap == TRUE)
543:		goto Exit;


Any particular reason why there's no reporting of these traps?

-- Yevgeny


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

             reply	other threads:[~2009-11-08 14:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 14:37 Yevgeny Kliteynik [this message]
     [not found] ` <4AF6D78E.6080600-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2009-11-12 13:46   ` OpenSM: reporting traps 129, 130, 131 Hal Rosenstock
     [not found]     ` <f0e08f230911120546q5aa0ed72oc6811cbd2471bc44-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-12 15:42       ` Sasha Khapyorsky
2009-11-12 16:38         ` Hal Rosenstock
     [not found]           ` <f0e08f230911120838w2f824a4dnc6b51a68b25bbffd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-12 16:39             ` Hal Rosenstock
2009-11-12 20:36             ` Sasha Khapyorsky
2009-11-13 14:42               ` Hal Rosenstock

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=4AF6D78E.6080600@dev.mellanox.co.il \
    --to=kliteyn-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sashak-smomgflXvOZWk0Htik3J/w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox