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)
commit0a0e2344a62ce9e7fac6129d6292e59aecfceced
tree4bcc4cebe5e320cc7bd6d5968d1772e4bac0959e
parent135d23d66c53ade614c288d422f4c4b3205eb201
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