Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320709
b: refs/heads/master
c: 5d7fe4e
h: refs/heads/master
i:
  320707: dfdc6d3
v: v3
  • Loading branch information
Mike Marciniszyn authored and Roland Dreier committed Jul 30, 2012
1 parent edf82e8 commit 1b3dad1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e8fa040cb2d9070d15d3f0d71b83e85e32ecde2
refs/heads/master: 5d7fe4efbf0878e0ef12c8f93e7a16c750494b7e
4 changes: 1 addition & 3 deletions trunk/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -893,9 +893,7 @@ static int ocrdma_check_qp_params(struct ib_pd *ibpd, struct ocrdma_dev *dev,
/* verify consumer QPs are not trying to use GSI QP's CQ */
if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created)) {
if ((dev->gsi_sqcq == get_ocrdma_cq(attrs->send_cq)) ||
(dev->gsi_sqcq == get_ocrdma_cq(attrs->recv_cq)) ||
(dev->gsi_rqcq == get_ocrdma_cq(attrs->send_cq)) ||
(dev->gsi_rqcq == get_ocrdma_cq(attrs->recv_cq))) {
(dev->gsi_sqcq == get_ocrdma_cq(attrs->send_cq))) {
ocrdma_err("%s(%d) Consumer QP cannot use GSI CQs.\n",
__func__, dev->id);
return -EINVAL;
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/infiniband/hw/qib/qib.h
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,11 @@ struct qib_pportdata {
/* 16 congestion entries with each entry corresponding to a SL */
struct ib_cc_congestion_entry_shadow *congestion_entries;

/* Maximum number of congestion control entries that the agent expects
* the manager to send.
*/
u16 cc_supported_table_entries;

/* Total number of congestion control table entries */
u16 total_cct_entry;

Expand All @@ -667,11 +672,6 @@ struct qib_pportdata {

/* CA's max number of 64 entry units in the congestion control table */
u8 cc_max_table_entries;

/* Maximum number of congestion control entries that the agent expects
* the manager to send.
*/
u8 cc_supported_table_entries;
};

/* Observers. Not to be taken lightly, possibly not to ship. */
Expand Down

0 comments on commit 1b3dad1

Please sign in to comment.