Skip to content

Commit

Permalink
VMXNET3: Add support for virtual IOMMU
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Aditya Sarwade <[email protected]>
Signed-off-by: Andy King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Andy King authored and davem330 committed Aug 27, 2013
1 parent 68d7bdc commit b0eb57c
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 83 deletions.
Loading

0 comments on commit b0eb57c

Please sign in to comment.