]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netxen: limit skb frags for non tso packet
authoramit salecha <amit.salecha@qlogic.com>
Mon, 11 Apr 2011 02:10:22 +0000 (02:10 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 May 2011 16:19:32 +0000 (09:19 -0700)
commitf18f3747d73891ef607162a8eec4ffe211e21628
treedbb11ed653f2707fb5121ac685af51e086e1c34f
parentfaa8ee7cc9eaa6958f0c2dc532faec69c961b9d7
netxen: limit skb frags for non tso packet

commit c968bdf6912cad6d0fc63d7037cc1c870604a808 upstream.

Machines are getting deadlock in four node cluster environment.
All nodes are accessing (find /gfs2 -depth -print|cpio -ocv > /dev/null)
200 GB storage on a GFS2 filesystem.
This result in memory fragmentation and driver receives 18 frags for
1448 byte packets.
For non tso packet, fw drops the tx request, if it has >14 frags.

Fixing it by pulling extra frags.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_main.c