cxgb4/cxgb4vf: Replace __skb_alloc_page with __dev_alloc_page
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Tue, 11 Nov 2014 17:26:42 +0000 (09:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 05:00:13 +0000 (00:00 -0500)
commitaa9cd31c3f3ee36dc459b6070bacc581c1bfc334
tree24b320872f5dff329c1f2bb77a4fe2f55341f031
parent71dfda58aaaf4bf6b1bc59f9d8afa635fa1337d4
cxgb4/cxgb4vf: Replace __skb_alloc_page with __dev_alloc_page

Drop the bloated use of __skb_alloc_page and replace it with
__dev_alloc_page.  In addition update the one other spot that is
allocating a page so that it allocates with the correct flags.

Cc: Hariprasad S <hariprasad@chelsio.com>
Cc: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4vf/sge.c