lkml.org 
[lkml]   [2010]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC][PATCH v4 00/18] Provide a zero-copy method on KVM virtio-net.
    From
    From: xiaohui.xin@intel.com
    Date: Sun, 25 Apr 2010 17:20:06 +0800

    > The idea is simple, just to pin the guest VM user space and then let
    > host NIC driver has the chance to directly DMA to it.

    Isn't it much easier to map the RX ring of the network device into the
    guest's address space, have DMA map calls translate guest addresses to
    physical/DMA addresses as well as do all of this crazy page pinning
    stuff, and provide the translations and protections via the IOMMU?

    What's being proposed here looks a bit over-engineered.


    \
     
     \ /
      Last update: 2010-04-25 11:57    [W:2.680 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site