Re: [PATCH]intel-iommu batched iotlb flushes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Tuesday, February 12, 2008 - 4:46 pm

From: mark gross <mgross@linux.intel.com>
Date: Tue, 12 Feb 2008 07:54:48 -0800


Yes, this is a good idea especially for networking.

For transmit on 10GB links the IOMMU setup is near the top
of the profiles.

What a driver could do is determine the maximum number of
IOMMU pages it could need to map one maximally sized packet.
So then it allocates enough space for all such entries in
it's TX ring.

This eliminates the range allocation from the transmit path.
All that's left is "remap DMA range X to scatterlist Y"

And yes it would be nice to have dma_map_skb() type interfaces
so that we don't walk into the IOMMU code N times per packet.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]intel-iommu batched iotlb flushes, mark gross, (Mon Feb 11, 3:41 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Mon Feb 11, 4:27 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Muli Ben-Yehuda, (Tue Feb 12, 1:52 am)
Re: [PATCH]intel-iommu batched iotlb flushes, David Miller, (Tue Feb 12, 2:00 am)
Re: [PATCH]intel-iommu batched iotlb flushes, Muli Ben-Yehuda, (Tue Feb 12, 2:07 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 8:37 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 8:54 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 9:05 am)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Tue Feb 12, 9:34 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 12:55 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Tue Feb 12, 1:21 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, David Miller, (Tue Feb 12, 4:46 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Wed Feb 13, 11:10 am)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Wed Feb 13, 11:23 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Wed Feb 13, 11:31 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Wed Feb 13, 12:35 pm)