From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C89F3A057C; Thu, 26 Mar 2020 22:33:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 27C881C06B; Thu, 26 Mar 2020 22:33:28 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 79ED7374C for ; Wed, 25 Mar 2020 11:03:20 +0100 (CET) IronPort-SDR: iyvS+ihmB4jA0Wpjhm2aciuduoVIg9m7GSQzZXJtveRPFhTe+ROYM+g/YytfaE+DGbogKFNCXU nv6mNFgVHWZw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2020 03:03:19 -0700 IronPort-SDR: cLJRmZSRJMkfimpy3m57P+HFeFJ+Y1wJ6GzGcuc/HerRBW8G7jXeQQpubkw2b3ooDLJMlGcCyc 8S5aapS73lCg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,303,1580803200"; d="scan'208";a="446572231" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by fmsmga005.fm.intel.com with ESMTP; 25 Mar 2020 03:03:19 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 25 Mar 2020 03:03:18 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 25 Mar 2020 03:03:18 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 25 Mar 2020 03:03:18 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 25 Mar 2020 03:03:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ro0tqST2qeFepyk8AXE1T9YpLXJ3jy9jq0t//nw5fMhHVLnhLGRfd7wnnxy+iy6WQW5+zTZ6LzkB1E0Y5nu2SzfJk/im9gudzIfYFMeGRFx9f3ruWjlL3wfZiFEPgX6nt3TQ2yFObpJEe+b9uxUy8sNNLAXjUGpGkNLM4x77Ldbqmr3Qix/dtFBZDkO73F6OEy+gZwaPolYM7RInm1793JgcdG+SNghOMkyIM66ofq/U8rQIymH6PX8DVXBm8DFe6zePe1I7nxYlXwe4NfEHH27ojL4T+zIulek2vd3maIo8lf+zE4kiMU3qh5DplnfODBC5EhNw9XsrOz+zFQUejw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oZ9BRot7Fx6YE2xKehwm7RKoxBYm+me/5oP2Uxs3WL4=; b=V45af1K/hu3wFEpBt0rAqyIMN1wo5wFS2a3JtWp0L9IWQ3mCeavk/TuRVAIeAe1R2GLcrt5osRgZIIeJxVgFDb+n/y7aqyIDOaz2ck+1BpV7RU8EX3ijBedTitys02eO1ozIIGE5q4GlsAwVQvw2sKWDJcO8Q8hd48F+bZe/FTZHdjdE1iycRJJ/5wIwBi6DQJ83lJeSqOfvWpvww03O+/caqfAMTrA8rD9iXMAUYd8vR0kdYOAn5VE9kMFOx+BKvxRbCyEk52Kx/PZeL9WRPTRqziWW8aTAeatkaqz7vl6St5EK232KODI46obMkDTLOFIX6mn2ipN+GOL4xTwVYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oZ9BRot7Fx6YE2xKehwm7RKoxBYm+me/5oP2Uxs3WL4=; b=lj4r4rmLZAh/vsi9eS2eRF/cutORd6wKNDNgLp3Ro0tdMOncEfeDVDMMdyR8tWs2MaE7aWMO1bg6ihrW8+yyUW2573CsmEOTXT/KUYauLEXhWA8jODkFFMp5RJ6uLiuUBW0+Y1uSO8CAhy35vsskOYJ7iPVP0AuerrsrZA2DDLk= Received: from MN2PR11MB3565.namprd11.prod.outlook.com (2603:10b6:208:ea::31) by MN2PR11MB4678.namprd11.prod.outlook.com (2603:10b6:208:264::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.22; Wed, 25 Mar 2020 10:03:13 +0000 Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::113b:3127:ef12:ea7]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::113b:3127:ef12:ea7%7]) with mapi id 15.20.2835.023; Wed, 25 Mar 2020 10:03:13 +0000 From: "Kwapulinski, Piotr" To: "Min, JiaqiX" , "dev@dpdk.org" Thread-Topic: [PATCH 3/3] net/i40e/base: add constants for PTP pins Thread-Index: AQHWAlUXfEVjXIYJVkCMHq2S0q1eCahZFH0Q Date: Wed, 25 Mar 2020 10:03:12 +0000 Message-ID: References: <20200325032356.20198-1-jiaqix.min@intel.com> <20200325032356.20198-4-jiaqix.min@intel.com> In-Reply-To: <20200325032356.20198-4-jiaqix.min@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: spf=none (sender IP is ) smtp.mailfrom=piotr.kwapulinski@intel.com; x-originating-ip: [134.191.221.125] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 897feca7-8f49-4d2c-6f44-08d7d0a3bafb x-ms-traffictypediagnostic: MN2PR11MB4678: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:317; x-forefront-prvs: 0353563E2B x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39860400002)(396003)(376002)(136003)(346002)(478600001)(33656002)(66946007)(5660300002)(55016002)(66476007)(66446008)(2906002)(86362001)(64756008)(52536014)(76116006)(66556008)(9686003)(26005)(8936002)(8676002)(6506007)(81166006)(316002)(7696005)(110136005)(53546011)(81156014)(71200400001)(186003); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR11MB4678; H:MN2PR11MB3565.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lXJRqaWb+Z51qzsgu1aasxP9O5l8c1oFnY090WPLtKJSiEzH9DGZeVI1eHKB/Sa4Vnwhlx7EeqN3BMYYteySqUST4I9KpLoB+sli7HoPbK2MdPns0B14bVWfI4zXBiOhjTkhb84B15VOl35NmALt6TfGKHQKa6t93pro5hNsD75QwFI2K1BJPFoiji1i+fQ0zTS28eotYalYAuEnnrYMRJ9dubM9X87fulETl0GHyLJGIkdq+ckfeedGwiVChDxW9uzkFBUDSgTSO5qjJyXbDtY7wUyDL0BtuPj8+Uxk8Pxn2q7bakwHpeO2UCw1W9HYOLtH02J1/2rEF+mSZ8jONiF05z8IhAwrqwVJLt1COW81ahNEwD+X2Xpkth+RyWRW8z+UJl9GHuZJvegEAoq+Nbr25V3y70tYk73axpYWQdAzuaoroLqAQvLYVx8du7X8 x-ms-exchange-antispam-messagedata: alliaysycHZiwSx61ViU8WqPKv7Aao86A0OXwRalBZo63Y4MttysHnZSGq4Mv3ctqMlhwiZdNUhjhPbYT+C0xEJZy1CHMBKHOBH4wfiphgxE0v/epN27IjTniLp7S+vNvWLnEw6Y/AWwRh9YrtcP4g== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 897feca7-8f49-4d2c-6f44-08d7d0a3bafb X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2020 10:03:12.9932 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fqUIsCnSVnAyemuM+4C65ekJAsnBuo9ivRawAntgHzYd4pnNDSWchjsTBf22a4Zm+J7iuKl3u7SD0C/5hsDErcMfUNLUCfoD4I7n6EwYyhY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4678 X-OriginatorOrg: intel.com Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 26 Mar 2020 22:33:25 +0100 Subject: Re: [dpdk-dev] [PATCH 3/3] net/i40e/base: add constants for PTP pins X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" ACK -----Original Message----- From: Min, JiaqiX = Sent: Wednesday, March 25, 2020 4:24 AM To: dev@dpdk.org Cc: Min, JiaqiX ; Kwapulinski, Piotr Subject: [PATCH 3/3] net/i40e/base: add constants for PTP pins Introduce constants for handling PTP pins used for external clock source. Signed-off-by: Piotr Kwapulinski Signed-off-by: Jiaqi Min --- 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_EV= NTLVL_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=3D0...1 */ /* Reset: GLOBR */ #define I40E_PRTTSYN_AUX_1_MAX_INDEX 1 #define I40E_PRTTSYN_AUX_1_INSTNT_SHIFT 0 -- 2.17.1 -------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydz= ial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-31= 6 | Kapital zakladowy 200.000 PLN. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata= i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wi= adomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiek= olwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). If you are not the intended recipient= , please contact the sender and delete all copies; any review or distributi= on by others is strictly prohibited.