Skip to content

Intel IFC VF driver for VDPA

Zhu Lingshan kvm lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost: IFC VF initialization functionsdrivers/vhost/Kconfig drivers/vhost/Makefile drivers/vhost/ifcvf/Makefile +3 more+583 -00 replies
2/2vhost: Support for virtio_mdev and vhost_mdevdrivers/vhost/ifcvf/ifcvf_base.c drivers/vhost/ifcvf/ifcvf_main.c+435 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH V1 0/2] Intel IFC VF driver for VDPA

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
Signature · 1 line
1.8.3.1