chelsio: use netdev_alloc_skb_ip_align
commite76d120b68d2e0f159ba999b1210920a5a0ed53d
authorstephen hemminger <stephen@networkplumber.org>
Wed, 20 Mar 2013 09:02:41 +0000 (20 09:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 19:24:40 +0000 (20 15:24 -0400)
treea40ae13219c92ec353466268d1d17e6f49a534fc
parenta6f68034de8a5784dfeabb337506254c80b4c8c6
chelsio: use netdev_alloc_skb_ip_align

Use netdev_alloc_sk_ip_align in the case where packet is copied.
This handles case where NET_IP_ALIGN == 0 as well as adding required header
padding.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb/sge.c