Skip to content
Commit e0e31216 authored by Alexander Duyck's avatar Alexander Duyck Committed by David S. Miller
Browse files

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: default avatarAlexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 67fd893e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment