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 27614A0350; Wed, 24 Jun 2020 21:55:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A3D3D1D9E3; Wed, 24 Jun 2020 21:55:14 +0200 (CEST) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by dpdk.org (Postfix) with ESMTP id 39C341D9DF; Wed, 24 Jun 2020 21:55:13 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 7DC1C580D3C; Wed, 24 Jun 2020 15:55:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 24 Jun 2020 15:55:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= 3dSMH7+/c/T7PAnGLIQdmncxnjCfh4UXDB77ftQnNNQ=; b=tA6zPjGIxQKXgmyX Qx1RTDeWxoNIgCgGQGukOhvV19iCvU0o092UeMl+6k5GKrDNAwfgcrRS5+Le/JIL NYlvOhZFrzLwawKVkaaZjCWHJTCxY67IygTJBEzUffXpO0S4BaRneNDxOWpeImSX bd63/cTZ56V3x8wwcEvHH+bK5f61vsgTST+l977TkBEb1bQs/iKxnQo64Qaba+et 19GABE55DmcZL7kg9yWRiMtJhmHDa04j6aroltKG4dqCBcAb1n+dA0D4dmMA7XkF MMoN3kAoporhhWlN4zAUrjx3INMNPBEtT1PPrzzXSsRMPk0nkq6eDWU6kewo7gjY MN9QKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=3dSMH7+/c/T7PAnGLIQdmncxnjCfh4UXDB77ftQnN NQ=; b=OmRletWu9JrJjjb3mOig8G8b/YsRuwf1kH4N9kUZeRe7YaawpL9lLP1jR 95VM+wvbY543mtYaBrmyDZXozH2KFhnCkDBxLSDpPwEAkmJ4HD/3a5Ka+vslcG8s ZUqIHZcqdxnSzi6CDophi+ge6h4zK5CowWbXuoxB3bueNZLE+ksTkHZRzwkt+GLU XYUJr2EGn07+fT2JzKVaRbXvNHd3bg/qBBOH72eEUfU8MuejT91kOjjc5QWRKLmV mG04QpZ+QAjl/RRQjy+P0NwOxD2cBexK3yjXCZciuiYHOA1fgm/5zzxohehD2EMY exPAsc+J4tdc4ZMze28v+Jd12TrHg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekjedgudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvkeetveeihfegfedtfeejueekkeekueevgfejuedviedvvdev uefgteevtdefveenucffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefge drvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 58415328005A; Wed, 24 Jun 2020 15:55:08 -0400 (EDT) From: Thomas Monjalon To: Daniel Kirichok Cc: dts@dpdk.org, dev@dpdk.org, Lincoln Lavoie , david.marchand@redhat.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, mb@smartsharesystems.com, i.dyukov@samsung.com, rasland@mellanox.com, j.hendergart@f5.com Date: Wed, 24 Jun 2020 21:55:07 +0200 Message-ID: <9145227.bPS0MTqRLS@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] Speed Capabilities Feature 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" Hi, A bit of context: Daniel is going to implement a test in DTS for ethdev speed capability: http://doc.dpdk.org/guides/nics/features.html#speed-capabilities 24/06/2020 21:32, Daniel Kirichok: > The Speed Capabilities test will first check the speed of each interface > that the device lists through ethtool. I assume you mean doing a query in Linux before starting DPDK. > Then it compares each interface > speed to a user-defined set of expected speeds set in a newly created > config file, `speed_capabilities.cfg`. Why do you need such config file? > The test fails if an interface is > found that isn=E2=80=99t accounted for in the cfg file, the detected spee= d is less > than 1 Gb/s, or an interface detects a different speed than what is > expected from the cfg file. Otherwise, it passes. So you don't test DPDK? Would be interesting to compare the actual link speed from rte_eth_link_get() with the advertised capability. What else do we want to test regarding link speed? autonegotiation?