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 A5867A0547 for ; Wed, 19 May 2021 15:10:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7807540041; Wed, 19 May 2021 15:10:14 +0200 (CEST) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [146.66.121.81]) by mails.dpdk.org (Postfix) with ESMTP id 98F9F4003F for ; Wed, 19 May 2021 15:10:12 +0200 (CEST) Received: from 72.204.214.35.bc.googleusercontent.com ([35.214.204.72] helo=es18.siteground.eu) by se17.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1ljLxf-0008pz-Na for users@dpdk.org; Wed, 19 May 2021 08:10:11 -0500 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=yAyOOF8uqG9XPoX6T3gYdBGPBbhDRFldnXvU/J+RK/A=; b=OosJuQQK3490vuqrKJjnzT0JeI ljCqk8wwmFcBMDFQhIut5AU2HXGE49OMAZKKk+79Ys5SxAnrPQZIyUCYGd2vVUOez6QqIlkE3Lazp mTH+YKbP5p0Zl321Gu6oEfr+6nYd2zjYkB6wsexe7aXB5ixt/iuCZmsabd7bVzV5jXB2CSRWRMVy8 9WtIVCvw62kJL02oWaeBPsOz7mjsNjhjqD+xybqAIHZrxE1mxzv0fXjdnL19czEGYpFllzWvcxxgf VJ0QY8o6td6VXaGhfwFUSf4tqu0t6yVRVLq4jTjfzmjd+aOKRoZIXsqmLWOLlifqbtGYOCffq9ec8 6lQR1N+g==; Received: from [89.64.148.179] (port=56476 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.90-.1) (envelope-from ) id 1ljLxe-0005Xz-BD for users@dpdk.org; Wed, 19 May 2021 13:10:06 +0000 To: "users@dpdk.org" From: Filip Janiszewski Message-ID: <01e2ccbe-a2c8-be7c-7f9d-af43f609e75f@filipjaniszewski.com> Date: Wed, 19 May 2021 15:10:05 +0200 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: ham X-SpamExperts-Outgoing-Evidence: Combined (0.26) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT85gwrCCsWFX5BqguRSMMOAPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wDtBK3p5VcS6iRNP7EipR8fYzfQXcfqmra3dmoHS4ygqFX wI3DgQ0ZBW95zXNo/YFWuRWrkPihq53YqAd1ENNq6iAM41hAeV/RVyTQeiNgOIMaxvXc9tQ1fZaW Jxab/NLu+GFU0sCml2vPee3sRKccf6uNtfvhlxVIcNsI7TpuMmCm1Mqx/0+DydNzT9K7qSnD/KIZ FjZmfdcVjL2SVfcQjmlJySLkQdPf+nBedSzwCtawn4j5xUOthJqUfqeovt+vPYybyXh2PSkw21kU OIgFWIxiTB0uxa1HdhDOuVInIWWLX2ZbQb3UJKihEmoDuwh8ZolFwwybCr3yWDyr1A1PvRkWzsAg aWolxIxCj2GHto6atsxaFkWS/KO9ggVt7y11v0HCq9Ij3WgoQoezM+scaWWR7drMd0qbJIo1RVCX ie2VXGdtLyog7ui50fJvZPXx1zG+dBgRGQy5Evn9+jdEgn5yrhquUfGKFVmhdtT5snHd0G1x4pfZ 1aISb7ugeb3EER4aaezxB4UAOdANOt+ul3AsDBujjw7GCggXV/wpTFs765aq/7Ihe5JpNEYIVsOM yGnDIpSchlco6RIDoNg/2Wq2InZGQXRwgp4DivepysN6jYX/nXkLyQnRCh0nB+uYUazmWajDqA7N T8Js52zSASJFC/49WOPBr5nlEUI4xORP7e7j8LTq/FlKWIZioClKC5XROoL23kHH2wGTQk+5FYj/ BYgoKdMU9yTN2EzmD1XaDqbyZkBgwlsmJSApZEqGwbl8TXg3XKOyYkvqwVxA/SO94N/2SEEH7lin r52fw+KWcJtmG1plI+Nh+fOKdo9dSwHv18bIXaCSozrY6YvBicRNxE8lHVRedXHzx9B2331lF87H XtkB1vLi4H9iqNv1JIRJb6GD/EPdV5KVI8E5mUTOHtGDaWBtcY3xLRkfo071nl8LtSoTAZ7CV7UR iTwh1nDzQkFBVYGPvfegTl+Dfqb5R4VemuUI6bcEARsm0BSzT3e/vErSojFNgZ+z2eBRGMCLmveJ Ez/K74eczsDjUYzyeeQlRL3BCK088rhJO2eupYYdzPm7YfRDaULOU2k3qaBFfCaFoX7lbNqfdmmz 2Fm01HXrVQ4RYy46tWH9VYjfMCvRZi/l0agnbmEWZxQ= X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [dpdk-users] Performance of rte_eth_stats_get 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 it safe to call rte_eth_stats_get while capturing from the port? I'm mostly concerned about performance, if rte_eth_stats_get will in any way impact the port performance, in the application I plan to call the function from a thread that is not directly involved in the capture, there's another worker responsible for rx bursting, but I wonder if the NIC might get upset if I call it too frequently (say 10 times per second) and potentially cause some performance issues. The question is really Nic agnostic, but if the Nic vendor is actually relevant then I'm running Intel 700 series nic and Mellanox ConnectX-4/5. Thanks -- BR, Filip +48 666 369 823