aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/ulp/isert/ib_isert.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c
index d6cc5999d793..66712bd7dc11 100644
--- a/drivers/infiniband/ulp/isert/ib_isert.c
+++ b/drivers/infiniband/ulp/isert/ib_isert.c
@@ -1487,6 +1487,7 @@ isert_cq_tx_work(struct work_struct *work)
1487 } else { 1487 } else {
1488 pr_debug("TX wc.status != IB_WC_SUCCESS >>>>>>>>>>>>>>\n"); 1488 pr_debug("TX wc.status != IB_WC_SUCCESS >>>>>>>>>>>>>>\n");
1489 pr_debug("TX wc.status: 0x%08x\n", wc.status); 1489 pr_debug("TX wc.status: 0x%08x\n", wc.status);
1490 pr_debug("TX wc.vendor_err: 0x%08x\n", wc.vendor_err);
1490 atomic_dec(&isert_conn->post_send_buf_count); 1491 atomic_dec(&isert_conn->post_send_buf_count);
1491 isert_cq_comp_err(tx_desc, isert_conn); 1492 isert_cq_comp_err(tx_desc, isert_conn);
1492 } 1493 }
@@ -1526,9 +1527,11 @@ isert_cq_rx_work(struct work_struct *work)
1526 isert_rx_completion(rx_desc, isert_conn, xfer_len); 1527 isert_rx_completion(rx_desc, isert_conn, xfer_len);
1527 } else { 1528 } else {
1528 pr_debug("RX wc.status != IB_WC_SUCCESS >>>>>>>>>>>>>>\n"); 1529 pr_debug("RX wc.status != IB_WC_SUCCESS >>>>>>>>>>>>>>\n");
1529 if (wc.status != IB_WC_WR_FLUSH_ERR) 1530 if (wc.status != IB_WC_WR_FLUSH_ERR) {
1530 pr_debug("RX wc.status: 0x%08x\n", wc.status); 1531 pr_debug("RX wc.status: 0x%08x\n", wc.status);
1531 1532 pr_debug("RX wc.vendor_err: 0x%08x\n",
1533 wc.vendor_err);
1534 }
1532 isert_conn->post_recv_buf_count--; 1535 isert_conn->post_recv_buf_count--;
1533 isert_cq_comp_err(NULL, isert_conn); 1536 isert_cq_comp_err(NULL, isert_conn);
1534 } 1537 }