Commit 5e68b772 authored by Committed by David S. Miller
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 <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 106 additions and 35 deletions