From mboxrd@z Thu Jan 1 00:00:00 1970 From: John McNamara Subject: [PATCH v4 2/7] mbuf: add field for ieee1588 timesync index Date: Thu, 9 Jul 2015 14:30:15 +0100 Message-ID: <1436448620-13972-3-git-send-email-john.mcnamara@intel.com> References: <1436448620-13972-1-git-send-email-john.mcnamara@intel.com> To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id D162DC332 for ; Thu, 9 Jul 2015 15:30:38 +0200 (CEST) In-Reply-To: <1436448620-13972-1-git-send-email-john.mcnamara@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add mbuf field to store the IEEE1588 RX register index and other flags. Signed-off-by: John McNamara --- lib/librte_mbuf/rte_mbuf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 80419df..d5895ea 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); -- 1.8.1.4