Re: [RFC 0/2] Intel IFC VF driver for vdpa

From: Zhu, Lingshan
Date: Mon Oct 21 2019 - 03:10:13 EST



On 10/16/2019 4:26 PM, Jason Wang wrote:

On 2019/10/16 äå9:36, Zhu Lingshan wrote:
failed to send to kvm list, resend, sorry for the inconvenience.

THanks,
BR
Zhu Lingshan

On 10/16/2019 9:30 AM, Zhu Lingshan wrote:
Hi all:
 This series intends to introduce Intel IFC VF NIC driver for Vhost
Data Plane Acceleration.
 Here comes two main parts, one is ifcvf_base layer, which handles
hardware operations. The other is ifcvf_main layer handles VF
initialization, configuration and removal, which depends on
and complys to vhost_mdev https://lkml.org/lkml/2019/9/26/15
 This is a first RFC try, please help review.


It would be helpful if yon can describe which kinds of test that has been done for this series.

Thanks

Hi Jason,

It passed ping and netperf testsïtwo VMs, each has one ifc vf backed mdev nicï, I will mention this in next cover letter Thanks!

BR
Zhu Lingshan
 Thanks!
BR
Zhu Lingshan


Zhu Lingshan (2):
ÂÂ vhost: IFC VF hardware operation layer
ÂÂ vhost: IFC VF vdpa layer

 drivers/vhost/ifcvf/ifcvf_base.c | 390 ++++++++++++++++++++++++++++
 drivers/vhost/ifcvf/ifcvf_base.h | 137 ++++++++++
 drivers/vhost/ifcvf/ifcvf_main.c | 541 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 1068 insertions(+)
 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