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 94A7FA058A; Wed, 1 Apr 2020 12:57:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 399EA1BE99; Wed, 1 Apr 2020 12:57:39 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 6F4F51BE97 for ; Wed, 1 Apr 2020 12:57:37 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A47E35C0362; Wed, 1 Apr 2020 06:57:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 01 Apr 2020 06:57:36 -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=U7CFuph+C/qzHXYvV9Wn8jtQHaxIywKWewpPKRU4uLA=; b=r2VzTcR7GHwu 4BRtMCMBfSil95xkv//JyUNoiE3l2dwJ78imr9cEddZqMhAJHoMmn+vwnRGDbhNQ rC/GNq2Sp4Pk4uzzdLQcGrgs6Vkg2sdYehIxxJ3rIkV3sHdnBJQfs+zhbJwIo4OY xxtHe4kEd1QzFDxd9lI4fYIQGIjJYVg= 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=U7CFuph+C/qzHXYvV9Wn8jtQHaxIywKWewpPKRU4u LA=; b=L8nevHD1+QxouZ/zg3npYUdSghVbBFZFGY0GKe2WJ11gfDAUqjeUaEMsz fzJC85p+ZnwNXvaVPI+cZ5c8CnhAlt6mcd/vxQwgETq5MqNUxqI5lRKsIlr8KOF2 cInm24thhKtuRcPUkTSS4ry68Lwo2fpi43piPt9l1n/mg6/LnM7A47q03DCTS2W/ N+LSa3uMPEVTKnkzAmdt9d0lU2FklXrRT8Ldw7u4HAStvFeDney4hG7LyThnaBim Qme+O9sKw7Ol6GpQsSejydHbmUcFIBlgydweiqjriU60jkgPIbB7U905YFn09p2/ kDOwTapwkGJNNWS/jXgSHOeKNAB2A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtddvgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 BFE0C306CC9F; Wed, 1 Apr 2020 06:57:34 -0400 (EDT) From: Thomas Monjalon To: Ivan Dyukov Cc: dev@dpdk.org, maxime.coquelin@redhat.com, i.dyukov@samsung.com, tiwei.bie@intel.com, amorenoz@redhat.com, zhihong.wang@intel.com, xiaolong.ye@intel.com, Morten =?ISO-8859-1?Q?Br=F8rup?= Date: Wed, 01 Apr 2020 12:57:33 +0200 Message-ID: <2966019.2vfOZ694Ok@xps> In-Reply-To: <20200330075814.6857-3-i.dyukov@samsung.com> References: <20191212085012.9170-1-i.dyukov@samsung.com> <20200330075814.6857-3-i.dyukov@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v8 2/5] net/virtio: add link speed devarg 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" 30/03/2020 09:57, Ivan Dyukov: > Some applications like pktgen use link speed to calculate > transmission rate. It limits outcome traffic to hardcoded 10G. > > This patch adds speed devarg which allows to configure > link speed of virtio device. Is it really a good idea to fake such information? Shouldn't it be managed differently in the application instead?