| From: |
| Zhu Lingshan <lingshan.zhu-AT-intel.com> |
| To: |
| mst-AT-redhat.com, jasowang-AT-redhat.com, alex.williamson-AT-redhat.com |
| Subject: |
| [PATCH 0/2] Intel IFC VF driver for VDPA |
| Date: |
| Tue, 5 Nov 2019 17:37:38 +0800 |
| Message-ID: |
| <1572946660-26265-1-git-send-email-lingshan.zhu@intel.com> |
| Cc: |
| linux-kernel-AT-vger.kernel.org, virtualization-AT-lists.linux-foundation.org, kvm-AT-vger.kernel.org, netdev-AT-vger.kernel.org, dan.daly-AT-intel.com, cunming.liang-AT-intel.com, tiwei.bie-AT-intel.com, jason.zeng-AT-intel.com, Zhu Lingshan <lingshan.zhu-AT-intel.com> |
| Archive-link: |
| Article |
Hi all:
This series intends to introduce Intel IFC VF NIC driver for Vhost
Data Plane Acceleration(VDPA).
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:
virtio_mdev https://lkml.org/lkml/2019/10/30/62
vhost_mdev https://lkml.org/lkml/2019/10/31/440
This patchset passed netperf tests.
This is RFC V2, plese help review.
Changes from V1:
using le32_to_cpu() to convert PCI capabilities.
some set /get operations will sync with the hardware, eg get_status
and get_generation.
remove feature bit VHOST_F_LOG_ALL, add VIRTIO_F_ORDERED_PLATFORM
add get/set_config functions.
split mdev type group into mdev_type_group_virtio and mdev_type_group_vhost
add ifcvf_mdev_get_mdev_features()
coding stype changes.
Zhu Lingshan (2):
IFC hardware operation layer
IFC VDPA layer
drivers/vhost/ifcvf/ifcvf_base.c | 344 ++++++++++++++++++++++
drivers/vhost/ifcvf/ifcvf_base.h | 132 +++++++++
drivers/vhost/ifcvf/ifcvf_main.c | 605 +++++++++++++++++++++++++++++++++++++++
3 files changed, 1081 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
--
1.8.3.1