From: Andy King Date: Fri, 23 Aug 2013 16:33:49 +0000 (-0700) Subject: VMXNET3: Add support for virtual IOMMU X-Git-Tag: v3.12-rc1~132^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0eb57cb97e7837ebb746404c2c58c6f536f23fa;p=pandora-kernel.git VMXNET3: Add support for virtual IOMMU This patch adds support for virtual IOMMU to the vmxnet3 module. We switch to DMA consistent mappings for anything we pass to the device. There were a few places where we already did this, but using pci_blah(); these have been fixed to use dma_blah(), along with all new occurrences where we've replaced kmalloc() and friends. Also fix two small bugs: 1) use after free of rq->buf_info in vmxnet3_rq_destroy() 2) a cpu_to_le32() that should have been a cpu_to_le64() Acked-by: George Zhang Acked-by: Aditya Sarwade Signed-off-by: Andy King Signed-off-by: David S. Miller --- Reading git-diff-tree failed