]> git.baikalelectronics.ru Git - kernel.git/commit
bna: use netdev_alloc_skb_ip_align()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 8 Jul 2011 05:29:30 +0000 (05:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jul 2011 16:09:07 +0000 (09:09 -0700)
commitcf35ec8c638222f900992b97dc1b1f13b72c0f1c
tree4bcc4cebe5e320cc7bd6d5968d1772e4bac0959e
parent57a3fa58109b6c2c58c762e1249a754394d381f2
bna: use netdev_alloc_skb_ip_align()

Some workloads need some headroom (NET_SKB_PAD) to avoid expensive
reallocations.

Using netdev_alloc_skb_ip_align() instead of bare skb_alloc() brings the
NET_IP_ALIGN and the NET_SKB_PAD headroom.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Rasesh Mody <rmody@brocade.com>
CC: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bna/bnad.c