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 2A855A058A; Fri, 17 Apr 2020 08:40:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0DD371DE40; Fri, 17 Apr 2020 08:40:49 +0200 (CEST) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 2E5951DDDD for ; Fri, 17 Apr 2020 08:40:48 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200417064047euoutp02a76ed671648b0e8244846abf3ae36eed~GiC161Mqr2814128141euoutp02W for ; Fri, 17 Apr 2020 06:40:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200417064047euoutp02a76ed671648b0e8244846abf3ae36eed~GiC161Mqr2814128141euoutp02W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1587105647; bh=CjWl+EEsz9lmAMRLrj9opolzw4s15ED//k6Nyiw9k+0=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=r6FgBuRNZ6nGrInjvbxYf5mT2W9od9Nda1SOot7b8AfoHx7iYnPNAaOA6PqPaHssN /o8cVFnL/o0xxgo75N5vnbNjLJI3Hyadkv6Z/6U6XCFfvMBniymOCA3pKNCdzpzxXM UC8Dw4PVnq95TknZkThmekdDASGqcTyN1yz13sTs= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200417064047eucas1p2183fd844b814c61b83243a14e01a522a~GiC1f99iU1508915089eucas1p2j; Fri, 17 Apr 2020 06:40:47 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id EF.20.61286.F6F499E5; Fri, 17 Apr 2020 07:40:47 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200417064046eucas1p170e3d4b9f8ec39c95382fb1d4a18dd1f~GiC1Mzqge1889418894eucas1p1N; Fri, 17 Apr 2020 06:40:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200417064046eusmtrp2a596b94fd0077e1baafedff8686dcebb~GiC1MJXag1023910239eusmtrp2N; Fri, 17 Apr 2020 06:40:46 +0000 (GMT) X-AuditID: cbfec7f2-f0bff7000001ef66-8f-5e994f6f1083 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 16.75.07950.E6F499E5; Fri, 17 Apr 2020 07:40:46 +0100 (BST) Received: from [106.109.129.29] (unknown [106.109.129.29]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200417064046eusmtip13f67560b3c1199a7206239d3f9dd8b5d~GiC0nB1Ny0831008310eusmtip1h; Fri, 17 Apr 2020 06:40:46 +0000 (GMT) To: Thomas Monjalon , maxime.coquelin@redhat.com, mb@smartsharesystems.com, ferruh.yigit@intel.com, arybchenko@solarflare.com Cc: dev@dpdk.org, v.kuramshin@samsung.com, amorenoz@redhat.com, zhihong.wang@intel.com, xiaolong.ye@intel.com From: Ivan Dyukov Message-ID: Date: Fri, 17 Apr 2020 09:40:45 +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: <3130270.b8e9qBsS6s@thomas> Content-Transfer-Encoding: 8bit Content-Language: ru-RU X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEKsWRmVeSWpSXmKPExsWy7djP87r5/jPjDI52s1m07njAYvFgyl02 i3eftjNZ3Nl7mt3iWOceFou+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9k8+rasYvQ49aib2WP1kx9sAexRejZF+aUlqQoZ+cUltkrRhhZGeoaWFnpG JpZ6hsbmsVZGpkr6djYpqTmZZalF+nYJehlTHq1lLHjNVrH5im0D423WLkZODgkBE4kfL44x gdhCAksZJVa+Eu1i5ACKS0i8fsIMUSIs8edaF1sXIxdQyVtGiZkvrrGDJIQFPCUefrnACpIQ EZjCKPHmQjNYglkgX2LLjFUsEB03GCU+7X3OCJJgE9CQON0xD2wbr4CdxJFv18DiLAKqElc6 Z7KA2KICERKfDx5hg6gRlDg58wlYnBOo9+7i11ALzCTmbX7IDGHLSzRvnQ1li0t82H6QbQKj 0Cwk7bOQtMxC0jILScsCRpZVjCKppcW56bnFRnrFibnFpXnpesn5uZsYgVG67djPLTsYu94F H2IU4GBU4uFNsJ8RJ8SaWFZcmXuIUYKDWUmE96DbzDgh3pTEyqrUovz4otKc1OJDjKZAz01k lhJNzgcmkLySeENTQ3MLS0NzY3NjMwslcd4OgYMxQgLpiSWp2ampBalFMH1MHJxSDYwar+Sq L+mJ7XL0+c1zOCDhjEZdQeosR4mSc4fWTvFpnGbwKEb7r2JcVtBK5SNbXXUvn2t/2zhz2SXn dtYPs9WWrJe/037cw7FgQUPei/Jb+j4Vh35HLKnIFQu5Y7/Y6qD4hRvHf35dl3Repywz5h3z V5nG8D7zNUf+uqlq8n/0KHgS7S/N8laJpTgj0VCLuag4EQBPCClE6AIAAA== X-CMS-MailID: 20200417064046eucas1p170e3d4b9f8ec39c95382fb1d4a18dd1f X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200416124311eucas1p160468089b68c1d23578d4c3e6b3d0d75 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200416124311eucas1p160468089b68c1d23578d4c3e6b3d0d75 References: <20191212085012.9170-1-i.dyukov@samsung.com> <20200416124258.15549-2-i.dyukov@samsung.com> <3130270.b8e9qBsS6s@thomas> Subject: Re: [dpdk-dev] [PATCH v12 1/7] ethdev: added UNKNOWN speed value 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" Hello Everyone, Ook. I can take care about examples updates. link_speed could be printed in following way: ("link speed %u%s", link_speed, link_speed ==ETH_SPEED_NUM_UNKNOWN?"(UNKNOWN)":"") Please let me know if you have any objections. There are about 47 cases. $ grep -rn link_speed examples/ app/ doc/ | wc -l 47 Thanks, Ivan 17.04.2020 01:14, Thomas Monjalon пишет: > Hi, > > Please look at an update below from ethdev co-maintainers. > > 16/04/2020 14:42, Ivan Dyukov: >> UNKNOWN speed equals to 0xffffffff > [...] >> +#define ETH_SPEED_NUM_UNKNOWN 0xffffffff /**< Unknown */ > This approach is being rejected in another thread: > https://protect2.fireeye.com/url?k=ed2d2a70-b0fe73ce-ed2ca13f-0cc47a31ba82-80584d32127c24cd&q=1&u=http%3A%2F%2Finbox.dpdk.org%2Fdev%2F42de4bd1-0a6c-6591-cd27-67ce692fabc9%40intel.com%2F > > > >