net/octeontx: support fast mbuf free
[dpdk.git] / drivers / common / octeontx2 / otx2_common.h
index 81d5a71..e62cdea 100644 (file)
         (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h))))
 #endif
 
-/* Compiler attributes */
-#ifndef __hot
-#define __hot   __attribute__((hot))
-#endif
-
 /* Intra device related functions */
 struct otx2_npa_lf;
 struct otx2_idev_cfg {
@@ -155,4 +150,8 @@ extern int otx2_logtype_ep;
 #include "otx2_io_generic.h"
 #endif
 
+/* Fastpath lookup */
+#define OTX2_NIX_FASTPATH_LOOKUP_MEM   "otx2_nix_fastpath_lookup_mem"
+#define OTX2_NIX_SA_TBL_START          (4096*4 + 69632*2)
+
 #endif /* _OTX2_COMMON_H_ */