[dpdk-dev,v4,2/7] mbuf: add field for ieee1588 timesync index
Commit Message
Add mbuf field to store the IEEE1588 RX register index and other flags.
Signed-off-by: John McNamara <john.mcnamara@intel.com>
---
lib/librte_mbuf/rte_mbuf.h | 3 +++
1 file changed, 3 insertions(+)
@@ -339,6 +339,9 @@ struct rte_mbuf {
/** Size of the application private data. In case of an indirect
* mbuf, it stores the direct mbuf private data size. */
uint16_t priv_size;
+
+ /** Timesync flags for use with IEEE1588. */
+ uint16_t timesync;
} __rte_cache_aligned;
static inline uint16_t rte_pktmbuf_priv_size(struct rte_mempool *mp);