]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ethernet/realtek: use napi_alloc_skb instead of netdev_alloc_skb_ip_align
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Wed, 10 Dec 2014 03:41:09 +0000 (19:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2014 18:31:57 +0000 (13:31 -0500)
commite2338f86b334558b9f38a20a06fc645d90d6da2d
treeb2430ec80462aa9ecc8c0ecd82fdea6aed5aeaaf
parente0e31216ef1d3e7ec95b7b630ef2f038871a70ed
ethernet/realtek: use napi_alloc_skb instead of netdev_alloc_skb_ip_align

This replaces most of the calls to netdev_alloc_skb_ip_align in the Realtek
drivers.  The one instance I didn't replace in 8139cp.c is because it was
called as a part of init and as such is not always accessed from the
softirq context.

Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139cp.c
drivers/net/ethernet/realtek/8139too.c
drivers/net/ethernet/realtek/r8169.c