From: Sasha Khapyorsky <sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org>
To: Al Chu <chu11-i2BcT+NCU+M@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [infiniband-diags] support diffing lids and nodedesc on remoteports in ibnetdiscover
Date: Mon, 14 Jun 2010 14:34:37 +0300 [thread overview]
Message-ID: <20100614113437.GS20172@me> (raw)
In-Reply-To: <1271873984.17987.244.camel-X2zTWyBD0EhliZ7u+bvwcg@public.gmane.org>
On 11:19 Wed 21 Apr , Al Chu wrote:
> Hey Sasha,
>
> A slight tweak to the patch. Support diffing lids and node descriptions
> on remote ports (previously it diffed only "local" lids and node
> descriptions). Also add appropriate manpage notes.
>
> Al
>
> On Tue, 2010-04-20 at 15:30 -0700, Al Chu wrote:
> > Hey Sasha,
> >
> > This patch supports diffing node descriptions on remote ports
> > (previously diffing of just the "local" node description was supported).
> >
> > Al
> >
> > email message attachment
> > > -------- Forwarded Message --------
> > > From: Albert Chu <chu11-i2BcT+NCU+M@public.gmane.org>
> > > Subject: [PATCH] support diffing nodedesc on remoteports in
> > > ibnetdiscover
> > > Date: Tue, 20 Apr 2010 15:09:59 -0700
> > >
> > > Signed-off-by: Albert Chu <chu11-i2BcT+NCU+M@public.gmane.org>
> > > ---
> > > infiniband-diags/src/ibnetdiscover.c | 11 +++++++++++
> > > 1 files changed, 11 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/infiniband-diags/src/ibnetdiscover.c b/infiniband-diags/src/ibnetdiscover.c
> > > index 57f9625..eeb1b9f 100644
> > > --- a/infiniband-diags/src/ibnetdiscover.c
> > > +++ b/infiniband-diags/src/ibnetdiscover.c
> > > @@ -720,6 +720,17 @@ static void diff_ports(ibnd_node_t * fabric1_node, ibnd_node_t * fabric2_node,
> > > fabric2_out++;
> > > }
> > >
> > > + if (data->diff_flags & DIFF_FLAG_PORT_CONNECTION
> > > + && data->diff_flags & DIFF_FLAG_NODE_DESCRIPTION
> > > + && fabric1_port && fabric2_port
> > > + && fabric1_port->remoteport && fabric2_port->remoteport
> > > + && memcmp(fabric1_port->remoteport->node->nodedesc,
> > > + fabric2_port->remoteport->node->nodedesc,
> > > + IB_SMP_DATA_SIZE)) {
> > > + fabric1_out++;
> > > + fabric2_out++;
> > > + }
> > > +
> > > if (fabric1_out) {
> > > diff_iter_out_header(fabric1_node, data,
> > > out_header_flag);
> --
> Albert Chu
> chu11-i2BcT+NCU+M@public.gmane.org
> Computer Scientist
> High Performance Systems Division
> Lawrence Livermore National Laboratory
> Date: Tue, 20 Apr 2010 15:09:59 -0700
> From: Albert Chu <chu11-i2BcT+NCU+M@public.gmane.org>
> Subject: [PATCH] support diffing lids and nodedesc on remoteports in
> ibnetdiscover
> Message-Id: <1271873984.17987.245.camel-X2zTWyBD0EhliZ7u+bvwcg@public.gmane.org>
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
>
>
> Signed-off-by: Albert Chu <chu11-i2BcT+NCU+M@public.gmane.org>
Both applied. Thanks.
Sasha
--
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
prev parent reply other threads:[~2010-06-14 11:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 22:30 [infiniband-diags] support diffing nodedesc on remoteports in ibnetdiscover Al Chu
[not found] ` <1271802640.17987.230.camel-X2zTWyBD0EhliZ7u+bvwcg@public.gmane.org>
2010-04-21 18:19 ` [infiniband-diags] support diffing lids and " Al Chu
[not found] ` <1271873984.17987.244.camel-X2zTWyBD0EhliZ7u+bvwcg@public.gmane.org>
2010-06-14 11:34 ` Sasha Khapyorsky [this message]
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=20100614113437.GS20172@me \
--to=sashak-smomgflxvozwk0htik3j/w@public.gmane.org \
--cc=chu11-i2BcT+NCU+M@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 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.