aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/amso1100/c2_ae.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-04-18 11:20:06 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-18 11:20:06 -0400
commit75e98b34155264d943aa53edce465e87f3ccbadf (patch)
tree08d100a14ab9f5314c393286ce8c5436ef387d75 /drivers/infiniband/hw/amso1100/c2_ae.c
parent30bc94566e396b432b72e2f3518e19225dc2672d (diff)
parent0a22ab92f51478796d5f3997f4f5922409c98b10 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (104 commits) IB/iser: Don't change itt endianness IB/mlx4: Update module version and release date IPoIB: Handle case when P_Key is deleted and re-added at same index IB/iser: Release connection resources on RDMA_CM_EVENT_DEVICE_REMOVAL event IB/mlx4: Fix incorrect comment IB/mlx4: Fix race when detaching a QP from a multicast group IB/ehca: Support all ibv_devinfo values in query_device() and query_port() RDMA/nes: Free IRQ before killing tasklet IB/mthca: Update module version and release date IB/mlx4: Update QP state if query QP succeeds IB/mthca: Update QP state if query QP succeeds RDMA/amso1100: Add check for NULL reply_msg in c2_intr() IB/mlx4: Add support for resizing CQs IB/mlx4: Add support for modifying CQ moderation parameters IPoIB: Support modifying IPoIB CQ event moderation IB/core: Add support for modify CQ IPoIB: Add basic ethtool support mlx4_core: Increase max number of QPs to 128K RDMA/amso1100: Add support for "send with invalidate" work requests IB/core: Add support for "send with invalidate" work requests ...
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2_ae.c')
-rw-r--r--drivers/infiniband/hw/amso1100/c2_ae.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_ae.c b/drivers/infiniband/hw/amso1100/c2_ae.c
index a31439bd3b67..62af74295dbe 100644
--- a/drivers/infiniband/hw/amso1100/c2_ae.c
+++ b/drivers/infiniband/hw/amso1100/c2_ae.c
@@ -61,7 +61,7 @@ static int c2_convert_cm_status(u32 c2_status)
61 default: 61 default:
62 printk(KERN_ERR PFX 62 printk(KERN_ERR PFX
63 "%s - Unable to convert CM status: %d\n", 63 "%s - Unable to convert CM status: %d\n",
64 __FUNCTION__, c2_status); 64 __func__, c2_status);
65 return -EIO; 65 return -EIO;
66 } 66 }
67} 67}
@@ -193,9 +193,9 @@ void c2_ae_event(struct c2_dev *c2dev, u32 mq_index)
193 pr_debug("%s: event = %s, user_context=%llx, " 193 pr_debug("%s: event = %s, user_context=%llx, "
194 "resource_type=%x, " 194 "resource_type=%x, "
195 "resource=%x, qp_state=%s\n", 195 "resource=%x, qp_state=%s\n",
196 __FUNCTION__, 196 __func__,
197 to_event_str(event_id), 197 to_event_str(event_id),
198 (unsigned long long) be64_to_cpu(wr->ae.ae_generic.user_context), 198 (unsigned long long) wr->ae.ae_generic.user_context,
199 be32_to_cpu(wr->ae.ae_generic.resource_type), 199 be32_to_cpu(wr->ae.ae_generic.resource_type),
200 be32_to_cpu(wr->ae.ae_generic.resource), 200 be32_to_cpu(wr->ae.ae_generic.resource),
201 to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state))); 201 to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state)));
@@ -259,7 +259,7 @@ void c2_ae_event(struct c2_dev *c2dev, u32 mq_index)
259 BUG_ON(1); 259 BUG_ON(1);
260 pr_debug("%s:%d Unexpected event_id=%d on QP=%p, " 260 pr_debug("%s:%d Unexpected event_id=%d on QP=%p, "
261 "CM_ID=%p\n", 261 "CM_ID=%p\n",
262 __FUNCTION__, __LINE__, 262 __func__, __LINE__,
263 event_id, qp, cm_id); 263 event_id, qp, cm_id);
264 break; 264 break;
265 } 265 }
@@ -276,7 +276,7 @@ void c2_ae_event(struct c2_dev *c2dev, u32 mq_index)
276 pr_debug("C2_RES_IND_EP event_id=%d\n", event_id); 276 pr_debug("C2_RES_IND_EP event_id=%d\n", event_id);
277 if (event_id != CCAE_CONNECTION_REQUEST) { 277 if (event_id != CCAE_CONNECTION_REQUEST) {
278 pr_debug("%s: Invalid event_id: %d\n", 278 pr_debug("%s: Invalid event_id: %d\n",
279 __FUNCTION__, event_id); 279 __func__, event_id);
280 break; 280 break;
281 } 281 }
282 cm_event.event = IW_CM_EVENT_CONNECT_REQUEST; 282 cm_event.event = IW_CM_EVENT_CONNECT_REQUEST;