commit | 0a0e2344a62ce9e7fac6129d6292e59aecfceced | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Fri Jul 08 05:29:30 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 08 09:09:07 2011 -0700 |
tree | 4bcc4cebe5e320cc7bd6d5968d1772e4bac0959e | |
parent | 135d23d66c53ade614c288d422f4c4b3205eb201 [diff] |
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>