vdpa/ifc: fix log info mismatchFix log info mismatch.Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")Cc: [email protected]Signed-off-by: Andy Pei <[email protected]>Reviewed-by: Chenbo
vdpa/ifc: fix log info mismatchFix log info mismatch.Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")Cc: [email protected]Signed-off-by: Andy Pei <[email protected]>Reviewed-by: Chenbo Xia <[email protected]>
show more ...
vdpa/ifc: check PCI config readThe return value of rte_pci_read_config should be checked.Coverity issue: 302860Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")Cc: [email protected]Signe
vdpa/ifc: check PCI config readThe return value of rte_pci_read_config should be checked.Coverity issue: 302860Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")Cc: [email protected]Signed-off-by: Xiao Wang <[email protected]>Reviewed-by: Chenbo Xia <[email protected]>
vdpa/ifc: fix build with recent kernelsVIRTIO_F_IOMMU_PLATFORM is now defined in recent kernelheaders, causing build issue.Let's define it in the IFC vDPA driver only if it wasn't already.Fixe
vdpa/ifc: fix build with recent kernelsVIRTIO_F_IOMMU_PLATFORM is now defined in recent kernelheaders, causing build issue.Let's define it in the IFC vDPA driver only if it wasn't already.Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")Cc: [email protected]Reported-by: Brandon Lo <[email protected]>Signed-off-by: Maxime Coquelin <[email protected]>Acked-by: David Marchand <[email protected]>
vdpa/ifc: support vring update after device configThe device ready state in vhost lib is now defined as the statethat first queue pair is ready. And kick/callfd may be updatedby QEMU when ifc dev
vdpa/ifc: support vring update after device configThe device ready state in vhost lib is now defined as the statethat first queue pair is ready. And kick/callfd may be updatedby QEMU when ifc device is configured.Although now ifc driver only supports one queue pair, it stillhas to update callfd when working with QEMU. This patch fixesthis vring update problem by implementing the set_vring_statecallback.Suggested-by: Maxime Coquelin <[email protected]>Signed-off-by: Chenbo Xia <[email protected]>Acked-by: Xiao Wang <[email protected]>Acked-by: Rosen Xu <[email protected]>Reviewed-by: Maxime Coquelin <[email protected]>
replace packed attributesThere is a common macro __rte_packed for packing structs,which is now used where appropriate for consistency.Signed-off-by: Thomas Monjalon <[email protected]>
drivers: move ifc to vDPA directoryA new vDPA class was recently introduced.IFC driver implements the vDPA operations,hence it should be moved to the vDPA class.Move it.Signed-off-by: Matan
drivers: move ifc to vDPA directoryA new vDPA class was recently introduced.IFC driver implements the vDPA operations,hence it should be moved to the vDPA class.Move it.Signed-off-by: Matan Azrad <[email protected]>Reviewed-by: Maxime Coquelin <[email protected]>