numam-dpdk/mk
Xiao Wang a3f8150eac net/ifcvf: add ifcvf vDPA driver
The IFCVF vDPA (vhost data path acceleration) driver provides support for
the Intel FPGA 100G VF (IFCVF). IFCVF's datapath is virtio ring compatible,
it works as a HW vhost backend which can send/receive packets to/from
virtio directly by DMA.

Different VF devices serve different virtio frontends which are in
different VMs, so each VF needs to have its own DMA address translation
service. During the driver probe a new container is created, with this
container vDPA driver can program DMA remapping table with the VM's memory
region information.

Key vDPA driver ops implemented:

- ifcvf_dev_config:
  Enable VF data path with virtio information provided by vhost lib,
  including IOMMU programming to enable VF DMA to VM's memory, VFIO
  interrupt setup to route HW interrupt to virtio driver, create notify
  relay thread to translate virtio driver's kick to a MMIO write onto HW,
  HW queues configuration.

- ifcvf_dev_close:
  Revoke all the setup in ifcvf_dev_config.

Live migration feature is supported by IFCVF and this driver enables
it. For the dirty page logging, VF helps to log for packet buffer write,
driver helps to make the used ring as dirty when device stops.

Because vDPA driver needs to set up MSI-X vector to interrupt the
guest, only vfio-pci is supported currently.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Signed-off-by: Rosen Xu <rosen.xu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-04-27 15:54:55 +01:00
..
arch use SPDX tag for RehiveTech copyright files 2018-04-11 01:47:43 +02:00
exec-env mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
internal mk: fix external build 2018-02-05 23:39:04 +01:00
machine use SPDX tag for RehiveTech copyright files 2018-04-11 01:47:43 +02:00
target/generic mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
toolchain mk: add experimental tag check 2018-01-29 23:35:29 +01:00
rte.app.mk net/ifcvf: add ifcvf vDPA driver 2018-04-27 15:54:55 +01:00
rte.bsdmodule.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.combinedlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.cpuflags.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extobj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
rte.gnuconfigure.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.hostapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.hostlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.install.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.lib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.module.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.obj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkbuild.mk mk: fix kernel modules build dependency 2018-03-30 13:01:17 +02:00
rte.sdkconfig.mk mk: fix make defconfig on FreeBSD 2018-04-23 22:55:36 +02:00
rte.sdkdepdirs.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkdoc.mk doc: improve HTML spacing in release notes 2018-02-14 00:23:25 +01:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkinstall.mk mk: fix excluding files when installing docs 2017-06-27 01:16:22 +02:00
rte.sdkroot.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdktest.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.shared.mk mk: sort libraries in dependency lists 2017-10-12 22:31:33 +02:00
rte.subdir.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.vars.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00