From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2666AA0547; Mon, 19 Apr 2021 04:31:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 970D840683; Mon, 19 Apr 2021 04:31:45 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 0C75440040 for ; Mon, 19 Apr 2021 04:31:43 +0200 (CEST) IronPort-SDR: jiEuJ4eV3GniKjzqEsHbAlUDbYDHSn3hQTlQe/2N5VPZ1BS0PHDi16jvbjmzPMv/eudFq4tMGy 7lh048Tvw+JQ== X-IronPort-AV: E=McAfee;i="6200,9189,9958"; a="195286090" X-IronPort-AV: E=Sophos;i="5.82,232,1613462400"; d="scan'208";a="195286090" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2021 19:31:40 -0700 IronPort-SDR: wqSB/MmqKpp+EZLrvXt09sxCAMLJ6aV3EMNNZ5/AjGvbjkAopoQ/TW9xsPG2seKzsQ88ZcrHGJ sqlAtlA0VUGQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,232,1613462400"; d="scan'208";a="452004078" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by FMSMGA003.fm.intel.com with ESMTP; 18 Apr 2021 19:31:40 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Sun, 18 Apr 2021 19:31:39 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Sun, 18 Apr 2021 19:31:39 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Sun, 18 Apr 2021 19:31:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PZo0h+BoKbBwulSwsRsbUINs/7tD0/GHdVC1Qfye2X0jqc87lBA7hpG8vdel0o9pBzKArQHHoWxLZWzgmHPR2LMnQslFeYWx2cMwcbMJBj5FYmnzwa4gHqKgkkd3FDGVYwxW42BA9nMGBvLuVgYChfdtLWikLvT2jZKMcGH4QJARye3HMA6FrbGZKYLVdatA9TvVVtcyFlyYMHCuokIQGNcWocltKjcP3TMfPTHfj+5H/9mJdoYSefjJjsdeEEbGz82YfuRofC+yZQB7Va5V+eaWHdlfmZeHtxPx+OZtfru4WcbuyHHG4kyl/2V+iwEhPBYatoTRMHhR2bOvQQ+YsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O+7uX27azyppAiB8Xr1ViDZxtaR07WK+4X+r4PL4bQ0=; b=COI1edP0LyrUlaUYgFP4ZlGG+drxGi0Wv0BqDUDIvRHf7YbzAOp+cqCBRr+SOsUEUKVt5W7h2lqEF1n/nyVsxysX9Z20LU9VF7P08umtZPgiMaDz5NuFsIDw6gGw6M26Z8BiAiP2nxwhQ8oaXq2KFytJRj24uDHX5Jo8LtVCiNqidQFtIhkxmfPgsp+FcenwsTIMMe/R41zuY6FncRUTFhIdPhAeXcQX93e6KHXAuQxGZNQPnYGsob3GTScbVcIJa+8Yycp8N2FJEVQEPZIGOLL30wNvN8ilLGPJiqJEyye9E2W6sByFDNNPra0jx9WCw9qeZPnBv5rFzNqRVHJD0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O+7uX27azyppAiB8Xr1ViDZxtaR07WK+4X+r4PL4bQ0=; b=sgZLkULCIZQXHjDIuNF9EoZ7OEVYtrNXA/Dq19HsWVSgtJU6+yKRyqqoNBu1++WwuD/qW5C+YANwmr7v81StGXGebzRrgN4FxNVRYXCBJHi2COr/f5r1VFLeSVoAlLxfRR6Ysm365nzYRQolS5yMjF8+l28yllPP/wwfUYBmodg= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB4187.namprd11.prod.outlook.com (2603:10b6:5:19e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Mon, 19 Apr 2021 02:31:36 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::79a3:3404:b907:d49c]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::79a3:3404:b907:d49c%6]) with mapi id 15.20.4042.024; Mon, 19 Apr 2021 02:31:36 +0000 From: "Li, Xiaoyun" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: "Yigit, Ferruh" Thread-Topic: [PATCH] app/testpmd: add link autoneg status display Thread-Index: AQHXMcL3dyHejF6cTkaK2ke1/VPziKq7JDcw Date: Mon, 19 Apr 2021 02:31:35 +0000 Message-ID: References: <1618469115-55992-1-git-send-email-humin29@huawei.com> In-Reply-To: <1618469115-55992-1-git-send-email-humin29@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 40bca983-7565-4b56-6122-08d902db40ee x-ms-traffictypediagnostic: DM6PR11MB4187: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:63; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RfmHirT03XcoDwiPmMhXg3h+9cxl/qg9/fCrfWmzfOkE25OenyTjy+5cYs/Wg5DuR9Ue6Rt00OUkWIpwnxWy8fWUv8aqi8lbW2KEVE/D2w0DV+bk3we1pWIo6cSRJJuDh7o7rE2tZw4V49eLKC+lYQRkOmme131iAZQX4y712EWsfsB0XlWfOTVRjd5TivOj+lL1tzzjR/uWtO3WOLDvAW6HPLBOotQlM9lWr23AYyfgpkFn5/BBVbvmtAJYFCrUDA/PsmPiDb0OAiiq7Lml39mRgIHPIhOecqBDBkZ9JcirnC7RV9xvWL5mFXtPHIS+PDmnbFNB1rJKKHtbq0VeB/rlqrLJ4g0TlVXwevK/TTjnQdm6trAdLQ23Zob8GPIKGls83YpAT8iPXB6c3yCcMjbFyb3LxHZqotD23+snHlHNwEhLt94lGbBz3lKpssnJgXONoftXQuX2H4ZvTBqyderO2Bid2pNBaaKEXvJeub9uSxcIE/R3wp8wDY7XIGZMPUxmnCQA91i+zBHVyOt9/UAGkHdXJiOSXgkwSEkZZWOb8oGbuC9Va29TG/YO4q9Ycm43TBjEirs4tR3yWaycWCDJWaA024mJTLYsfU3/03g= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(376002)(39860400002)(136003)(366004)(396003)(71200400001)(26005)(33656002)(5660300002)(76116006)(86362001)(9686003)(186003)(52536014)(66946007)(53546011)(6506007)(55016002)(8936002)(8676002)(64756008)(66556008)(83380400001)(66476007)(107886003)(38100700002)(7696005)(478600001)(316002)(2906002)(66446008)(110136005)(4326008)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?oq68pE1Knn5NWAXDFm4BT2eiWcuOoBhNyLWVKCaF3cq7R24Icfs/46Q5P9P8?= =?us-ascii?Q?YcjYsyPIsQimZ/wRl16dqciJs+MOVMF+i7GpfHBcT7f27CyKcxQZ4e0JbLTs?= =?us-ascii?Q?NodqWnPwA39ENq1kUwkAlBbilJGkaE0o8TNP+1HCcQeAue86ciCCGq89gXkG?= =?us-ascii?Q?5CUSIF0AlYhfCf1UIcDLriHr8E7ijjlAFVDOcTrwK1G8E08K9+fQ60Y6HiTO?= =?us-ascii?Q?I+sdz0UVrNd0grnsnH4f6/dlFl25agMNSKGMZ3FYWqmD+pLMkkykNv0WPR3n?= =?us-ascii?Q?mnemOI/58mUeCSsoj85GWatMi+hTDZ3o0U7+FO8dMNauuRS3P3qBASnjdSrr?= =?us-ascii?Q?NjmgfFiumxg4wg490n3bM582ym9enqKp0sF4ahljwNicZ3KjRsNAihl99Tmp?= =?us-ascii?Q?CwauOU92XsnFyhDmfLifuffYd/sDGB87bsDvXbfLDQtAVJcRtUE+bWtICO/T?= =?us-ascii?Q?n5jbFK6AEA9wNCtDT521gC+VXFngmR+Ev/THPtzE4h8esz5na74SB3b0U5xE?= =?us-ascii?Q?I3+tRVOgpz5I6G3CuVZxoMJqkCxtd8a+os2q5zLRl/YA9tuA5ImFhkVeLYg/?= =?us-ascii?Q?0wjm/JC3yz92KyFJUV3OMtpha5yXs75xP/WuQMztFLUUwwjcwJ56kJpsrTiW?= =?us-ascii?Q?BqloHzqQ3oUbaIsBAlC4OFKRiLxP3354AX7XORB9Wpz5YZBOkkO9QctvEtOT?= =?us-ascii?Q?+e6b/kswhuiLyRk5Qxb74OupVKxpZTfmqErW+pmhdw+6xPefSxTOTqGg08FI?= =?us-ascii?Q?YcRZpHRyCQvuXPT5uogogquJdk0XdBCUXDSupqk2CfKe38KeZKl7MCQ6dFvU?= =?us-ascii?Q?+XMic7CvO/6mWUTsJ35V9fAY27q1IJxGSgTCJnmkXYndwZtNE8SguE3AWQzQ?= =?us-ascii?Q?i4x/lYpvIriwEUZxR5/36G1fcd5ec4HiTcmuiW1Xar+RxhLCdND67vA0l5sO?= =?us-ascii?Q?5vd6LWCSYD9Io7yo3vlMrdfaZsumCAgCQ3eRns8APr9MQueILMm2me3GH8Z8?= =?us-ascii?Q?YW1zqUyutPgJIVgodQE/y+xIpMdFJFGXPvqRPvZCT+ksZOVFs3ZuUZ7jZWkM?= =?us-ascii?Q?x4AivfKsIavk/Cj6TF++r9fNEyu/mx1e35m4f3B296ok7j/x0Bf0pwZ2DKZw?= =?us-ascii?Q?rGEgCbR70dtDfV8iZ9J0Q+5emxzb1kqRRN6Tk0H88ESaTE0bGlezSfqCzwHO?= =?us-ascii?Q?NSCRUqjaHfYA6uRcovDIY3JqaVDcJtQPBdFGqd3bCYPi9eZ0pue6TqLBQ7pU?= =?us-ascii?Q?S8CUCuG279yk/BP388MQDrbhe01fKnNXK+8zfGBIx0CaDDzV/+KRJkrubKnI?= =?us-ascii?Q?u8XPSkaOCDVWpRTMVqxP0TYd?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40bca983-7565-4b56-6122-08d902db40ee X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2021 02:31:35.9197 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: kwhokzVRXKM1TtQtQi2QoJUCAlQ2Qj29dfNmiLuirpBzfcHrgNvQFHADp7OFC0sj/k7tbFpXJ6ZCoS7mWt9xEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4187 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] app/testpmd: add link autoneg status display X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Hi > -----Original Message----- > From: Min Hu (Connor) > Sent: Thursday, April 15, 2021 14:45 > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Li, Xiaoyun > Subject: [PATCH] app/testpmd: add link autoneg status display >=20 > From: Huisong Li >=20 > This patch adds link autoneg status display in port_infos_display(). >=20 > Signed-off-by: Huisong Li > Signed-off-by: Min Hu (Connor) > --- > app/test-pmd/config.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index > 40b2b29..0dd6a6f 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -619,6 +619,8 @@ port_infos_display(portid_t port_id) > printf("Link speed: %s\n", rte_eth_link_speed_to_str(link.link_speed)); > printf("Link duplex: %s\n", (link.link_duplex =3D=3D > ETH_LINK_FULL_DUPLEX) ? > ("full-duplex") : ("half-duplex")); > + printf("Autoneg status: %s\n", (link.link_autoneg =3D=3D > ETH_LINK_AUTONEG) ? > + ("On") : ("Off")); >=20 > if (!rte_eth_dev_get_mtu(port_id, &mtu)) > printf("MTU: %u\n", mtu); > -- > 2.7.4 Acked-by: Xiaoyun Li