linux/drivers/infiniband/hw/nes
Faisal Latif 9d5ab13325 RDMA/nes: Handle MPA Reject message properly
While doing testing, there are failures as MPA Reject call is not
handled.  To handle MPA Reject call, following changes are done:

*Handle inbound/outbound MPA Reject response message.
	When nes_reject() is called for pending MPA request reply,
	send the MPA Reject message to its peer (active
	side)cm_node. The peer cm_node (active side) will indicate
	Reject message event for the pending Connect Request.

*Handle MPA Reject response message for loopback connections and listener.
	When MPA Request is rejected, check if it is a loopback
	connection and if it is then it will send Reject message event
	to its peer loopback node. Also when destroying listener,
	check if the cm_nodes for that listener are loopback or not.

*Add gracefull connection close with the MPA Reject response message.
	Send gracefull close (FIN, FIN ACK..) to terminate the cm_nodes.

*Some code re-org while making the above changes.
	Removed recv_list and recv_list_lock from the cm_node
	structure as there can be only one receive close entry on the
	timer. Also implemented handle_recv_entry() as receive close
	entry is processed from both nes_rem_ref_cm_node() as well as
	nes_cm_timer_tick().

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-03-06 15:15:01 -08:00
..
Kconfig RDMA/nes: Use LRO 2008-04-29 13:46:54 -07:00
Makefile
nes_cm.c RDMA/nes: Handle MPA Reject message properly 2009-03-06 15:15:01 -08:00
nes_cm.h RDMA/nes: Handle MPA Reject message properly 2009-03-06 15:15:01 -08: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: Remove LLTX 2009-03-06 15:12:11 -08:00
nes_hw.h RDMA/nes: Remove LLTX 2009-03-06 15:12:11 -08:00
nes_nic.c RDMA/nes: Remove LLTX 2009-03-06 15:12:11 -08: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: Improve use of PBLs 2009-03-06 15:15:00 -08:00
nes_verbs.h RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes.c RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes.h RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00