Hi all, This series intends to implement driver module for Intel IFC VF NIC, which can do Vhost Data Plane Acceleration(VDPA) by offloading dataplane traffic to hardware. This series depends on and complies to: virtio_mdev V13 https://lkml.org/lkml/2019/11/18/261 vhost_mdev V7 https://lkml.org/lkml/2019/11/18/1068 There comes mainly two parts of the code: (1) ifcvf_main layer handles probe / remove / mdev operations, implemented struct mdev_virtio_ops to support virtio_mdev and vhost_mdev, and other supportive functions. (2) ifcvf_base layer talks directly to the hardware, which support the ifcvf_main layer. Zhu Lingshan (2): IFC VF initialization functions This commit adds functions to support virtio_mdev and vhost_mdev drivers/vhost/Kconfig | 12 + drivers/vhost/Makefile | 3 +- drivers/vhost/ifcvf/Makefile | 2 + drivers/vhost/ifcvf/ifcvf_base.c | 328 +++++++++++++++++++++++ drivers/vhost/ifcvf/ifcvf_base.h | 126 +++++++++ drivers/vhost/ifcvf/ifcvf_main.c | 557 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 1027 insertions(+), 1 deletion(-) create mode 100644 drivers/vhost/ifcvf/Makefile create mode 100644 drivers/vhost/ifcvf/ifcvf_base.c create mode 100644 drivers/vhost/ifcvf/ifcvf_base.h create mode 100644 drivers/vhost/ifcvf/ifcvf_main.c -- 1.8.3.1