From: John McNamara Date: Thu, 9 Jul 2015 13:30:15 +0000 (+0100) Subject: mbuf: add ieee1588 timestamping X-Git-Tag: spdx-start~8805 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0d57ac4a34cd46fe255bf7f19c0c8c05685cd974;p=dpdk.git mbuf: add ieee1588 timestamping Add mbuf field to store the IEEE1588 RX register index and other flags. The size of the structure is not changed (still 2 cache lines). Signed-off-by: John McNamara --- diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 80419df37a..d5895eae27 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -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);