Google
  Web www.spinics.net

Re: [RFC] New Qlogic 10Gb Ethernet driver for 2.6.28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Ron Mercer <ron.mercer@xxxxxxxxxx>
Date: Fri, 22 Aug 2008 10:46:26 -0700

> On Fri, Aug 22, 2008 at 02:42:52AM -0700, David Miller wrote:
> > I also notice that this driver does not do:
> > 
> > 	skb_reserve(skb, NET_IP_ALIGN);
> > 
> > on RX packets to get the IP headers properly 4-byte aligned aligned
> > after the ethernet header.
> 
> The chip currenly has problems with 2-byte aligned receive buffers.
> It will be fixed in the next turn.

If the chip cannot handle this, you will need to copy into a properly
aligned buffer.

Otherwise some RISC platforms will take unaligned access traps, which
run extremely slowly, when 32-bit and larger members of the protocol
headers are read by the networking stack.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Kernel List]     [Site Home]     [Ethernet Bridging]     [Git]     [IETF Annouce]     [Linux Assembly]     [VLAN]     [Networking]     [Security]     [Bugtraq]     [Rubini]     [Photo]     [Singles Social Netowrking]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Linux Wireless]     [DDR & Rambus]     [Free Dating]     [Linux Resources]     [Wireless Reading Device]

Add to Google Powered by Linux