virtio: Intel IFC VF driver for VDPA
authorZhu Lingshan <lingshan.zhu@intel.com>
Thu, 26 Mar 2020 14:01:25 +0000 (22:01 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Apr 2020 14:41:40 +0000 (10:41 -0400)
commit5a2414bc454e89e0515b47500734a65aa40cf9fe
treeb183ad7d0bca0b8fa0fb62c099edadeecf561e06
parent2c53d0f64c06f4580588ef16f50f63a112117a02
virtio: Intel IFC VF driver for VDPA

This commit introduced two layers to drive IFC VF:

(1) ifcvf_base layer, which handles IFC VF NIC hardware operations and
    configurations.

(2) ifcvf_main layer, which complies to VDPA bus framework,
    implemented device operations for VDPA bus, handles device probe,
    bus attaching, vring operations, etc.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Signed-off-by: Bie Tiwei <tiwei.bie@intel.com>
Signed-off-by: Wang Xiao <xiao.w.wang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200326140125.19794-10-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/vdpa/Kconfig
drivers/virtio/vdpa/Makefile
drivers/virtio/vdpa/ifcvf/Makefile [new file with mode: 0644]
drivers/virtio/vdpa/ifcvf/ifcvf_base.c [new file with mode: 0644]
drivers/virtio/vdpa/ifcvf/ifcvf_base.h [new file with mode: 0644]
drivers/virtio/vdpa/ifcvf/ifcvf_main.c [new file with mode: 0644]