DPDK patches and discussions
 help / color / mirror / Atom feed
From: John McNamara <john.mcnamara@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v4 2/7] mbuf: add field for ieee1588 timesync index
Date: Thu,  9 Jul 2015 14:30:15 +0100	[thread overview]
Message-ID: <1436448620-13972-3-git-send-email-john.mcnamara@intel.com> (raw)
In-Reply-To: <1436448620-13972-1-git-send-email-john.mcnamara@intel.com>

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(+)

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

  parent reply	other threads:[~2015-07-09 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 13:30 [dpdk-dev] [PATCH v4 0/7] ethdev: add support for ieee1588 timestamping John McNamara
2015-07-09 13:30 ` [dpdk-dev] [PATCH v4 1/7] " John McNamara
2015-07-09 13:30 ` John McNamara [this message]
2015-07-09 13:30 ` [dpdk-dev] [PATCH v4 3/7] e1000: " John McNamara
2015-07-09 13:30 ` [dpdk-dev] [PATCH v4 4/7] ixgbe: " John McNamara
2015-07-09 13:30 ` [dpdk-dev] [PATCH v4 5/7] i40e: " John McNamara
2015-07-09 13:30 ` [dpdk-dev] [PATCH v4 6/7] app/testpmd: refactor ieee1588 forwarding John McNamara
2015-07-09 13:30 ` [dpdk-dev] [PATCH v4 7/7] doc: document ieee1588 forwarding mode John McNamara
2015-07-10  0:43 ` [dpdk-dev] [PATCH v4 0/7] ethdev: add support for ieee1588 timestamping Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1436448620-13972-3-git-send-email-john.mcnamara@intel.com \
    --to=john.mcnamara@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).