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 A853FA0350; Thu, 7 May 2020 15:55:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8609A1DCC3; Thu, 7 May 2020 15:55:16 +0200 (CEST) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 8B2B51DCB6 for ; Thu, 7 May 2020 15:55:15 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200507135514euoutp02ecbe2f7fd8670b01bde6a8b76a9017b4~Mw34cLuBF1137311373euoutp02j for ; Thu, 7 May 2020 13:55:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200507135514euoutp02ecbe2f7fd8670b01bde6a8b76a9017b4~Mw34cLuBF1137311373euoutp02j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588859715; bh=lx4fT6NXfpDfoe9mGcUR+9KXLgLEyAzJtf4qKL+daXc=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=GP3UMPgaFyyjnR3PDwwro6XgAK91hGXdfMk844UrmxNgq5cVB9N5E1TsfpHQMK/mz ICNngGs5ogbT/gjCr4SVgWrwMJFX5ky8mSeM1u3vQ1mlzuNzm8s6djIQ8v4yuCljqv qveiwiqMay39C/oUBlPIFTIYKosZ3IiPopQbde14= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200507135514eucas1p2f717374eb5769bcd7c4fe28e895806b3~Mw34RiyxK2676126761eucas1p2i; Thu, 7 May 2020 13:55:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 03.53.60698.24314BE5; Thu, 7 May 2020 14:55:14 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200507135514eucas1p25f6772baf4d495ea39627c2f0b8eccdd~Mw33176Nf2873728737eucas1p2Z; Thu, 7 May 2020 13:55:14 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200507135514eusmtrp1cffc86cd12fbaddc88576f3f49fe16a4~Mw331TBAG1494914949eusmtrp1c; Thu, 7 May 2020 13:55:14 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-f3-5eb413425f4d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CE.67.07950.24314BE5; Thu, 7 May 2020 14:55:14 +0100 (BST) Received: from [106.109.129.29] (unknown [106.109.129.29]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200507135513eusmtip227e1623e905d3feb9dc469998178caf4~Mw33STJoW2978729787eusmtip2B; Thu, 7 May 2020 13:55:13 +0000 (GMT) To: Thomas Monjalon , Ferruh Yigit Cc: dev@dpdk.org, v.kuramshin@samsung.com, david.marchand@redhat.com, arybchenko@solarflare.com, matan@mellanox.com From: Ivan Dyukov Message-ID: Date: Thu, 7 May 2020 16:55:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <19616537.0c2gjJ1VT2@thomas> Content-Transfer-Encoding: 8bit Content-Language: ru-RU X-Brightmail-Tracker: H4sIAAAAAAAAA02SbUhTYRTHeXbv7r0Op9dpeLDAmBLOUhMjZoiZFCz6kvkletFWXlRyU3Z9 rSgrEptWauJoYoiWioKhTleRy5fQbDlNsxyliPma5PIlcmqW253kt9/5n/95zvnDQ2GiZr4X lahMZVRKeZKYEO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UyMlXSt7NJ Sc3JLEst0rdL0MvY37iCuWAWR8Wzs/2MDYzn2LoYOTkkBEwk3l9YwNjFyMUhJLCUUeLC7Hms XYwcQAkJiddPmCFqhCX+XOtig6h5yygx//1ORpCEsICNxPJ/65hAbBGBIIm1nedZQWxmgVKJ 7tmbwGwhgSYmib2bfUBsNgENidMd88DqeQXsJE49PwA2h0VAReLL3WVg9aICERKfDx5hg6gR lDg58wkLiM0poCnx5NEydoj5ZhLzNj9khrDlJZq3zoayxSU+bD/INoFRaBaS9llIWmYhaZmF pGUBI8sqRpHU0uLc9NxiI73ixNzi0rx0veT83E2MwEjcduznlh2MXe+CDzEKcDAq8fBafNwc J8SaWFZcmXuIUYKDWUmEl+fHxjgh3pTEyqrUovz4otKc1OJDjKZAz01klhJNzgcmibySeENT Q3MLS0NzY3NjMwslcd4OgYMxQgLpiSWp2ampBalFMH1MHJxSDYxbX/2u/KL0b+qvLW4Whrrl kl8/z0p6e2Tu0qSyW9dZ4lwdk/dE3eHyenbb6NfC3ylnkr41t9zjObK2cqNR3f0Vc6tVjmhH i95YeE2S7dmxpR9P8YRtVLnd4qVkcF/K1/9N3Jy1B7cElVexBvJMlb+qedsy1OfESb+uaVt0 45dX/Ot7vmQzQ1GuEktxRqKhFnNRcSIAKHb+59oCAAA= X-CMS-MailID: 20200507135514eucas1p25f6772baf4d495ea39627c2f0b8eccdd X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200507103120eucas1p2054ad9b8750c04edb30f3c9cc3bdd582 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200507103120eucas1p2054ad9b8750c04edb30f3c9cc3bdd582 References: <4816966.qqrk5fENW1@thomas> <19616537.0c2gjJ1VT2@thomas> Subject: Re: [dpdk-dev] [PATCH v1 0/6] ethdev: allow unknown link speed 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" 07.05.2020 13:31, Thomas Monjalon пишет: > 07/05/2020 10:53, Ivan Dyukov: >> 06.05.2020 20:42, Ferruh Yigit пишет: >>> On 4/27/2020 10:57 AM, Ivan Dyukov wrote: >>>> This is initial patchset which introduces UNKNOWN speed to dpdk >>>> applications. Also it contains changes related to printf formating. >>>> Patchset contains changes for app/ and doc/ folders. >>>> examples/ folder will be provided later. >>>> >>>> >>> Also I can see there are some physical PMDs that are using 'ETH_SPEED_NUM_NONE' >>> as unknown, can we fix them as part of this set? >>> >> Initially, we had a plan to use UNKNOWN only for virtual devices. >> >> Thomas, could you please comment this? > No I think UNKNOWN must be used also for HW devices which are not able > to provide a speed value. > > In mlx5 case, it can be used to return the link status (up/down) > even if speed query is failing (it happens with buggy kernel version). > Ok.  Is ETH_SPEED_NUM_NONE still needed then?  could it be replaced by UNKNOWN everywhere? >