[ofa-general] [PATCH V3] Add ib_trap_str function to ib_types.h and use it in INFO prints of OpenSM
Ira Weiny
weiny2 at llnl.gov
Thu Jul 24 11:11:49 PDT 2008
On Thu, 24 Jul 2008 20:53:37 +0300
Sasha Khapyorsky <sashak at voltaire.com> wrote:
> On 10:11 Thu 24 Jul , Ira Weiny wrote:
> > From 1f810dd6ae9a73549cacdbb26f464e6132675592 Mon Sep 17 00:00:00 2001
> > From: Ira K. Weiny <weiny2 at llnl.gov>
> > Date: Tue, 22 Jul 2008 16:31:36 -0700
> > Subject: [PATCH] Add ib_trap_str function to ib_types.h and use it in INFO prints of OpenSM
> >
> >
> > Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
>
> Applied with minor changes - similar to ib_get_sa_attr_str() and
> ib_get_sa_attr_str() I moved ib_get_trap_str() prototype to osm_helper.h
> and made trap_num parameter in network byte order.
Ah, ok. I specifically made it in host byte order. I figured that would be
easier going forward but it is your call.
Ira
More information about the general
mailing list