X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fsfc_efx%2Fbase%2Fefx_check.h;h=66b38eeae052f106eed5f1956742145091445407;hb=c4f4a0e60dcb2a3877a4a751d7641fa1d9c46c29;hp=8f42d87a04efc5914bb2fd33149aeb889db4befb;hpb=95d9ae9e37b78757bf0400d49ca2aef5d9dfe431;p=dpdk.git diff --git a/drivers/common/sfc_efx/base/efx_check.h b/drivers/common/sfc_efx/base/efx_check.h index 8f42d87a04..66b38eeae0 100644 --- a/drivers/common/sfc_efx/base/efx_check.h +++ b/drivers/common/sfc_efx/base/efx_check.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * - * Copyright(c) 2019-2020 Xilinx, Inc. + * Copyright(c) 2019-2021 Xilinx, Inc. * Copyright(c) 2012-2019 Solarflare Communications Inc. */ @@ -401,4 +401,19 @@ # endif #endif /* EFSYS_OPT_DESC_PROXY */ +#if EFSYS_OPT_MAE +# if !EFSYS_OPT_RIVERHEAD +# error "MAE requires RIVERHEAD" +# endif +#endif /* EFSYS_OPT_MAE */ + +#if EFSYS_OPT_VIRTIO +# 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 */