]> git.droids-corp.org - dpdk.git/blobdiff - examples/eventdev_pipeline/pipeline_common.h
pdump: replace constant for device name size
[dpdk.git] / examples / eventdev_pipeline / pipeline_common.h
index 8e30393d092df2f18e33f0cdcdf7a0f27074ef69..6a4287602e87cc71a8e006710deb87d2bbb97e95 100644 (file)
@@ -51,10 +51,10 @@ struct fastpath_data {
        bool rx_single;
        bool tx_single;
        bool sched_single;
-       unsigned int rx_core[MAX_NUM_CORE];
-       unsigned int tx_core[MAX_NUM_CORE];
-       unsigned int sched_core[MAX_NUM_CORE];
-       unsigned int worker_core[MAX_NUM_CORE];
+       uint64_t rx_core[MAX_NUM_CORE];
+       uint64_t tx_core[MAX_NUM_CORE];
+       uint64_t sched_core[MAX_NUM_CORE];
+       uint64_t worker_core[MAX_NUM_CORE];
        struct setup_data cap;
 } __rte_cache_aligned;
 
@@ -93,8 +93,8 @@ struct port_link {
        uint8_t priority;
 };
 
-struct fastpath_data *fdata;
-struct config_data cdata;
+extern struct fastpath_data *fdata;
+extern struct config_data cdata;
 
 static __rte_always_inline void
 exchange_mac(struct rte_mbuf *m)