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 8AE95A0561 for ; Wed, 3 Mar 2021 11:37:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0BC8440F35; Wed, 3 Mar 2021 11:37:25 +0100 (CET) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [146.66.121.80]) by mails.dpdk.org (Postfix) with ESMTP id 1E0331606E2 for ; Wed, 3 Mar 2021 11:37:24 +0100 (CET) Received: from 72.204.214.35.bc.googleusercontent.com ([35.214.204.72] helo=es18.siteground.eu) by se16.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1lHOsW-0000Gs-QX for users@dpdk.org; Wed, 03 Mar 2021 04:37:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wX6sZwFeDWb6YSU2zi79Q8nQyFdN60Ip9I1AE7sRoXA=; b=C7hIsrfr+cQ6ETBoITvDVsWJH1 OmM8drmvU5McYWq7xNKA8zt5c5fxCPV76b3VK5pppKnl0hfSGcuSD6xT1hW/Zs/vl+qG3csX+72Nv v8BPnodbWPxDZBKITzWPgStNgXP01Hm9FAHWV0RdGZ9WppnVxve44I2XpsfoyWpMXaPbDZgzDPEqo 6g7YhEduBW3S6GlEfkBBQILVC5F2PjjgKju4KmoUn8w+ndq8ez7Huvj4SHS0UYkFF9gVyt/nMqQfP 11Facbc+kkgfyAeNMJldq8fFV6hwkHRI2c8g9ib2EKe7Noy5rfQRYKGaUOMJIo+Yt7yq8n8+p75IK /RPGfClw==; Received: from [89.64.148.179] (port=43550 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90.1) (envelope-from ) id 1lHOsV-000EyC-Gu for users@dpdk.org; Wed, 03 Mar 2021 12:37:15 +0200 To: "users@dpdk.org" From: Filip Janiszewski Message-ID: <74675d87-d8c4-47ff-d80a-ff3c4cb0b5b3@filipjaniszewski.com> Date: Wed, 3 Mar 2021 11:36:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 35.214.204.72 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 35.214.204.72 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.214.204.72@es18.siteground.eu X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.35) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+crkDrLgEIef5kKgzqc+dkPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wDtBK3p5VcS6iRNP7EipR8fYzfQXcfqmra3dmoHS4ygkWG k2jDdwpolhS4+aQP5wFWuRWrkPihq53YqAd1ENNq6iAM41hAeV/RVyTQeiNgOIMaxvXc9tQ1fZaW Jxab/NLu+GFU0sCml2vPee3sRKccf6uNtfvhlxVIcNsI7TpuMmCm1Mqx/0+DydNzT9K7qSnD/KIZ FjZmfdcVjL2SVfcQjmlJySLkQdPf+nBedSzwCrwz1nAJXR4Kqx/wPjsDYd0ffwwAuVVFydqPv9iK YN1ib14aWso2UBc9GvHeoAtlr2WLX2ZbQb3UJKihEmoDuwh8ZolFwwybCr3yWDyr1A1P9UuKK2wt u8CG6m9SfMMg0ONwxuyQxxpFBZS72lACfRLGYP/Zj29Dpz4JZGFu9hfzncPlxpSFtW2+oi0GqiLO QWL62gLGsuRdOpr9ahXbn4vSu4V0uFdos+XyMRrtb4AGf6nmte41llVLFJpJnSEgP+vjEfTaJe0W bjDSwI4VsDh/Ak5UMKR5Jabn4uqWeMpVZXNEE1SX+KObD5gMB9uqKJlQuz/H/CJjhs5BUf8fRBA8 F/IJRA8ZF8C5AnJBxSFDD1e76szsWvBsaS+KViusBg4TfS2su/byymSuqTyxp/ZExDyRiioQmvGT re37mWh0chGFHjQ6q190o7vmaHflc527ajQmu+ujhfDlk6qn1gk/xHqlJukiOOO7sr/JGT1E6puD j3R7qMF5FSFkzmWq6qID70O71kgcegRXoZq8eubB5hHsymx4F6GyQvLkTVvwAVWd17VQkJgt1x9f QHHx3cMx+F/o/IH59W7X9TX8FC0VkMHSvhxH2WGuxeErcpVA1Qkmonr30xfFLm2v5Nt0enF+lgOM ZNnTHdpwyyEiiJGPztJCRZKnYrw8J5k7pngsiMoWiOu9SOMouzLBCSTh6uxFkU1LmkS4Decwm+X3 tZuWlInC+wHkMhKYBeshNDUe6Bb00eACLoB4nYmyffPgfo92X0pFPn+FwqLiYOBveZS+ZnfG7K0H qiDsdwhHCXzeJMM3jWjklyHcQsG10XPaXngOrHGWcKc5AqOFqAQq4tK9gThRk31TRgf1b+pEf0gQ KNPfgKWI/9S4TW63+hUGnCiS1cYDNZGC5jWJQt1jVV0= X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [dpdk-users] Intel XL710, timestamping X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, Is there a way to enable HW timestamps with this Intel card using DPDK by means of the IEEE1588 set of function API? (Dpdk 20.08). In my understanding the nic should support hardware time-stamping of RX packets if: "A separate PTP application would be required that communicates directly with the controller on the XL710" cit from https://community.intel.com/t5/Ethernet-Products/Does-intel-XL710-QDA2-support-HW-timestamping/m-p/563064 Is there a way to make this work in DPDK? I'm honestly not sure what does it mean exactly "communicates directly with the controller", but I assume it has something to do with rte_eth_timesync_* ? I've actually tried already a test, I've executed rte_eth_timesync_enable/rte_eth_timesync_write_time and then verified with rte_eth_timesync_read_rx_timestamp if the timestamp is stored, and it seems it's there - but the packets are all coming with 0 in the timestamp field (mbuf).. Thanks -- BR, Filip +48 666 369 823