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 81183A0562; Thu, 2 Apr 2020 22:58:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BE7041C065; Thu, 2 Apr 2020 22:58:49 +0200 (CEST) Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by dpdk.org (Postfix) with ESMTP id CCB5D1C033 for ; Thu, 2 Apr 2020 22:58:47 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 32DA758031E; Thu, 2 Apr 2020 16:58:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 02 Apr 2020 16:58:47 -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=mesmtp; bh=4qtYf3ZHQ7St2Nm9Zc6r/RQtkZLTtivXueRy17Drosg=; b=HqDWG/D4MEmy pQUljjyg5WD+/+F2J/v0d+XYnwsLcNzObByU9wj80h657qB/DCztB5/CCrM4ja9l AJmI87NshFJpsMWOWEjEHrDxsSr19WIJSZN2Shkc4+zOAm1SlG1KIFjf2Jo4zgvI evctfSIYjX9LMfBT3YL+TIDsAvg+5WA= 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=fm2; bh=4qtYf3ZHQ7St2Nm9Zc6r/RQtkZLTtivXueRy17Dro sg=; b=HdBdelFAUE83SInRA0IPIfQMIidAMBI4qGf4gO1eRWLtBl/Mpbim43VCz ZQsKaC5ukI8ytnSEp9sisJQaoR3T3ATHs5wju/RyfQWoZoARHsUlqtxusN/ghvD9 UA0Od/YM0N6KHJ9oMF9NDY3oEFxD640Tjg+mAesGrN+LUmKIZy426vPaK5lqGE68 6mXMy62TFL+tiCH0QZYQ9ehx11s3gw7GiuQw5302cOwrI8Zx4ITBrwJ/AKs3/ap4 ZKz6igDLddnSIcrr462hX8oQRdmB7jRJ5SuiUhxaxvZ+GRRHP7Y7B4W+6IXpV2bn EAt57E7FU28oYD0X2uah5pwv1AOlQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtdeggddugeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 E1CC43280065; Thu, 2 Apr 2020 16:58:44 -0400 (EDT) From: Thomas Monjalon To: Morten =?ISO-8859-1?Q?Br=F8rup?= , Ferruh Yigit , Andrew Rybchenko , Ivan Dyukov Cc: dev@dpdk.org, Matan Azrad , "Benoit Ganne (bganne)" , maxime.coquelin@redhat.com, 'Vladimir Kuramshin' , amorenoz@redhat.com, zhihong.wang@intel.com, xiaolong.ye@intel.com Date: Thu, 02 Apr 2020 22:58:43 +0200 Message-ID: <2511295.FGBNh6B6GM@xps> In-Reply-To: References: <98CBD80474FA8B44BF855DF32C47DC35C60F2D@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35C60F3A@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [RFC] ethdev: use special speed for virtual Ethernetdevices 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" 02/04/2020 22:41, Ivan Dyukov: > 02.04.2020 16:50, Morten Br=C3=B8rup =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>>> Yes, if speed is unknown, it should be reported as 0. > >=20 > > Could the DPDK vNIC PMDs be updated accordingly? At least the virtio dr= iver... >=20 > Current version of dpdk code on master always returns 10G speed for=20 > virtio device and many application rely on it. e.g. pktgen. If we'll=20 > change it, we break the apps. I am OK with breaking such strange assumption. I can understand the need for specifying the underlying hardware speed through virtio driver. But hardcoded 10G... no!