]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pipeline/main.h
port: move metadata offset reference at mbuf head
[dpdk.git] / app / test-pipeline / main.h
index 0c90fc3a4595549068bb56977bdc3cc0c19f1bc6..8dcd4592ab792b0dbfc136617f57668996f04309 100644 (file)
@@ -137,4 +137,6 @@ void app_main_loop_tx(void);
 #define APP_FLUSH 0x3FF
 #endif
 
 #define APP_FLUSH 0x3FF
 #endif
 
+#define APP_METADATA_OFFSET(offset) (sizeof(struct rte_mbuf) + (offset))
+
 #endif /* _MAIN_H_ */
 #endif /* _MAIN_H_ */