[ofa-general] [PATCH V3] Add ib_trap_str function to ib_types.h and use it in INFO prints of OpenSM

Sasha Khapyorsky sashak at voltaire.com
Thu Jul 24 10:53:37 PDT 2008


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.

Thanks!

Sasha



More information about the general mailing list