From: Vijay Kumar Srivastava Date: Tue, 16 Mar 2021 08:58:27 +0000 (+0300) Subject: common/sfc_efx/base: add virtio build dependency X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ce05513b08d7dcbe0851ad554ce168e5d6beed49;p=dpdk.git common/sfc_efx/base: add virtio build dependency Add EFSYS_HAS_UINT64 build dependency on EFSYS_OPT_VIRTIO. virtio features are represented as bitmask in 64-bit unsigned integer. Signed-off-by: Vijay Kumar Srivastava Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/common/sfc_efx/base/efx_check.h b/drivers/common/sfc_efx/base/efx_check.h index 86a6d92fef..66b38eeae0 100644 --- a/drivers/common/sfc_efx/base/efx_check.h +++ b/drivers/common/sfc_efx/base/efx_check.h @@ -411,6 +411,9 @@ # if !EFSYS_OPT_RIVERHEAD # error "VIRTIO requires RIVERHEAD" # endif +# if !EFSYS_HAS_UINT64 +# error "VIRTIO requires UINT64" +# endif #endif /* EFSYS_OPT_VIRTIO */ #endif /* _SYS_EFX_CHECK_H */