]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: replace netdev_alloc_skb_ip_align with napi_alloc_skb
authorhayeswang <hayeswang@realtek.com>
Wed, 8 Jun 2016 06:52:33 +0000 (14:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 06:38:19 +0000 (23:38 -0700)
commitab098e9544d418b68402e259e6adfb013a369d5a
tree47b8e3b6eb3110377bf4b8b7501a497bda23476e
parenta81be258abb4883dced8902afc8c45d1ffd4fffc
r8152: replace netdev_alloc_skb_ip_align with napi_alloc_skb

Replace netdev_alloc_skb_ip_align() with napi_alloc_skb() which can save
several CPU cycles by avoiding having to disable and re-enable IRQs.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c