Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272347
b: refs/heads/master
c: 6224c7e
h: refs/heads/master
i:
  272345: c30af88
  272343: dd5b429
v: v3
  • Loading branch information
Faisal Latif authored and Roland Dreier committed Oct 10, 2011
1 parent bab9792 commit 92d72ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bab3a9f43f211554626e189519b91ab9ef952f2d
refs/heads/master: 6224c7eeff586e9dbf51b872d7e0bae291fa00ed
9 changes: 9 additions & 0 deletions trunk/drivers/infiniband/hw/nes/nes_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ static unsigned char *nes_tcp_state_str[] = {
};
#endif

static inline void print_ip(struct nes_cm_node *cm_node)
{
unsigned char *rem_addr;
if (cm_node) {
rem_addr = (unsigned char *)&cm_node->rem_addr;
printk(KERN_ERR PFX "Remote IP addr: %pI4\n", rem_addr);
}
}

/**
* nes_nic_init_timer_defaults
Expand Down Expand Up @@ -3694,6 +3702,7 @@ static void nes_process_iwarp_aeqe(struct nes_device *nesdev,
case NES_AEQE_AEID_ROE_INVALID_RDMA_WRITE_OR_READ_RESP:
printk(KERN_ERR PFX "QP[%u] async_event_id=0x%04X IB_EVENT_QP_FATAL\n",
nesqp->hwqp.qp_id, async_event_id);
print_ip(nesqp->cm_node);
if (!atomic_read(&nesqp->close_timer_started))
nes_terminate_connection(nesdev, nesqp, aeqe, IB_EVENT_QP_FATAL);
break;
Expand Down

0 comments on commit 92d72ac

Please sign in to comment.