]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/base/efx_check.h
net/mlx4: remove useless code
[dpdk.git] / drivers / net / sfc / base / efx_check.h
index 5ab4df9266e758adac1b508adde218f4d042079e..c8548c04f9b053f504471dc42cb80b03f70631e4 100644 (file)
 # 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