From: Divy Le Ray Date: Thu, 26 Mar 2009 16:39:29 +0000 (+0000) Subject: cxgb3: map entire Rx page, feed map+offset to Rx ring. X-Git-Tag: v2.6.30-rc1~642^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e68b772e6efd189d6aca76f6872fb75d51ace60;p=pandora-kernel.git cxgb3: map entire Rx page, feed map+offset to Rx ring. DMA mapping can be expensive in the presence of iommus. Reduce the Rx iommu activity by mapping an entire page, and provide the H/W the mapped address + offset of the current page chunk. Reserve bits at the end of the page to track mapping references, so the page can be unmapped. Signed-off-by: Divy Le Ray Signed-off-by: David S. Miller --- Reading git-diff-tree failed