From: Jiaqi Min <jiaqix.min@intel.com>
To: dev@dpdk.org
Cc: Jiaqi Min <jiaqix.min@intel.com>,
Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Subject: [dpdk-dev] [PATCH 3/3] net/i40e/base: add constants for PTP pins
Date: Wed, 25 Mar 2020 03:23:56 +0000 [thread overview]
Message-ID: <20200325032356.20198-4-jiaqix.min@intel.com> (raw)
In-Reply-To: <20200325032356.20198-1-jiaqix.min@intel.com>
Introduce constants for handling PTP pins used for external
clock source.
Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Signed-off-by: Jiaqi Min <jiaqix.min@intel.com>
---
drivers/net/i40e/base/i40e_register.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_register.h b/drivers/net/i40e/base/i40e_register.h
index 436f48efa..dffcc633c 100644
--- a/drivers/net/i40e/base/i40e_register.h
+++ b/drivers/net/i40e/base/i40e_register.h
@@ -2910,6 +2910,10 @@
#define I40E_PRTTSYN_AUX_0_PULSEW_MASK I40E_MASK(0xF, I40E_PRTTSYN_AUX_0_PULSEW_SHIFT)
#define I40E_PRTTSYN_AUX_0_EVNTLVL_SHIFT 16
#define I40E_PRTTSYN_AUX_0_EVNTLVL_MASK I40E_MASK(0x3, I40E_PRTTSYN_AUX_0_EVNTLVL_SHIFT)
+#define I40E_PRTTSYN_AUX_0_PTPFLAG_SHIFT 17
+#define I40E_PRTTSYN_AUX_0_PTPFLAG_MASK \
+ I40E_MASK(0x1, I40E_PRTTSYN_AUX_0_PTPFLAG_SHIFT)
+#define I40E_PRTTSYN_AUX_0_PTP_OUT_SYNC_CLK_IO 0xF
#define I40E_PRTTSYN_AUX_1(_i) (0x001E42E0 + ((_i) * 32)) /* _i=0...1 */ /* Reset: GLOBR */
#define I40E_PRTTSYN_AUX_1_MAX_INDEX 1
#define I40E_PRTTSYN_AUX_1_INSTNT_SHIFT 0
--
2.17.1
next prev parent reply other threads:[~2020-03-25 3:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 3:23 [dpdk-dev] [PATCH 0/3] update i40e base code Jiaqi Min
2020-03-25 3:23 ` [dpdk-dev] [PATCH 1/3] net/i40e/base: update X722/X710 FW API version to 1.10 Jiaqi Min
2020-03-25 3:23 ` [dpdk-dev] [PATCH 2/3] net/i40e/base: new device ID introduced for V710-TL 5G Jiaqi Min
2020-03-25 3:23 ` Jiaqi Min [this message]
2020-03-25 10:03 ` [dpdk-dev] [PATCH 3/3] net/i40e/base: add constants for PTP pins Kwapulinski, Piotr
2020-04-08 7:33 ` [dpdk-dev] [PATCH 0/3] update i40e base code Xing, Beilei
2020-04-08 10:05 ` [dpdk-dev] [PATCH v2 0/4] " Jiaqi Min
2020-04-08 10:05 ` [dpdk-dev] [PATCH v2 1/4] net/i40e/base: update X722/X710 FW API version to 1.10 Jiaqi Min
2020-04-08 10:05 ` [dpdk-dev] [PATCH v2 2/4] net/i40e/base: new device ID introduced for V710-TL 5G Jiaqi Min
2020-04-08 10:05 ` [dpdk-dev] [PATCH v2 3/4] net/i40e/base: add constants for PTP pins Jiaqi Min
2020-04-08 10:22 ` Kwapulinski, Piotr
2020-04-08 10:05 ` [dpdk-dev] [PATCH v2 4/4] net/i40e/base: update version Jiaqi Min
2020-04-09 5:18 ` [dpdk-dev] [PATCH v2 0/4] update i40e base code Xing, Beilei
2020-04-09 5:24 ` Ye Xiaolong
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=20200325032356.20198-4-jiaqix.min@intel.com \
--to=jiaqix.min@intel.com \
--cc=dev@dpdk.org \
--cc=piotr.kwapulinski@intel.com \
/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).