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 CB980A034F; Mon, 11 Oct 2021 10:17:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 530EE40E0F; Mon, 11 Oct 2021 10:17:29 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D200C40142 for ; Mon, 11 Oct 2021 10:17:27 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10133"; a="213770688" X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="213770688" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 01:17:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="523732391" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga001.jf.intel.com with ESMTP; 11 Oct 2021 01:17:26 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 11 Oct 2021 01:17:26 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 11 Oct 2021 01:17:26 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 11 Oct 2021 01:17:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JQgx893axXj18M0TWb+xH0dnV2zbSDYvW8qfG/c0PYpzxIOqhOfkC/7QbsqoxzuD6Y9wD7TwDMXJ0AnojBtCMuxJXJMr4tHtmDwuMpoEfiXyjVBmq7l+dpZ/TEttTHLCLAK3nzVLkEHujO8gijehYFZDm4EFd3ResEboyn0ooepxEQ+bcyruF0tPUBxgr+HmTJm56eg8fgeASSqaLJgTkcJplEb4LET3a0q/KDcA1IHUjYJuKA73NkCqNfd4CselIS7NRxCQ2LNaxjNmzzF0L3/ZzBN4v4QnvnxSD0rPzYaPSllF5sorOv3uieGgSPfe8L54CsnPzQdg1k+whmWl+w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gk4MBEKAdO1SqZFC2gqEg3t0hsHzY8c1mX8VKXLSR5U=; b=iSDad02H20nBji275pxlcrzXVL+qrRIGrj4LnOd16XgdeAU3zJnKT7deTI25BPswnfTg1zae75qPy2PZuNXmRrqC8m/MsXxPo0NdnZ399mMLusIXTaVERtG1AXS/T1TMpocURfPEQR1jrUvHkiaY8h2/ARbIr1JKlSXzq/6NNdTZ0slQTACL7cyt6VUizx8sOyrsntzKCbbBJB8J/LzflKNcrgnZF8VpBectloJ7MQLtgkWV7yRUPAJuCpheaJSM9+9Uy1pH/iiQQAKYym/+oYDv3yPTffWQywLmiKuoNZ4VIjWbXEd5/RFtnzdhIUOjKq/PX4deKcSVlnVSag+fdA== 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=gk4MBEKAdO1SqZFC2gqEg3t0hsHzY8c1mX8VKXLSR5U=; b=ROiWP4Te/9H0g8igxeiFksWPC+HBkjFFI53wdgtjsD1+z5L74DaGU2WSQwL383+jNd98nvpeVt8fRyvJ1il1NUMGNHpT7VaUzbrTkPlxRVVJF4svgH3UKZl1FK139hD92excTr+GMJE8WdFi1ik5pAovcqZBu4IvVuyK3fAze9Y= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB3627.namprd11.prod.outlook.com (2603:10b6:5:13b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25; Mon, 11 Oct 2021 08:17:25 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3%3]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 08:17:25 +0000 From: "Li, Xiaoyun" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: "Yigit, Ferruh" Thread-Topic: [PATCH v3] app/testpmd: add cmdline to show LACP bonding info Thread-Index: AQHXsSrNdRyWp4DGeUC/vnT2LDLd8avNjX6g Date: Mon, 11 Oct 2021 08:17:25 +0000 Message-ID: References: <20210922062443.34088-1-humin29@huawei.com> <20210924095720.64398-1-humin29@huawei.com> In-Reply-To: <20210924095720.64398-1-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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b77836d9-f9db-49a4-fc29-08d98c8f8ee7 x-ms-traffictypediagnostic: DM6PR11MB3627: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 07Y3ES0WSoUqwNn4w67rEZUyJqalxdBrz1HVFWhxvpA5r2xt+S88c1Ub/x1p3/k4zyF93f7AK84LNcR4yFBqyhSboa7DjvPNGaTmu1/2tLfEGKNxlbp/nUIiDgmoINQ4YxI3oZDltnrqiEySI+wJdJ02M8M5hYQ/DAtDB1tymOvqJws4W7NOnEZwKZd5pO7BWmdMz2tTljiznUvHrhaX0MdwZxqrVvZtceX11kva14PLlxWVyM79rNxKbr2MXiuEAvUXpHTVYu4CUwBLAYus/HPMsgdiwq1lztdpE/r5TV8HcorlhZNK6M29e1EET2zMZTMXWRNT/jGBvOsGFe4sv53AdKLf+GgV7CkkLT3v9k8zN7XjvlGm7FjAU9uONc0LWFBY4vDeOaPyvX7zxUv3M20pRmDiu8DtoqRnXEHh45U7pR2XJfroqajDnXfRecaODhu75wnbOPzK6sJPyW77kbRiX/yfv+6MJZmRpIyPYQCy4VqsFTiTujNjdYahmzJ+gKdrpNDW8F+bsEf7sJIl8bt6qjcOHjFP2PC8CXCMDbKzGNfyb3KEL/ZMmWR/Ul+VuRs7fZVGRHjkRZSz7yE+rxI1lkejgS+5ryKsZil9jQjC3h236fB2AkZXOSELsW7l39UKbnbh7vzE/ev7p0liaRhSRBnaTDHdNBSXrvCC3H+KpyxcP6vRJgMQzbkFOAsw+0aDhiQf/cBouA1ZB9c9UA== 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:(4636009)(366004)(5660300002)(86362001)(6506007)(4326008)(186003)(26005)(71200400001)(66556008)(66476007)(33656002)(7696005)(107886003)(83380400001)(8936002)(110136005)(66446008)(4744005)(64756008)(8676002)(66946007)(508600001)(2906002)(38070700005)(316002)(53546011)(76116006)(9686003)(55016002)(52536014)(38100700002)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XVQ6tx7jTMIJBlc6a4FWgEA66TjFEJwlkltGs4rip+dN0U/ClAtPqdBBaAq1?= =?us-ascii?Q?prpHmyyFMVrgr2XtFye6jNiPW1itZGkzhEL0wtPUtLgTF/fMvuotXGTpN6uT?= =?us-ascii?Q?ZFzGPXBLP9QhjFgDvlZc7/OvNzjLyw3PgfmQO12wOPy7OMdtdOr/KKvIZI+O?= =?us-ascii?Q?HsNGi7VvxfmV3eLblofgu6zoDCvdKSnshl9aOAzCUZF0rY5zQeEr1o7wTfQE?= =?us-ascii?Q?Q6ioEqU5m4+1LCYSn9lPIzCyf79vzhVDsmyKh6mfBQGrxEV06nCkntP3NipK?= =?us-ascii?Q?JxDuG/JmNYg83eTLpUuI0JmTiGf7aHa+Ded9a9Wn3qI6YfSkGj5JUkxvyk0N?= =?us-ascii?Q?6pmcd1VOg0W3WBGPMyJcXeL8tY2TWtW4BOdZ61sUEKd9fvRQ4MepyE30Yo57?= =?us-ascii?Q?OCq9JzbMCPixS6oIOpm54zRsuNl42dSaem+dXNm/i8WibBw7XEHQgdKAryHb?= =?us-ascii?Q?eUjcxkfGrXU3o3jyo4bg0pfAdyK/6zHPSgtQTuSHhxnSPg/xKUb0IKFad/lQ?= =?us-ascii?Q?kPmzDOXmeqm11DW/rN1JBUT/C1AoM90mxm6qxwvTdFQ9fjAdtarerEQ0VKgO?= =?us-ascii?Q?MNNJQtsg++I/yRPEiThQLOjUnTyQHnuoSgLTLySr8iCtKkP9bhU9nb2Ca+qB?= =?us-ascii?Q?GnNc7+VPHp5eE6BfOgtasl9GZDRVwSCyX9FMMBRzvFUu8lpP4bOz5MDBrNts?= =?us-ascii?Q?khGU4qr0Pd30MmiwOIJPa9Js+Ou1hct26tWoZkOPehK+3G5Txs7Lm934Ltd6?= =?us-ascii?Q?xKc2gm2r8F3lzR/HJX2t8DlgW3pVr4UcIA3sM9Z7jQhLmkJ3FZCn7+rFvG4V?= =?us-ascii?Q?WBhPOj74aZbsVd4ueNiuF/MPpT8jpNXVYv7WRw0rBXiCuIisS1XPGQK84nfJ?= =?us-ascii?Q?wmaPrBJQswju1mXkb6PrGdRRs4ulzGKKs095lj+vOm9GpBvl9QqjUT0KYCc4?= =?us-ascii?Q?yacODt4B7OYdZcbYvp5KoWqIW465SUphXSzCNb1f+i0ANQ5MaKTdmfSRen7Q?= =?us-ascii?Q?r7v+RvkoSANXGaiYXOxy8aoOt1Ds4me9YVS6pgPxntjMsbI41geNfGY0PpAj?= =?us-ascii?Q?SfaXqJh20e3+kdeus4gtLbuC+pK/yNKxYSPax/nFt2DsIdmMgj4rTBH141wB?= =?us-ascii?Q?Eo5Q9lKsEcgoRPE082IOe0aitt7FWAqjNXgzNIYKE2qaF9grNt6kLnNTRDGE?= =?us-ascii?Q?VR8SoMm3er+QiPcOQyyc6Qwa5MiXoLT88xhvdhLlrtK+mH/Pr0t0/tC0IVnT?= =?us-ascii?Q?RbK4PSmMHeHSVV/mRwe3lj2UZk3N7PTtQeJRX2LEn65m3HXg5zjVDKYsom72?= =?us-ascii?Q?W9yjrcN4zLa92zyVQ5fHTOey?= 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: b77836d9-f9db-49a4-fc29-08d98c8f8ee7 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2021 08:17:25.4191 (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: BEo4g6eMwooi2tO/sF2jY9W99G1dl555zvQMGK1j9LKzBtToguZVOwcP267VceRLceKfY4u6DTFWZQR9W046Uw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3627 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] app/testpmd: add cmdline to show LACP bonding info 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" > -----Original Message----- > From: Min Hu (Connor) > Sent: Friday, September 24, 2021 17:57 > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Li, Xiaoyun > Subject: [PATCH v3] app/testpmd: add cmdline to show LACP bonding info >=20 > From: Chengchang Tang >=20 > Add a new cmdline to help diagnostic the bonding mode 4 in testpmd. >=20 > Show the lacp information about the bonded device and its slaves: > show bonding lacp info >=20 > Signed-off-by: Chengchang Tang > Signed-off-by: Min Hu(Connor) > --- > v3: > * fix state show. >=20 > v2: > * same patch with v1. > --- > app/test-pmd/cmdline.c | 184 ++++++++++++++++++++ > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 + > 2 files changed, 190 insertions(+) Acked-by: Xiaoyun Li