amd-xgbe: Use napi_alloc_skb when allocating skb in softirq
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 20 Mar 2015 16:50:41 +0000 (11:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2015 20:33:57 +0000 (16:33 -0400)
commit385565a1f0d365793e1f90746237d508bfeef9af
treefb6eb9f32cf98ace59ea3cc3a5fd8dcc3f8a2a6b
parent4a57ebcc2c1e8a924c3897df2c11c5d4620ec89e
amd-xgbe: Use napi_alloc_skb when allocating skb in softirq

Use the napi_alloc_skb function to allocate an skb when running within
the softirq context to avoid calls to local_irq_save/restore.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c