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 4399BA04A4; Tue, 26 May 2020 21:10:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1CE841D681; Tue, 26 May 2020 21:10:49 +0200 (CEST) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 83A891D670 for ; Tue, 26 May 2020 21:10:47 +0200 (CEST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200526191046euoutp01ca18910e51341c4e03c24fa8c5eb1a23~SqbzDKxeY0044500445euoutp01H for ; Tue, 26 May 2020 19:10:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200526191046euoutp01ca18910e51341c4e03c24fa8c5eb1a23~SqbzDKxeY0044500445euoutp01H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1590520246; bh=xbFv7JylSb1HoB7p6QRNXcdex9AFxE2sLCKTuC7NmcA=; h=From:To:Subject:Date:In-Reply-To:Reply-To:References:From; b=H2Ju1KB+v1WsMMZq2/j4zaVSkAM0QDe6e1Zd/Rt9wfKIwaUHKk/qsHZX6nGlq1Vof HkCSyuyOOhbRKluAhSkgu0iPqxc9yWGXnlOORW8R14yChZA6dd4TSrgfkPBKXAmfFb 0RoSKBWOnwHORXqaMI55oT1aeNjKBs3bmkeVGToA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200526191045eucas1p21963363a6acd4a7e9737c1322daeba05~SqbyBaJU-0300103001eucas1p2E; Tue, 26 May 2020 19:10:45 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 63.B3.61286.5B96DCE5; Tue, 26 May 2020 20:10:45 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200526191045eucas1p2291305a5c7a7d59070af6330db52765c~SqbxuqVD71944019440eucas1p2o; Tue, 26 May 2020 19:10:45 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200526191045eusmtrp2eeedadb70d3ef21cab0ca90420b47212~Sqbxt_H1S0898208982eusmtrp28; Tue, 26 May 2020 19:10:45 +0000 (GMT) X-AuditID: cbfec7f2-f0bff7000001ef66-d3-5ecd69b5f909 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 1F.E4.08375.5B96DCE5; Tue, 26 May 2020 20:10:45 +0100 (BST) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200526191044eusmtip1e18c28cdbf2eccb3c925e87e6495e967~SqbxBA0mf1119211192eusmtip16; Tue, 26 May 2020 19:10:44 +0000 (GMT) From: Ivan Dyukov To: dev@dpdk.org, i.dyukov@samsung.com, v.kuramshin@samsung.com, thomas@monjalon.net, david.marchand@redhat.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, wei.zhao1@intel.com, jia.guo@intel.com, beilei.xing@intel.com, qiming.yang@intel.com, wenzhuo.lu@intel.com Date: Tue, 26 May 2020 22:10:03 +0300 Message-Id: <20200526191033.16459-1-i.dyukov@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200427095737.11082-1-i.dyukov@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02SaUgUYRjHfWfWmXHZlXEVfFBJWpAOyyP7MEWHlh+GiKg+WERaqw6eu9qu R+qHdD1bIUzNRQW1i8S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vo wOPxa8FSVo/Fe14yeRy7OY3d4/2+q2wefVtWMXqsfvKDLYAtSs+mKL+0JFUhI7+4xFYp2tDC SM/Q0kLPyMRSz9DYPNbKyFRJ384mJTUnsyy1SN8uQS9j9dMv7AX/uCq+Tb/P1sDYxNHFyMkh IWAiMbF5LWMXIxeHkMBSRol761qZuxg5gBISEq+fMEPUCEv8udbFBlHzmVHi+aepYAk2AQ2J 0x3zmEASIgJLmCT2rjrHCJIQFrCQ+Lh1AhPIIBYBVYnL60pAwrwClhKtT9ayQAyVl1i94QDY Lk4BK4ln/5NBwkJAJZ/udbBA2HIS1+d/YYJoFZQ4OfMJC0g5s4C6xPp5QiBhZqApzVtnM09g FJyFpGoWQtUsJFULGJlXMYqklhbnpucWG+oVJ+YWl+al6yXn525iBMbetmM/N+9gvLQx+BCj AAejEg9vwu8zcUKsiWXFlbmHGCU4mJVEeJ3Ono4T4k1JrKxKLcqPLyrNSS0+xGgK9OREZinR 5HxgWsgriTc0NTS3sDQ0NzY3NrNQEuftEDgYIySQnliSmp2aWpBaBNPHxMEp1cDoIlSisNXS quSnn4Sj11q33Nnhu2UU6+rb7qwvuvLM+9zTL8UeWXXHTn72UlbJrKj9VOzv/dmYi29fXo5a f3gDK9eKbbMOJUl8Op8ad6n3ffqRuXqSG+uFSssFXdtCJXTm51a8Es2QEmqsZ/3ed8SqskS6 bLP37VP3N/40/Tn5nOOu+Yo/FJVYijMSDbWYi4oTAfQKiuLTAgAA X-CMS-MailID: 20200526191045eucas1p2291305a5c7a7d59070af6330db52765c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200526191045eucas1p2291305a5c7a7d59070af6330db52765c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200526191045eucas1p2291305a5c7a7d59070af6330db52765c References: <20200427095737.11082-1-i.dyukov@samsung.com> Subject: [dpdk-dev] [PATCH v2 0/7] ethdev: allow unknown link speed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: i.dyukov@samsung.com List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" app/proc-info/main.c | 15 +++++++++------ app/test-pipeline/init.c | 11 ++++++----- app/test-pmd/config.c | 20 ++++++++++++-------- app/test-pmd/testpmd.c | 10 ++++++---- app/test/test_pmd_perf.c | 10 ++++++---- doc/guides/sample_app_ug/link_status_intr.rst | 6 ++++-- drivers/net/i40e/i40e_ethdev.c | 5 ++++- drivers/net/i40e/i40e_ethdev_vf.c | 10 +++++----- drivers/net/ice/ice_ethdev.c | 5 ++++- drivers/net/ixgbe/ixgbe_ethdev.c | 6 +----- lib/librte_ethdev/rte_ethdev.c | 39 +++++++++++++++++++++++++++++++++++++++ lib/librte_ethdev/rte_ethdev.h | 51 +++++++++++++++++++++++++++++++++++++++++---------- 12 files changed, 137 insertions(+), 51 deletions(-) v2 changes: * add function which format link status to textual representation * update drivers for Intel nics with 'unknown' speed TBD: update examples in 'example' folder with new status printing mechanism update remaining nic drivers with 'unknown' speed v1 changes: 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.