summaryrefslogtreecommitdiff
path: root/drivers/virtio
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2023-08-10 15:30:57 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-09-04 01:10:24 +0300
commit295525e29a5b5694a6e96864f0c1365f79639863 (patch)
tree466879d6d17f9366dfbbbb9c5aaf9b1d42de2f23 /drivers/virtio
parent8bd2f71054bd0bc997833e9825143672eb7e2801 (diff)
downloadlinux-295525e29a5b5694a6e96864f0c1365f79639863.tar.xz
virtio_net: merge dma operations when filling mergeable buffers
Currently, the virtio core will perform a dma operation for each buffer. Although, the same page may be operated multiple times. This patch, the driver does the dma operation and manages the dma address based the feature premapped of virtio core. This way, we can perform only one dma operation for the pages of the alloc frag. This is beneficial for the iommu device. kernel command line: intel_iommu=on iommu.passthrough=0 | strict=0 | strict=1 Before | 775496pps | 428614pps After | 1109316pps | 742853pps Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Message-Id: <20230810123057.43407-13-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions