]> git.karo-electronics.de Git - mv-sheeva.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 20:15:57 +0000 (13:15 -0700)
commitc968bdf6912cad6d0fc63d7037cc1c870604a808
treea2a10926aa0ddac61b30c168d29c487845aacd36
parent77c8e2c01542649f7a02fef8eb3b3d0e7fed6bbd
netxen: limit skb frags for non tso packet

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.

Cc: stable@kernel.org
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_main.c