diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-09-10 21:19:45 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-10 21:19:45 -0700 |
commit | 73f526da0260db5376951373c267596993dc13a8 (patch) | |
tree | 9d84938e61970fcd56830009911e9b39b7eee478 /drivers/infiniband/core/mad_priv.h | |
parent | Merge branches 'cxgb3', 'ehca', 'ipath', 'ipoib', 'misc', 'mlx4', 'mthca' and 'nes' into for-linus (diff) | |
parent | IB/mad: Allow tuning of QP0 and QP1 sizes (diff) | |
download | linux-dev-73f526da0260db5376951373c267596993dc13a8.tar.xz linux-dev-73f526da0260db5376951373c267596993dc13a8.zip |
Merge branch 'mad' into for-linus
Conflicts:
drivers/infiniband/core/mad.c
Diffstat (limited to 'drivers/infiniband/core/mad_priv.h')
-rw-r--r-- | drivers/infiniband/core/mad_priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/core/mad_priv.h b/drivers/infiniband/core/mad_priv.h index 05ce331733b0..9430ab4969c5 100644 --- a/drivers/infiniband/core/mad_priv.h +++ b/drivers/infiniband/core/mad_priv.h @@ -2,6 +2,7 @@ * Copyright (c) 2004, 2005, Voltaire, Inc. All rights reserved. * Copyright (c) 2005 Intel Corporation. All rights reserved. * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright (c) 2009 HNR Consulting. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU @@ -49,6 +50,8 @@ /* QP and CQ parameters */ #define IB_MAD_QP_SEND_SIZE 128 #define IB_MAD_QP_RECV_SIZE 512 +#define IB_MAD_QP_MIN_SIZE 64 +#define IB_MAD_QP_MAX_SIZE 8192 #define IB_MAD_SEND_REQ_MAX_SG 2 #define IB_MAD_RECV_REQ_MAX_SG 1 |