mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
Match doorbell layout to expected usage.
This commit is contained in:
parent
5a43293c38
commit
725a574042
@ -51,7 +51,7 @@
|
||||
enum {
|
||||
MADS_QPN_SN,
|
||||
IPOIB_QPN_SN,
|
||||
MAX_APP_QPS
|
||||
MAX_APP_QPS = 8
|
||||
};
|
||||
|
||||
enum {
|
||||
@ -59,7 +59,7 @@ enum {
|
||||
MADS_RCV_CQN_SN,
|
||||
IPOIB_SND_CQN_SN,
|
||||
IPOIB_RCV_CQN_SN,
|
||||
MAX_APP_CQS
|
||||
MAX_APP_CQS = 8
|
||||
};
|
||||
|
||||
enum {
|
||||
|
@ -146,24 +146,24 @@
|
||||
|
||||
/* uar context indexes */
|
||||
enum {
|
||||
MADS_SND_CQ_ARM_DB_IDX,
|
||||
MADS_RCV_CQ_ARM_DB_IDX,
|
||||
IPOIB_SND_CQ_ARM_DB_IDX,
|
||||
IPOIB_RCV_CQ_ARM_DB_IDX,
|
||||
MADS_SND_QP_DB_IDX,
|
||||
IPOIB_SND_QP_DB_IDX,
|
||||
GROUP_SEP_IDX,
|
||||
START_UNMAPPED_DB_IDX,
|
||||
MADS_SND_CQ_ARM_DB_IDX = MADS_SND_CQN_SN,
|
||||
MADS_RCV_CQ_ARM_DB_IDX = MADS_RCV_CQN_SN,
|
||||
IPOIB_SND_CQ_ARM_DB_IDX = IPOIB_SND_CQN_SN,
|
||||
IPOIB_RCV_CQ_ARM_DB_IDX = IPOIB_RCV_CQN_SN,
|
||||
MADS_SND_QP_DB_IDX = ( MAX_APP_CQS + MADS_QPN_SN ),
|
||||
IPOIB_SND_QP_DB_IDX = ( MAX_APP_CQS + IPOIB_QPN_SN ),
|
||||
GROUP_SEP_IDX = ( MAX_APP_CQS + MAX_APP_QPS ),
|
||||
// START_UNMAPPED_DB_IDX,
|
||||
/* --------------------------
|
||||
unmapped doorbell records
|
||||
-------------------------- */
|
||||
END_UNMAPPED_DB_IDX = 505,
|
||||
IPOIB_RCV_QP_DB_IDX = 506,
|
||||
MADS_RCV_QP_DB_IDX = 507,
|
||||
IPOIB_RCV_CQ_CI_DB_IDX = 508,
|
||||
IPOIB_SND_CQ_CI_DB_IDX = 509,
|
||||
MADS_RCV_CQ_CI_DB_IDX = 510,
|
||||
MADS_SND_CQ_CI_DB_IDX = 511,
|
||||
// END_UNMAPPED_DB_IDX,
|
||||
IPOIB_RCV_QP_DB_IDX = ( 512 - MAX_APP_CQS - IPOIB_QPN_SN - 1 ),
|
||||
MADS_RCV_QP_DB_IDX = ( 512 - MAX_APP_CQS - MADS_QPN_SN - 1 ),
|
||||
IPOIB_RCV_CQ_CI_DB_IDX = ( 512 - IPOIB_RCV_CQN_SN - 1 ),
|
||||
IPOIB_SND_CQ_CI_DB_IDX = ( 512 - IPOIB_SND_CQN_SN - 1 ),
|
||||
MADS_RCV_CQ_CI_DB_IDX = ( 512 - MADS_RCV_CQN_SN - 1 ),
|
||||
MADS_SND_CQ_CI_DB_IDX = ( 512 - MADS_SND_CQN_SN - 1 ),
|
||||
};
|
||||
|
||||
/* uar resources types */
|
||||
|
Loading…
Reference in New Issue
Block a user