X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fsfc%2Fbase%2Fefx_check.h;h=c8548c04f9b053f504471dc42cb80b03f70631e4;hb=863f34f710d49e1a5e134214f86bea094fa8d34d;hp=5ab4df9266e758adac1b508adde218f4d042079e;hpb=354df7eadf66a27db3d74df6fc23b883234ffa80;p=dpdk.git diff --git a/drivers/net/sfc/base/efx_check.h b/drivers/net/sfc/base/efx_check.h index 5ab4df9266..c8548c04f9 100644 --- a/drivers/net/sfc/base/efx_check.h +++ b/drivers/net/sfc/base/efx_check.h @@ -319,6 +319,16 @@ # endif #endif /* EFSYS_OPT_BIST */ +#if EFSYS_OPT_LICENSING +/* Support MCDI licensing API */ +# if !EFSYS_OPT_MCDI +# error "LICENSING requires MCDI" +# endif +# if !EFSYS_HAS_UINT64 +# error "LICENSING requires UINT64" +# endif +#endif /* EFSYS_OPT_LICENSING */ + #if EFSYS_OPT_ALLOW_UNCONFIGURED_NIC /* Support adapters with missing static config (for factory use only) */ # if !EFSYS_OPT_MEDFORD