mbox series

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

Message ID 20191016013050.3918-1-lingshan.zhu@intel.com
Headers show
Series Intel IFC VF driver for vdpa | expand

Message

Zhu, Lingshan Oct. 16, 2019, 1:30 a.m. UTC
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.
 
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

Comments

Zhu Lingshan Oct. 16, 2019, 1:36 a.m. UTC | #1
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.
>   
> 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
>
Jason Wang Oct. 16, 2019, 8:26 a.m. UTC | #2
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


>>   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
>>
Zhu, Lingshan Oct. 21, 2019, 7:10 a.m. UTC | #3
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
>>>