]> git.baikalelectronics.ru Git - kernel.git/commit
vDPA/ifcvf: verify mandatory feature bits for vDPA
authorZhu Lingshan <lingshan.zhu@intel.com>
Wed, 17 Mar 2021 09:49:32 +0000 (17:49 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 May 2021 08:55:52 +0000 (04:55 -0400)
commit547c66cb90c24e719358c26380363fc75048e15f
tree3e580359a4e47ca90a94a010967d30ad03bb3fbc
parent6ffe48746343201f0c8e7cb143f9d28878662ac5
vDPA/ifcvf: verify mandatory feature bits for vDPA

vDPA requres VIRTIO_F_ACCESS_PLATFORM as a must, this commit
examines this when set features.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210317094933.16417-7-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_base.c
drivers/vdpa/ifcvf/ifcvf_base.h
drivers/vdpa/ifcvf/ifcvf_main.c