cxgb: Use napi_alloc_skb instead of netdev_alloc_skb_ip_align
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Wed, 10 Dec 2014 03:41:03 +0000 (19:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2014 18:31:57 +0000 (13:31 -0500)
commite0e31216ef1d3e7ec95b7b630ef2f038871a70ed
tree6c3b2dc7a2379b659bcf81a7d24ca81ca76a09a6
parent67fd893ee07db94bcef6c7537f8569b49ff124d4
cxgb: Use napi_alloc_skb instead of netdev_alloc_skb_ip_align

In order to use napi_alloc_skb I needed to pass a pointer to struct adapter
instead of struct pci_dev.  This allowed me to access &adapter->napi.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb/sge.c