linux/drivers/infiniband/hw/nes
Faisal Latif 109d67e4f1 RDMA/nes: Fix hang issues for large cluster dynamic connections
Running large cluster setup, we are hanging after many hours of
testing.  Fixing this required going over the code and making sure the
rexmit entry was properly removed based on the cm_node's state and
packet received.  Also when receiving a FIN packet, check seq# and
make sure there were no errors before calling handle_fin().

Following are the changes done in nes_cm.c:

* handle_ack_pkt() needs to return error value, so in case of error,
  handle_fin() is not called. Some cleanup done while going over the code.

* handle_rst_pkt(), handling of cm_node's NES_CM_STATE_LAST_ACK is missing.

* process_packet(), in case of FIN only packet is received, call
  check_seq() before processing.

* in handle_fin_pkt(), we are calling cleanup_retrans_entry() for all
  conditions, even if the packets need to be dropped.

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-04-27 13:41:06 -07:00
..
Kconfig RDMA/nes: Use LRO 2008-04-29 13:46:54 -07:00
Makefile RDMA/nes: Add a driver for NetEffect RNICs 2008-02-04 20:20:45 -08:00
nes_cm.c RDMA/nes: Fix hang issues for large cluster dynamic connections 2009-04-27 13:41:06 -07:00
nes_cm.h RDMA/nes: Increase rexmit timeout interval 2009-04-27 13:39:36 -07:00
nes_context.h RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes_hw.c RDMA/nes: Set trace length to 1 inch for SFP_D 2009-04-27 13:30:35 -07:00
nes_hw.h RDMA/nes: Add support for new SFP+ PHY 2009-04-08 14:27:56 -07:00
nes_nic.c RDMA/nes: Add support for new SFP+ PHY 2009-04-08 14:27:56 -07:00
nes_user.h RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes_utils.c RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes_verbs.c RDMA/nes: Fix fw_ver in /sys 2009-04-27 13:33:48 -07:00
nes_verbs.h RDMA/nes: Fix resource issues in nes_create_cq() and nes_destroy_cq() 2009-04-21 16:16:48 -07:00
nes.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
nes.h RDMA/nes: Fix incorrect casts on 32-bit architectures 2009-04-08 14:21:02 -07:00