]> git.karo-electronics.de Git - linux-beck.git/commit
fm10k/igb/ixgbe: Replace __skb_alloc_page with dev_alloc_page
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Tue, 11 Nov 2014 17:26:57 +0000 (09:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 05:00:14 +0000 (00:00 -0500)
commit42b17f09550170fd238d76368e8fa8dfcc893082
treef9eb4c4fc6254d84b9d168288a3ccb21fa3e905f
parent5693d284dd718313ca2f63a189193d4189889183
fm10k/igb/ixgbe: Replace __skb_alloc_page with dev_alloc_page

The Intel drivers were pretty much just using the plain vanilla GFP flags
in their calls to __skb_alloc_page so this change makes it so that they use
dev_alloc_page which just uses GFP_ATOMIC for the gfp_flags value.

Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Matthew Vick <matthew.vick@intel.com>
Cc: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/fm10k/fm10k_main.c
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c