[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1281114152.17033.43.camel@Joe-Laptop.home>
Date: Fri, 06 Aug 2010 10:02:32 -0700
From: Joe Perches <joe@...ches.com>
To: Sachin Sanap <ssanap@...vell.com>
Cc: Philip Rakity <prakity@...vell.com>,
Lennert Buytenhek <buytenh@...tstofly.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Ashish Karkare <akarkare@...vell.com>,
Prabhanjan Sarnaik <sarnaik@...vell.com>,
"eric.y.miao@...il.com" <eric.y.miao@...il.com>,
Mark Brown <markb@...vell.com>
Subject: RE: [PATCH] net: add Fast Ethernet driver for PXA168.
On Fri, 2010-08-06 at 09:55 -0700, Sachin Sanap wrote:
> > >>> + skb = dev_alloc_skb(MAX_PKT_SIZE + ETH_HW_IP_ALIGN);
> > >>> skb = dev_alloc_skb(MAX_PKT_SIZE + ETH_HW_IP_ALIGN + EXTRA_PREPEND_SPACE);
You could also use:
skb = netdev_alloc_skb_ip_align(dev, MAX_PKT_SIZE + EXTRA_PREPEND_SPACE)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists