Re: [net-next PATCH 3/6] ethernet/intel: Use napi_alloc_skb
From: Jeff Kirsher <hidden>
Date: 2014-12-11 21:43:15
Attachments
- signature.asc [application/pgp-signature] 819 bytes
From: Jeff Kirsher <hidden>
Date: 2014-12-11 21:43:15
On Tue, 2014-12-09 at 19:40 -0800, Alexander Duyck wrote:
This change replaces calls to netdev_alloc_skb_ip_align with napi_alloc_skb. The advantage of napi_alloc_skb is currently the fact that the page allocation doesn't make use of any irq disable calls. There are few spots where I couldn't replace the calls as the buffer allocation routine is called as a part of init which is outside of the softirq context. Cc: Jeff Kirsher <redacted> Signed-off-by: Alexander Duyck <redacted>
Acked-by: Jeff Kirsher <redacted>
--- drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +- drivers/net/ethernet/intel/e1000e/netdev.c | 2 +- drivers/net/ethernet/intel/fm10k/fm10k_main.c | 4 ++-- drivers/net/ethernet/intel/igb/igb_main.c | 3 +-- drivers/net/ethernet/intel/ixgb/ixgb_main.c | 6 +++--- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 ++-- 6 files changed, 10 insertions(+), 11 deletions(-)