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 EC2CB4317C; Mon, 16 Oct 2023 11:26:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 602CA406B6; Mon, 16 Oct 2023 11:26:52 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2041.outbound.protection.outlook.com [40.107.92.41]) by mails.dpdk.org (Postfix) with ESMTP id 13A69402BD for ; Mon, 16 Oct 2023 11:26:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TcFnBPC77xU0JG/1e8JYcdUja+XmNMIjRe2T4e0yIgirrAr4U2qIDZ85nw2m9bQbC8ad0yAaeKSYuJgXfoeOniEPMk8u/xC2PgDfVbv1Bftj1GfdGlrHCEqLCRUfKWEB6U37BFYzkwMIgEQiNNydhtABkSnfLsW5/B4frUFRHNs8FlbWQjt0omhltSmiQqwFZD8ebBQ822nyGl1M4yt3qY4Y4f+ZjSpvyT35VTz3QnyeOPtFcbfPy5BP/jJSL5WLnsckrsbd4szfin2DMaxJn892pLZk5af7Hk+9uokiF5PKkCMYm6j2fpwFmfsOzpBXoMfz9jWsmAIBay8Zi9QE7A== 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=gxfvMienB/BIa09pRZLAJDDbPAfeKCXxnMSvZwzwgyk=; b=XJUc0S6XQAR5CQCroNF4343+1gN3EfxVjM/yNLKYu64mQ1IrTAkZoLe0NENjjiAKzLqW9S11cezst1Pf+GKHp7scXpRSGjgYaxyqMX90Pd190UP8rV1N0Pok5hnxeQ1hLv2L8tdSD+rWCPt/FlFud/hMgO2+W3f8u6txM6Z5jsL3YcocVAAC9HDO5/GjeOoP/sF0f/oneTNqyD5cyhoHFrivhQhtWo2EpT9KYDHX+Wt1rtcUIu3goM006wVu20q0/DEXCp9R9zTP5QiAagiXUuj7a3qtgDQrCv4gqPY9iO9m31GfJV7g/wqVqgqu56hxeLbrZlYdkTUaNyX19oJZUA== 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=gxfvMienB/BIa09pRZLAJDDbPAfeKCXxnMSvZwzwgyk=; b=i8hzzV2DNKVksF8SiBiayWXxy3QewUujNvIkUjEzjRUyX2J553YCyOaAkJ4LAPldwsJRt38ogsiAvDqjW9x4A2QHpEb1172CGE9zcqKX8ZyOUuyObMIMLOnskwg+OHn7L2bf8EJ40kMiWZn7TVooVRWRUFkT9lowDM/BrY59JsKdnF5pU2ptCicDcBPt39tYlOC0MUwwAoTgmF3d4jBDbJJK3sLIvYyxgvOGZv6T7t9CcYdTxVXwV5jV1/Ixb+y2XJa7GntGoH2WpTVo4cj+C4zvfbBJkouZ2TEF7jQwlXJAbSInalF3ZHFn4tqPkgHlSmg6Rp7IEky7OYHdJueSig== Received: from BN9PR12MB5273.namprd12.prod.outlook.com (2603:10b6:408:11e::22) by SA1PR12MB8841.namprd12.prod.outlook.com (2603:10b6:806:376::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Mon, 16 Oct 2023 09:26:49 +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 09:26:49 +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: AQHZ6tEfLztc28Tke0COEy3FgQL8D7BMPXIAgAAAXjCAABIl0A== Date: Mon, 16 Oct 2023 09:26:49 +0000 Message-ID: References: <17253347.geO5KgaWL5@thomas> <20230919081225.480497-1-rongweil@nvidia.com> <2649876.Isy0gbHreE@thomas> In-Reply-To: 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_|SA1PR12MB8841:EE_ x-ms-office365-filtering-correlation-id: 172be613-07f9-49b2-e16d-08dbce2a0639 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: c2nFL/kXksUl0G7nEnWBl8bWlLkCkyPCQAqeZKGf0ISZ3iQv2CMeIvbX+r7mmNp26AIBs7nrSu5ZjBNMvt5XCzFdN+HvY2RIAdg2Dv0dqMQzVM68NNGpLLLS33X5iB93zFzk/LvmcthbzBc4vol09LarnKj7VBKR8cnVL38rHLPhfIX+kuhq7DUo/oaVGkFVNn3D+pXa8k4i8q/Ry74z0k1Lwf80760sh+LsnfuhqrZV88TWgBbO/nBunjvts4yxYAUSWB1YiM5eojb1XDBnEKBCQV9BNEp8GP4yn7nO69Vpvf3JGlCD3mLodHwUUJ1OoW2oTPC2h1DJhnI5zgDf/HtqUo/ANGPed4gt58L2RyV/1+fa6fjpzz7CK9v7PhZT4qU2vkLmetwThd8hj7efM9xvSQxykay6KG8vneWCHT4eXoMRPSZXAHNtP/7mtnYBtlRGS2lCdEosY+vsexu6XxtLBVpFnKY4Pb9YP3SpyuqmNhztiLkvFyxWKMv0QHUMO667rFFI2GS2xzfwNtB71odje6muK46xQJZt4hsUPGjrla5ucK2AHEwTNqG10ClmR27s0hXWpT48ScpTDzxnld/JRxWMM53ll711ZPDaEFpvGCAqQybCeVOvxecTpxDP 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)(366004)(39860400002)(346002)(376002)(136003)(396003)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(55016003)(122000001)(38070700005)(38100700002)(83380400001)(71200400001)(53546011)(9686003)(7696005)(26005)(6506007)(2940100002)(64756008)(76116006)(66946007)(66556008)(54906003)(66476007)(66446008)(6916009)(316002)(478600001)(107886003)(41300700001)(2906002)(33656002)(86362001)(5660300002)(8936002)(8676002)(4326008)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+NRrkRT2P5ptU0Fg6itXZRNFq7x/pTLk6JHZxm+keMcAB69CcJXq2JOB2Vug?= =?us-ascii?Q?DIxDK4RMMpasYjBbli7Bj824fdi1sojme+UgocQnGRpO05vL9QcgBaaOWXSs?= =?us-ascii?Q?821mLPvmwkPdH0ZhZC2ykTW1se0pa12Sigv76nts/dSlFf13lGv9B9ocv5f4?= =?us-ascii?Q?yZdFQWzT9GIVP7MQLLeJ0SfLcAY2VYkjXRmgOHmiijaEhBBCn0DcJ7/DewlG?= =?us-ascii?Q?p7q9VcsVUfawAXzKullsAR+Tm9FBa48Bre6ivGny+IDO1tw6+Fxjq1DZpG/T?= =?us-ascii?Q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oub?= =?us-ascii?Q?uH9ZI/NulHdRSB5mfsvkPq6TTtfanc85qZ0vRa+GPkWT3PhvVYNR1AJ3762X?= =?us-ascii?Q?R062tr4MrwmusrLF0IZ6tf02ToPPMsfpfnLphAEsWn5057FANc7cX998dI5X?= =?us-ascii?Q?SISFgCLHQJDtlGoW5wTWnacsbdun55eFuoq51gPBsRpMKwBgCYU/B9U34xaw?= =?us-ascii?Q?FpCGHyuuJvUKn3Zelb2h8d3rn0Njt5Q93SVRa9l8hwRcL2mn/wHJGhf1cjqK?= =?us-ascii?Q?7Pd8NFHj2JCucuRVjnTCm+F7NjAGCJGdz8K8fLjiKbxLAy1pLJZFjRIjWW4A?= =?us-ascii?Q?QC5v46LtK2LkJvfbBV42Ye/3iwuW/pBqOSyE0/ZG2ns3LuuPFyyFYQNTZhXS?= =?us-ascii?Q?aQCo+ETwxLfV2yeP0+A3e2CkqXNz4GVRfImQItwx?= 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: 172be613-07f9-49b2-e16d-08dbce2a0639 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2023 09:26:49.1300 (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: Vs0J7Y6TjbvdeYFe7znVqH5tIn8iQ/OGRzKn18W5ueLGnDW0apUl5O9XCjk1xtizBQLaR8QkwV7iAuG1jDMP1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8841 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 BR Rongwei > -----Original Message----- > From: Rongwei Liu > Sent: Monday, October 16, 2023 16:26 > To: Thomas Monjalon > 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 > HI >=20 > BR > Rongwei >=20 > > -----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 > > > > External email: Use caution opening links or attachments > > > > > > 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 fl= ags:: > > > > Need space before brackets. > > > Sure. > > > + > > > +.. code-block:: console > > > + > > > + testpmd> mlx5 set flow_engine [] > > > > What are the flags? > > > The flag is optional and defined a as bitmap. > For now, only one value is accepted: BIT(0). > I don't have any idea to propagate the value definition list here. Any > suggestions? Add one more description to mention it in bitmap style. > > > + > > > +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. > > > > Looks OK. > >