commit | 5e68b772e6efd189d6aca76f6872fb75d51ace60 | [log] [tgz] |
---|---|---|
author | Divy Le Ray <divy@chelsio.com> | Thu Mar 26 16:39:29 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 27 00:46:59 2009 -0700 |
tree | 88a988918d021d397756790d89c8801adb131195 | |
parent | 952cdf333f9d1b0b71f1b9a3c5e421a2673ed7de [diff] |
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 <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>