From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F99FA0C52 for ; Mon, 8 Nov 2021 17:41:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 577004116A; Mon, 8 Nov 2021 17:41:36 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2056.outbound.protection.outlook.com [40.107.236.56]) by mails.dpdk.org (Postfix) with ESMTP id 630D340E28; Mon, 8 Nov 2021 17:41:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=etAzRX9r8cpxOJE6Tnb88jsfX4LUERz0ck9dawE15XlEfQm3SSEnRgQAbv45kuamVvwQ46lUXFKrzkkclRgNj/Gl67JywW3Dd0Vp7J8p9FyNv7OMO0yEIfx1q24UigK1LqsUa/w2KGQx11GAT2obn24MMxl1Kl7xYifHDVpx/RVJxflu147qW6G1FBAJBK6nrT3Jy/cwEYKVMpr3eBs7t9RvHC5/olyt69Eo+Gyfketef+HNAht7nWtBbBVOhaM/n373/N1N23XbDRtnd92rdT9+GB6g950MLDGlE69IJ3f4taX6oL1y3lGQxVac03/4fT7s4L9yeW3HtO6XdDTYxg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vdmehkVk8MWLBx4PsejOpAA1fmqNN+uOSM2CwUN5lI0=; b=boZy8p+lqrHBLsGO026dAFNDJo4l4gkH5Kqrb5Dhijj1aww+E6jcPJPBjR6LMtTm8ND2J2ee9TFmlMpt+8LMFlEE8TsMeYTAGntwrQicxMTKGM/c12G+XZrp0gS01CR921NTqvKXjdEKl6d+K5PvUbB9fJPzcoyBcWFA3t2lThWPJ0FOQpOS4zZT2Jv/nztKJeex0C+Zc94UXytw4p+BHKX9LQ1gsnV1esrDWktZubraGLM/OWdozLb3gA3V/ak6Q8CjAKxKqyTeTw5MBamj1x0IyPWxf6AdV26SntxIGBArIQFuPa8YJr2qpXwGb0YGqgu5eVlQGnc1pu8V7v/nwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vdmehkVk8MWLBx4PsejOpAA1fmqNN+uOSM2CwUN5lI0=; b=hKPrNoLmAIgljTJciXS/H4ls4y06p2AJk8trrypZny5PPFVT8UoXsGDGUU9LX7mygNlGLK8Uh39jK+YXeJWKwaZoenKAd36mQtvUAjDAGPSLlwayLesWsM7GK0FFyW6AJXUMGMi11DhSIdKuxXKiH/Vyy+BAH1Ef6Gh9HK8b0N93PcR0Dg545U5aTmKouB30aSyfXiMqOiPJYYAyl3i27ZISCfYc1UF9ndIgGkPX9FSK5pDRf96Ys6XgDH5ao8mOlF339PK7BUtO1D8xWJfppWuz13n4N/9ohhk7oYbLHi+Zh/b8na9CskBGLHlIPQhVh2v2g2BtUMm/+iivVy5Ecw== Received: from BN9PR03CA0698.namprd03.prod.outlook.com (2603:10b6:408:ef::13) by SN1PR12MB2480.namprd12.prod.outlook.com (2603:10b6:802:22::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Mon, 8 Nov 2021 16:41:32 +0000 Received: from BN8NAM11FT023.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ef:cafe::69) by BN9PR03CA0698.outlook.office365.com (2603:10b6:408:ef::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Mon, 8 Nov 2021 16:41:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT023.mail.protection.outlook.com (10.13.177.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 16:41:31 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 8 Nov 2021 16:41:19 +0000 From: Viacheslav Ovsiienko To: CC: , , Date: Mon, 8 Nov 2021 18:41:01 +0200 Message-ID: <20211108164101.26308-1-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2af69dd1-f208-4ac2-0071-08d9a2d69e8b X-MS-TrafficTypeDiagnostic: SN1PR12MB2480: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kOa5shupxKH0sMI1KL5DzOWvSbjXZU5u5Klm4zLVjtKIvOEDZClsmwnRrPdxzbXJd76hx6+Ej32tgh5ZJmbXR5Hy3+l/pXZ2UjibhcPpSV4fvXq3WyaL8a+u1D72LtsDl4uLJvSsi+pvSU6DcSV3pW/hULJHZxO7KdCI887cQX22C6QR8MrJXZDe4PZpCa4oH/nUaLtqmS6HPLHO+hM4GiMK23CFGi+76j4uyRk/3DbH2Cvv+zROrM+lhcAGWqJpF3WrPwsb5ST3dcBucN2WgP1ubq0+43blAhUiPpcR9bHMO0aNs4G2p5sSkoPLkhMvS9VQsq5onLwHdet7nTLyiQTgtM070Czyun5yg/7q6lTGbrzAGHw4iWBiMgFJ6uwxZZyXbKa4BelleWUPQQrNy7dSJAnRLfaXqVPpl0lIdw+cSeIhqZtC5bmMDQuFVHU/DW+hkkmEVZ8OEKhqbip0jmtEdoKttdWtXm+xHYtBUlJIbLMrajIYrR2gWjbiX5nJLubSe1cN3ecQptL8CxMQ4p2DNAj42isb+Pfo3XH1+B4iLKDvH8upIYENusLGWonQeDVMdz+bGW6+3ZtxyPtT/YW2tb+GyeJRA/GGQabWcTRJsg+rk+DP1Y0i58zeTdH4HFgyDixTygROLlPsuJLKc/BC5pHmxsWTqCzEWov945izjmWDpCp8rqm0E4gYvgud30fFzVMCYjmEdNiEbtWMkw== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(6666004)(356005)(47076005)(83380400001)(1076003)(2616005)(70586007)(426003)(70206006)(7636003)(336012)(6286002)(8936002)(36906005)(5660300002)(82310400003)(36860700001)(55016002)(450100002)(2906002)(7696005)(6916009)(54906003)(16526019)(186003)(4326008)(86362001)(36756003)(316002)(508600001)(26005)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 16:41:31.4627 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2af69dd1-f208-4ac2-0071-08d9a2d69e8b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT023.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB2480 Subject: [dpdk-stable] [PATCH] doc: describe timestamp limitations for mlx5 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" The ConnectX NIC series hardware provides only 63-bit wide timestamps. The imposed limitations description added to documentation. At the moment there are no affected applications known or bug reports neither, this is just the declaration of limitation. Cc: stable@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index d175c2061e..043d006a2b 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -480,6 +480,19 @@ Limitations - Needs OFED 5.4+. +- Timestamps: + + - CQE timestamp field width is limited by hardware to 63 bits, msb is zero + - in the free-running mode the timestamp coounter is reset on power on + and 63-bit value provides over 1800 years of uptime till overflow + - in the real-time mode (configurable with REAL_TIME_CLOCK_ENABLE firmware + settings), the timestamp presents the nanoseconds elapsed since 01-Jan-1970, + hardware timestamp overflow will happen on 19-Jan-2038 + (0x80000000 seconds since 01-Jan-1970) + - the send scheduling is based on timestamps from the reference "Clock Queue" + completions, the scheduled send timestamps should not be specified + with non-zero msb + Statistics ---------- @@ -1242,6 +1255,10 @@ Below are some firmware configurations listed. FLEX_PARSER_PROFILE_ENABLE=4 PROG_PARSE_GRAPH=1 +- enable realtime timestamp format:: + + REAL_TIME_CLOCK_ENABLE=1 + Linux Prerequisites ------------------- -- 2.18.1