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 450894317C; Mon, 16 Oct 2023 10:25:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D4D54402D7; Mon, 16 Oct 2023 10:25:34 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2066.outbound.protection.outlook.com [40.107.93.66]) by mails.dpdk.org (Postfix) with ESMTP id 45F7B402BD for ; Mon, 16 Oct 2023 10:25:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i0WQuXKm7to2dzusut1+mG4+iiQ8QQEtTwVUREIBCfgYa3UjXuGI1Y3LBqLrIdgMqFIt4RSJXSoS9GJXhMJ6tZxxmzk2FQAooZURJ0ZFBI9Ds0bgOWAKSGhel2C0Lj0kl411GWZXM0WHBz5julwo5stv3Wu3otiBqEfdnPfZTbIIP/Ida2ANQr3YJhngQJcXW8TTjcbmIt1oB56RIoJ7VNNS4WPHTerxb7HhK8SPbZgvFSdjD+Su6tkplzgopmWh0raX0d6YUnwUKp00lIQzBRCfaPhfucR3Hoph5b00MTu6Vz7zBgUARSw4uQ2MZAwvy9oGriB2o+nAwTljWVNr/g== 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=WBoTKY6QRE3AezP+sPdMVJ7ibJNbKODb77xRdsUN5fw=; b=a3TAPoqLGWkdso7dObczVwtd77O8r0cIpwbcAUHLMjqEWXiC57JfYGU7NkfqTXPEBw1eTJdah5zBJM1VF+DuNw3prMWtlMb2hfiOfI73iZpE2DACOt4jHS8+WzUjvQR3FtX0o45wDxfl1iL1eofLwrAdTP4J0hBRrIQqPSuwvCc2gBSetvUvAZSxByHaiYFe1J+GS17hC40JNe8OaDHQwK+dEbtU/hSyCA1ZzKni9gGdtPtUAcQcQWK42VXMx9l+wjwNv7jT5KQgRaqzCq6jSRQt0RofF9HcWohJ+LD97lxA/52aYHEWzGWghqhMV0LqsP3jynh99DK6PSg9tyJyZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WBoTKY6QRE3AezP+sPdMVJ7ibJNbKODb77xRdsUN5fw=; b=KlgZc5w/NYGft5ap+HHzkqkbTcKQaF3KDFywhwXoIiyJqPRLdOu13WENbC+4Q3JH/e+I/NzjuW+yn8gVYmlVVbxy40uNXFtQOmlejLN/u9ISMLm0nN2ujg2BmJvb5JEyKNfADNHkqW60wVV4Gb8hli6iRX+3hYJbZ0mIEQd7Hvtoyhy2jyW8FCPpnuX/l8k3lKGXG/OvpKeh9jVVtmQ8T5TCO9+oaktoC5LDGUjt6gCO0mty0Y8MZtdgK50HCzAm+jIAU3mScgZWJopQRl4Hf1gYqgVa66C1bc/ojXCILRpntywIB3Pk+isvtW23G5uBOh9eAcfYSWeGCLNWqMQNtw== Received: from BN9PR12MB5273.namprd12.prod.outlook.com (2603:10b6:408:11e::22) by PH8PR12MB7026.namprd12.prod.outlook.com (2603:10b6:510:1bd::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.34; Mon, 16 Oct 2023 08:25:30 +0000 Received: from BN9PR12MB5273.namprd12.prod.outlook.com ([fe80::de5d:a135:6690:3360]) by BN9PR12MB5273.namprd12.prod.outlook.com ([fe80::de5d:a135:6690:3360%7]) with mapi id 15.20.6886.034; Mon, 16 Oct 2023 08:25:30 +0000 From: Rongwei Liu To: "NBU-Contact-Thomas Monjalon (EXTERNAL)" CC: "dev@dpdk.org" , Matan Azrad , Slava Ovsiienko , Ori Kam , Suanming Mou , Raslan Darawsheh Subject: RE: [PATCH v3] net/mlx5: add test for live migration Thread-Topic: [PATCH v3] net/mlx5: add test for live migration Thread-Index: AQHZ6tEfLztc28Tke0COEy3FgQL8D7BMPXIAgAAAXjA= Date: Mon, 16 Oct 2023 08:25:30 +0000 Message-ID: References: <17253347.geO5KgaWL5@thomas> <20230919081225.480497-1-rongweil@nvidia.com> <2649876.Isy0gbHreE@thomas> In-Reply-To: <2649876.Isy0gbHreE@thomas> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR12MB5273:EE_|PH8PR12MB7026:EE_ x-ms-office365-filtering-correlation-id: 2f8e6593-c700-41e2-17a1-08dbce2175b6 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Jj8sSnXdmaj+/9HG3jnS6wzYLtqPq2gwBRgRkm1AFmc3B26DG6DcUcBxDeiSBj4nzs2Cc3RTyjkNIl8S2XdwFnG0OWGVjjcFbQoEXAwBx7IB+YtohcCpKDSgvA61WYsgOPdpXJYiCuvlabMNEHltXtDpxZVt5/xreZGcCw+Nicbro57U0SEbPVthoqfF9cJKN5jA/lTFhykjmpNcZqh6NLVcx4HRyWhmQ3D2SR0xKvwgfIYn6DpH4YKSslpRfIoJDP5zDHGuP2es+MCSVXzQzCGvVrsYwb4Ym24o/aR+CR48szXSKH+MR4KryVU2BufrQ5RV+GS1We3SnHk1KnfTjCSh5yi4m345hZ6I39WHrI/ZCmJLmlRHjl/TLFoxVBTU03mr8OHoss19Hn3fpgcy5cHrax8gOttzbE8eJ6s9Z7VVaIQVOcJjaxgAaPaqFVU8fCxUMcM4dqpZt3ByU1D+fgLq3AX003qLLr5yEdlEUjyBppUq2aSSdnlpx5iYtg/wqz84XvRyEcEbXNW4SDR2BKB+zp0LLaf/ZtaLPPxrv+I5zWa2Ec4cCkGiUAfGRoJnTtXFyIhwLySJd0QoIOn9+IaFxKSZ38FEB9rIm5zyzAPpE8h/+2es9lJgwsPZRn/y x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR12MB5273.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(346002)(376002)(136003)(366004)(39860400002)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(38070700005)(7696005)(6506007)(26005)(107886003)(122000001)(38100700002)(66446008)(316002)(64756008)(76116006)(6916009)(54906003)(53546011)(66946007)(66476007)(66556008)(478600001)(71200400001)(83380400001)(9686003)(4326008)(8676002)(8936002)(5660300002)(55016003)(2906002)(41300700001)(52536014)(33656002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?o3Qty1Rl4mNAREIgjx3CF4nl8g+fhiIB2w1SYIqASp+mtjJ2QxddoKWpPPMT?= =?us-ascii?Q?8u1KnvMK2Goe+mRQ0P21rUdIt1pR6Rb2gSeg3BJlAPkwAg10lw9k/8xplf9A?= =?us-ascii?Q?orHC9ixHiFlMBQ6yQz8mWJxdAn8CglbQVfa8doipocfVFn/n8ThoL4gYUKMs?= =?us-ascii?Q?Zqr+uxeTpln1K/D9pPDcpnurvJafDF3pPj2RLLns6YmihV5IsUCHR3IMC2w6?= =?us-ascii?Q?D/qJFuxruQHcsv40lYwmVL+c91ecVbEp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LU6LFd+EJOJZcUt5OzqmrD/a5tfUzzNcfRtbO2E+5X1AbLPFPFkH1?= =?us-ascii?Q?84saRIwa879y82/FvglXmolYYvhXtTZBnWHegRBTvP2+X75uxTQXBEGkMnHJ?= =?us-ascii?Q?eqNrKO4o6S9rWUbQjzwdKVV6oOJ8E1/GDYVo1eUTIZ3SaMg0tCcZ5za6ybyS?= =?us-ascii?Q?mFfJQvPJlTz3FxYbAziLSGGcAvJjtPhu6w1+SbbtTgrMk2esVxjO+eo8IC2e?= =?us-ascii?Q?91ZFMclb8mj6g/YmHLBo7uUvbH0i80hJQBYnElprWvF12IdND00lPLfZUUXZ?= =?us-ascii?Q?dL3m1RjoZl575+r4ausnwmvnok+qI9JJoHJ6mLGu5Hk8eL8tNwi3dWBiFEZd?= =?us-ascii?Q?bfCX2tKg6DWvgy3ZUl0GcrkiZ5TLIVLsTwaI8Xzt5Vwe/F1FNS3irHu6LQcX?= =?us-ascii?Q?u2AI8TcF0UIuoZoGm2nx/GBN8p9E1jzH8Qd33k0p?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR12MB5273.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f8e6593-c700-41e2-17a1-08dbce2175b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2023 08:25:30.7154 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WGMyKLOU3ZEZk1Y9aPdg3Y3PhZEKm3bpf8QzamoDZiilz9aoOMBx8Y2w/H5HIPmoc0pDGN23GZBfFo2fewSrxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7026 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 HI BR Rongwei > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, October 16, 2023 16:20 > To: Rongwei Liu > Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; Raslan Darawsheh > Subject: Re: [PATCH v3] net/mlx5: add test for live migration >=20 > External email: Use caution opening links or attachments >=20 >=20 > 19/09/2023 10:12, Rongwei Liu: > > This patch adds testpmd app a runtime function to test the live > > migration API. > > > > testpmd> mlx5 set flow_engine [] Flag is > > optional. > > > > Signed-off-by: Rongwei Liu > > Acked-by: Viacheslav Ovsiienko > > Acked-by: Ori Kam > [...] > > +Set Flow Engine Mode > > +~~~~~~~~~~~~~~~~~~~~ > > + > > +Set the flow engine to active(0) or standby(1) mode with specific flag= s:: >=20 > Need space before brackets. >=20 Sure. > > + > > +.. code-block:: console > > + > > + testpmd> mlx5 set flow_engine [] >=20 > What are the flags? >=20 The flag is optional and defined a as bitmap. For now, only one value is accepted: BIT(0).=20 I don't have any idea to propagate the value definition list here. Any sugg= estions? > > + > > +This command is used for testing live migration and works for > > +software steering only. > > +Default FDB jump should be disabled if switchdev is enabled. > > +The mode will propagate to all the probed ports. >=20 > Looks OK. >=20