From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Jesus Camacho Villanueva
<jecavil-S8y2klWGCOFhl2p70BpVqQ@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: missing port number(s) in trap 128?
Date: Thu, 08 May 2014 09:20:03 -0400 [thread overview]
Message-ID: <536B8483.1050502@dev.mellanox.co.il> (raw)
In-Reply-To: <CAA8OkbuY4F9N1RkNQFgDCYveWkzDVzcRmqK4F=CBdSC+Hv5APg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 5/8/2014 7:51 AM, Jesus Camacho Villanueva wrote:
> Hello Everyone,
>
> When OpenSM receives a trap 128 indicating a "Link state of at least
> one port of switch at <LIDADDR> has changed", it seems there is not
> any information about the port number(s) of the affected link(s).
>
> Do you know if there is any chance to retrieve this information from
> this trap or through other incoming MAD(s)?
>
> Any ideas or suggestions would be greatly appreciated.
Per current IBTA spec, port number is not included in link state change
trap 128. It would need to include a set of ports which changed state
and not just single port.
Once SM receives trap 128 from some switch, SM is responsible for
querying that switch and determining which ports changed state from
"last" time it queried them. It can do this via querying PortInfo MAD
for all the ports on that switch. PortInfo MAD contains the PortState.
SM also resets the PortStateChange bit in SwitchInfo MAD for that switch.
-- Hal
>
> Kind regards,
> Jesus Camacho
> --
> 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
>
--
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:[~2014-05-08 13:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-08 11:51 missing port number(s) in trap 128? Jesus Camacho Villanueva
[not found] ` <CAA8OkbuY4F9N1RkNQFgDCYveWkzDVzcRmqK4F=CBdSC+Hv5APg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-08 13:20 ` Hal Rosenstock [this message]
[not found] ` <536B8483.1050502-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-05-08 14:05 ` Jesus Camacho Villanueva
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=536B8483.1050502@dev.mellanox.co.il \
--to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=jecavil-S8y2klWGCOFhl2p70BpVqQ@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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