]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d0d6e03eebfbba262ef14011f8ebadc510a5c70
treefb6eb9f32cf98ace59ea3cc3a5fd8dcc3f8a2a6b
parentfa319535be36694498155509574cc4bb470033a5
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