cxgb3: remove __GFP_NOFAIL usage
authorDivy Le Ray <divy@chelsio.com>
Tue, 9 Jun 2009 23:25:21 +0000 (23:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2009 09:47:13 +0000 (02:47 -0700)
commit74b793e1ef79edc49bc031a88d62f1e93fc6b30f
treedc32a12c1883f882f524e6a79561787aa36cc9ec
parent87433bfc75f34599c38137e172b6bf8fd41971ba
cxgb3: remove __GFP_NOFAIL usage

Pre-allocate a skb at init time to be used for control messages to the HW
if skb allocation fails.

Tolerate failures to send messages initializing some memories at the cost of
parity error detection for these memories.
Retry sending connection id release messages if both alloc_skb(GFP_ATOMIC)
and alloc_skb(GFP_KERNEL) fail.
Do not bring the interface up if messages binding queue set to port fail to
be sent.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/adapter.h
drivers/net/cxgb3/cxgb3_main.c
drivers/net/cxgb3/cxgb3_offload.c
drivers/net/cxgb3/cxgb3_offload.h