From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 05A04A0588;
	Wed,  8 Apr 2020 00:26:56 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id CA09D1BFB7;
	Wed,  8 Apr 2020 00:26:55 +0200 (CEST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 646031BF9D
 for <dev@dpdk.org>; Wed,  8 Apr 2020 00:26:54 +0200 (CEST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailout.nyi.internal (Postfix) with ESMTP id 9A1EB5C0118;
 Tue,  7 Apr 2020 18:26:53 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute7.internal (MEProxy); Tue, 07 Apr 2020 18:26:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:subject:date:message-id:in-reply-to:references
 :mime-version:content-type:content-transfer-encoding; s=mesmtp;
 bh=e04Nk8S+1zLMCbTszcagfUlfCP/Fj0i3QV03CgBc9Kc=; b=UisVHwgqjZc3
 LlCyYI5NwmapbK1BbtAoY9S3oUgE78xVjkIL/O8nUby7ZXl5WAh2XKF3Zdl2+L0C
 x7P4XpI//YPnh3HuAiFRlBkb8pyXGfY92S2Vz8r0GVVFWfacrADZ7q8ltczWF0CH
 f4xGv9xSd5VBriCrGODELvOKFSE/ttE=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=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=e04Nk8S+1zLMCbTszcagfUlfCP/Fj0i3QV03CgBc9
 Kc=; b=frys53kIbSQfJxjGyi8+78SP1RdgqzDG3H+e655ab+Q/0uc2fdgi39jkh
 hPtl2PkhxgtYw8aqJknS8vc+ofKiK6IffGHZWqRejam/3DQUbSLw2DiEVegNCGgh
 lulVt3uzui1ixZZID6nrJ1691gv1j6Y7AaGDlKtkEoqs/Q1RAH5DsBIZrUozMWtZ
 Kh+fZhvnI52s4JcwgvDkrA6fbTKaE+2RhPRXZbQULV9l1aHAvNsiQ4Yus/nKWu0Q
 MmN0+H2uz39vbv6/vHS4hS9Z+GFga3J9ojM4KzPb/Yb5EBe/nNGZfWsID84CeTkl
 ZZcTKA5JkbI1r2kW4G798OIHdb+bQ==
X-ME-Sender: <xms:Lf6MXl0dk_v5ubX0lS_IwxkJx8nZyy36plX8Ux2GXBcs5gYyVmLABw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeigddtlecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesthekre
 dtredtjeenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes
 mhhonhhjrghlohhnrdhnvghtqeenucffohhmrghinhepughpughkrdhorhhgnecukfhppe
 ejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr
 mhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:Lf6MXlIEMFv_tPmQK8AeMxVst6p1wRgfz3bRCo7cbV4OejGGUkQAUQ>
 <xmx:Lf6MXu_fVxPU90CMMqbYx4xShaTmSAvMZaJtXSeuPWd8rfDs60MNWQ>
 <xmx:Lf6MXumR0QLodr9ScFSdO7Rc2g_U0yrR9z-W8wJssUvU0pAhbAyoNA>
 <xmx:Lf6MXiBcUev0-Avmck0zXL27n_wkQOY_83BIngPezp6bFt5LX91KeA>
Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 0A7EC3280063
 for <dev@dpdk.org>; Tue,  7 Apr 2020 18:26:52 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Date: Wed,  8 Apr 2020 00:26:35 +0200
Message-Id: <20200407222637.55289-1-thomas@monjalon.net>
X-Mailer: git-send-email 2.26.0
In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35C60F3C@smartserver.smartshare.dk>
References: <98CBD80474FA8B44BF855DF32C47DC35C60F3C@smartserver.smartshare.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH 0/2] ethdev link speed
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Following 2 discussions about link speed,
here is an API update and a small clean-up.

Morten's proposal:
http://inbox.dpdk.org/dev/4957996.Zugxlq0yvN@xps/
Recent Ivan's virtio patch assuming the same API update:
http://inbox.dpdk.org/dev/20200406085855.25773-6-i.dyukov@samsung.com/
Benoit's proposal to return mlx5 link status even without speed info:
http://inbox.dpdk.org/dev/20200327172449.6514-1-bganne@cisco.com/

Thomas Monjalon (2):
  ethdev: deduplicate functions to get link infos
  ethdev: allow unknown link speed

 lib/librte_ethdev/rte_ethdev.c | 52 ++++++++++++++--------------------
 lib/librte_ethdev/rte_ethdev.h | 20 ++++++-------
 2 files changed, 32 insertions(+), 40 deletions(-)

-- 
2.26.0