From: Sebastian Andrzej Siewior Date: Fri, 11 May 2012 03:21:58 +0000 (+0000) Subject: e1000: remove workaround for Errata 23 from jumbo alloc X-Git-Tag: v3.5-rc1~109^2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4af4a23328cb766172c0ecb833c7fae905d18862;p=pandora-kernel.git e1000: remove workaround for Errata 23 from jumbo alloc According to the comment, errata 23 says that the memory we allocate can't cross a 64KiB boundary. In case of jumbo frames we allocate complete pages which can never cross the 64KiB boundary because PAGE_SIZE should be a multiple of 64KiB so we stop either before the boundary or start after it but never cross it. Furthermore the check seems bogus because it looks at skb->data which is not seen by the HW at all because we only pass the DMA address of the page we allocated. So I *think* the workaround is not required here. Signed-off-by: Sebastian Andrzej Siewior Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed