There are a lot things should be done in software to support PCIe SR-IOV. Using qemu(for example) to use a VF, at least, we should: 1. host PCI subsystem finds VF and allocate resources for VF. 2. vfio driver exports VF's configure space, MEM/IO range to user space. 3. vfio driver allocate DMA for VF by IOMMU. 4. vfio driver builds the interrupt flow for VF. 5. qemu vfio driver simulates PCIe device for guest kernel. This document just tries to share an outline about point 1.
ssh笔记
发表于
更新于
本文用来收集ssh使用的一些技巧
How to test PCIe SR-IOV in D0x
发表于
更新于
This doc helps to introduce how to test PCIe SR-IOV in HiSilicon D05 board. We can use same way to test SR-IOV in Hi1620.
sed笔记
发表于
更新于
本文是Linux sed命令的一个学习笔记
docker笔记
发表于
更新于
docker的三个最基本的概念是镜像(Image),容器(Container)和仓库(Repository)。本文简单介绍有关他们的基础操作。
wireshark and tcpdump
发表于
更新于
本文记录使用wireshark做tcpdump的简单步骤
How to assign more than 31 VFs to one VM
发表于
更新于
本文介绍通过给虚拟机加入PCIe switch扩展总线的方法,通过这样的方法, 可以实现把多个VF挂接给一个虚拟机
PCIe INTx parse in ACPI
发表于
更新于
本文分析Linux系统里PCIe INTx中断的ACPI解析过程
UEFI/Linux系统加载过程
发表于
更新于
本文梳理一个UEFI加载linux启动的流程
Hixxxx PCIe + SMMU bad performance debug
发表于
更新于
记录一个SMMU相关的性能问题的调试过程