[ofw] different definitions of _ib_async_event_t
Tzachi Dar
tzachid at mellanox.co.il
Sun Jan 4 06:51:30 PST 2009
Hi All,
It seems that the following type ib_async_event_t is defined 3 times
with different values.
More, it seems that the constant IB_AE_UNKNOWN also has 3 different
values based on it's different location on this files.
I would like to change that to the definition that we have on
inc\iba\ib_types.h
Are there any objections?
Thanks
Tzachi
Here are the different definitions that exist today:
inc\iba\ib_types.h
typedef enum _ib_async_event_t
{
IB_AE_SQ_ERROR = 1,
IB_AE_SQ_DRAINED,
IB_AE_RQ_ERROR,
IB_AE_CQ_ERROR,
IB_AE_QP_FATAL,
IB_AE_QP_COMM,
IB_AE_QP_APM,
IB_AE_LOCAL_FATAL,
IB_AE_PKEY_TRAP,
IB_AE_QKEY_TRAP,
IB_AE_MKEY_TRAP,
IB_AE_PORT_TRAP,
IB_AE_SYSIMG_GUID_TRAP,
IB_AE_BUF_OVERRUN,
IB_AE_LINK_INTEGRITY,
IB_AE_FLOW_CTRL_ERROR,
IB_AE_BKEY_TRAP,
IB_AE_QP_APM_ERROR,
IB_AE_WQ_REQ_ERROR,
IB_AE_WQ_ACCESS_ERROR,
IB_AE_PORT_ACTIVE,
IB_AE_PORT_DOWN,
IB_AE_CLIENT_REREGISTER,
IB_AE_SRQ_LIMIT_REACHED,
IB_AE_SRQ_CATAS_ERROR,
IB_AE_SRQ_QP_LAST_WQE_REACHED,
IB_AE_RESET_DRIVER,
IB_AE_RESET_CLIENT,
IB_AE_RESET_END,
IB_AE_RESET_FAILED,
IB_AE_UNKNOWN /* ALWAYS LAST ENUM VALUE */
} ib_async_event_t;
opensm\user\include\iba
typedef enum _ib_async_event_t
{
IB_AE_SQ_ERROR = 1,
IB_AE_SQ_DRAINED,
IB_AE_RQ_ERROR,
IB_AE_CQ_ERROR,
IB_AE_QP_FATAL,
IB_AE_QP_COMM,
IB_AE_QP_APM,
IB_AE_EEC_FATAL,
IB_AE_EEC_COMM,
IB_AE_EEC_APM,
IB_AE_LOCAL_FATAL,
IB_AE_PKEY_TRAP,
IB_AE_QKEY_TRAP,
IB_AE_MKEY_TRAP,
IB_AE_PORT_TRAP,
IB_AE_SYSIMG_GUID_TRAP,
IB_AE_BUF_OVERRUN,
IB_AE_LINK_INTEGRITY,
IB_AE_FLOW_CTRL_ERROR,
IB_AE_BKEY_TRAP,
IB_AE_QP_APM_ERROR,
IB_AE_EEC_APM_ERROR,
IB_AE_WQ_REQ_ERROR,
IB_AE_WQ_ACCESS_ERROR,
IB_AE_PORT_ACTIVE,
IB_AE_PORT_DOWN,
IB_AE_UNKNOWN /* ALWAYS LAST ENUM VALUE */
} ib_async_event_t;
ib_types_extended.h:
typedef enum _ib_async_event_t
{
IB_AE_SQ_ERROR = 1,
IB_AE_SQ_DRAINED,
IB_AE_RQ_ERROR,
IB_AE_CQ_ERROR,
IB_AE_QP_FATAL,
IB_AE_QP_COMM,
IB_AE_QP_APM,
IB_AE_LOCAL_FATAL,
IB_AE_PKEY_TRAP,
IB_AE_QKEY_TRAP,
IB_AE_MKEY_TRAP,
IB_AE_PORT_TRAP,
IB_AE_SYSIMG_GUID_TRAP,
IB_AE_BUF_OVERRUN,
IB_AE_LINK_INTEGRITY,
IB_AE_FLOW_CTRL_ERROR,
IB_AE_BKEY_TRAP,
IB_AE_QP_APM_ERROR,
IB_AE_WQ_REQ_ERROR,
IB_AE_WQ_ACCESS_ERROR,
IB_AE_PORT_ACTIVE,
IB_AE_PORT_DOWN,
IB_AE_CLIENT_REREGISTER,
IB_AE_SRQ_LIMIT_REACHED,
IB_AE_SRQ_CATAS_ERROR,
IB_AE_SRQ_QP_LAST_WQE_REACHED,
IB_AE_UNKNOWN /* ALWAYS LAST ENUM VALUE */
} ib_async_event_t;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090104/f267a78c/attachment.html>
More information about the ofw
mailing list