[ofa-general] Re: [PATCH] osm: Adding two SA MAD class-specific status values

Sasha Khapyorsky sashak at voltaire.com
Tue Oct 16 16:32:37 PDT 2007


Hi Yevgeny,

On 08:57 Tue 16 Oct     , Yevgeny Kliteynik wrote:
> Adding two SA MAD class-specific status values:
>  - ERR_REQ_DENIED
>  - ERR_REQ_PRIORITY_SUGGESTED
> 
> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
> ---
>  opensm/include/iba/ib_types.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/opensm/include/iba/ib_types.h b/opensm/include/iba/ib_types.h
> index e1785f1..c6f16b9 100644
> --- a/opensm/include/iba/ib_types.h
> +++ b/opensm/include/iba/ib_types.h
> @@ -903,6 +903,8 @@ static inline boolean_t OSM_API ib_class_is_rmpp(IN const uint8_t class_code)
>  #define IB_SA_MAD_STATUS_TOO_MANY_RECORDS		(CL_HTON16(0x0400))
>  #define IB_SA_MAD_STATUS_INVALID_GID			(CL_HTON16(0x0500))
>  #define IB_SA_MAD_STATUS_INSUF_COMPS			(CL_HTON16(0x0600))
> +#define IB_SA_MAD_STATUS_DENIED				(CL_HTON16(0x0700))
> +#define IB_SA_MAD_STATUS_PRIO_SUGGESTED			(CL_HTON16(0x0800))

Where those values are defined? In published by IBTA drafts both are 7
(STATUS_DENIED in Volume 1 Release 1.2.1 and STATUS_PRIO_SUGGESTED in
Annex QoS13: QoS Management v0.9).

Sasha

> 
>  #define IB_DM_MAD_STATUS_NO_IOC_RESP			(CL_HTON16(0x0100))
>  #define IB_DM_MAD_STATUS_NO_SVC_ENTRIES			(CL_HTON16(0x0200))
> -- 
> 1.5.1.4
> 
> 



More information about the general mailing list