On 3/16/2021 8:58 AM, Andrew Rybchenko wrote:
From: Vijay Srivastava <[email protected]>
In the vDPA mode, only data path is offloaded in the hardware and
control path still goes through the hypervisor and it configures
virtqueues via vDPA driver so new virtqueue APIs are required.
Implement virtio init/fini and virtqueue create/destroy APIs.
Signed-off-by: Vijay Srivastava <[email protected]>
Signed-off-by: Andrew Rybchenko <[email protected]>
<...>
diff --git a/drivers/common/sfc_efx/efsys.h b/drivers/common/sfc_efx/efsys.h
index 663601412e..d133d61b3d 100644
--- a/drivers/common/sfc_efx/efsys.h
+++ b/drivers/common/sfc_efx/efsys.h
@@ -187,6 +187,8 @@ prefetch_read_once(const volatile void *addr)
#define EFSYS_OPT_MAE 1
+#define EFSYS_OPT_VIRTIO 0
+
Hi Andrew,
How this 'efsys.h' works, is it compile time configuration file for the driver?
Is is expected that users change this file?