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 4E007A0C4B; Tue, 16 Nov 2021 20:23:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D6EB41142; Tue, 16 Nov 2021 20:23:29 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2042.outbound.protection.outlook.com [40.107.243.42]) by mails.dpdk.org (Postfix) with ESMTP id 5994840141 for ; Tue, 16 Nov 2021 20:23:27 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V8B+8+dulSPkbJ/opb/CWsB+DVKDzYOyeARJBlsvOVbDGVyTGG/LipFoX3dK40q7me3WVBaKiXy+hcJl8ttAQ9h0zwrEznM81fRFCUQXnpnIhbcXj61bAdyXvrW7l2Ce+uhT1Ek9jLdHM8d3VcutnpcV6gYW4jEdS4/NN/tLXpV4NP0457kACdLrFyzeS0gjnFpcJ5ItUSlg1BLLyBbmjltR9dQuDQleXdLQDhFZsr26DcQFbpYlfLWearCtr1upAL/Cu8/DVLB1IxtHGX9C2uBjiB1aNEKVTsjnlQ3Yn8hvOAnJVhsl8lSVgY32oaivUteoi+E0P97ikQl+xShxFA== 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=M11kYSQQONB92JE2Q5kv8TCeDt1f6bCJ3VAHLytVkPM=; b=kHzDCh2KmvPgmMWqIoHDXxs3Mbi5Raeswm/kzGLM3dAqjpNQJOSjIHyHkwft1pG7hKYFBAXvZ/xVEpZnLzv1aPk5FTzsVuBlcfwKw1fKu1DTim117SHOAT9IkZNxKi1jT5jRJ5hvdQLeHuMhawJcVQ6GfEP6XEy4q6bnJo1Seyt0U5nGTwFJByjpi2pb9hNDJ5WkvHB3hDL2r3vbpmSn7NvHWj8aps46V+1fOvU7CjTvI1tWizlpsxfMMlGccW2wsE8w7qR0pn+qkIOIJE/vnFjNCcH5NPu2bINIj2RhhgcK74dmqbCrkh6I6V7RGw1JGGnt+3Al5QLjrX4XFuHpzg== 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=M11kYSQQONB92JE2Q5kv8TCeDt1f6bCJ3VAHLytVkPM=; b=b9bH6vwVO5y8d6Ze8jvEYkYZfoJLBR8OhW78JPrPA8GdwZbAqc8RC2T0Eo7iAqT7CfQv0K8T3r04VrOQTba1n8AOrokRMALhha61UahZ31eBRMNr5OxIUUQFUwXj2KDxFoH5PNXnC0dC2K7Sszbtuorx+TWElJE/0X8R+Emad0glnabktsciR8i94NevIcDZyJ0yPaxfF4JdVVpJd2L1TYW+Nbs1DUz5WzPNqDe+mjub6mhfywhgw61oXBW99cslEAQ5JNXdEDEN28TFCLX0Vr1b5+1VV7blFj6XQWUYFR9Hhd0e145tolTd+DIpxpqZ3l7RHsA61BBOSn5c36TeZQ== Received: from DM8PR12MB5400.namprd12.prod.outlook.com (2603:10b6:8:3b::12) by DM4PR12MB5198.namprd12.prod.outlook.com (2603:10b6:5:395::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Tue, 16 Nov 2021 19:23:26 +0000 Received: from DM8PR12MB5400.namprd12.prod.outlook.com ([fe80::4c7b:3be1:176b:f77f]) by DM8PR12MB5400.namprd12.prod.outlook.com ([fe80::4c7b:3be1:176b:f77f%4]) with mapi id 15.20.4690.027; Tue, 16 Nov 2021 19:23:26 +0000 From: Ori Kam To: Ivan Malov , "dev@dpdk.org" CC: David Marchand , Ferruh Yigit , NBU-Contact-Thomas Monjalon , Andrew Rybchenko , Xiaoyun Li Subject: RE: [PATCH] app/testpmd: fix flow transfer proxy port handling Thread-Topic: [PATCH] app/testpmd: fix flow transfer proxy port handling Thread-Index: AQHX2wAC0jaajdxNbEOT3d3ZjH943KwGgnmA Date: Tue, 16 Nov 2021 19:23:25 +0000 Message-ID: References: <20211027090003.14556-1-ivan.malov@oktetlabs.ru> <20211116153817.19116-1-ivan.malov@oktetlabs.ru> In-Reply-To: <20211116153817.19116-1-ivan.malov@oktetlabs.ru> Accept-Language: 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-office365-filtering-correlation-id: ed2077bd-0e34-474b-1577-08d9a9369021 x-ms-traffictypediagnostic: DM4PR12MB5198: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0QpjBnryU+QOzDHXjMNmkacxygXmxBGe9g5irk1Rin3DxTupQlWpL/HCp0odZ+ZqVdngGcwF/zv+8GgZcfp0pydcXCaL8qpPUKjYeOmSl1ltGyUCl9PWe7kp2pMiQRSK24ubRYZABEW2LwjNOEB66Y6wywpHsuH2zcJT86ShHjJxNho55oFNm+RScoJ11hi56r9oAdUSfvWOibQLSBNUAnUwzEVBmEZTzUCV9j8H+jaK11WPml0inNud2ASGhoDpYRIkQ4gg8Gopnna4E51a+YLiDMUvUTivZHdGjDbqhabOMmLsNLQK2fvsqJ9Q42R96GYK0k69EXyqg5tpSbN2WMl03Jmdi5fnK0q5MfVJN8MhQan7amtoKay33fbfPLpHIzoMYoRyPBO3qbE/xMnT5AYQYcbjpD38oARW8Alzr1eTCGoZMh4hnDp3SWnUXGPA0+7QlyipM1Hre/dS8oWXPytNc6oC1z/OGPZFkhuX22fRaSWXc0soJ2U/kGPRQyCeCr94YGTEoFyKfgk6vTGPvcET8jUOHYlDqcbrnjqeLN3arvdNRTy/fscE2b/+Rmr5Ng+L4dpifpmlmiTP739Ph/rBavsKcnLpVaZHfnQybuepyk//g5UTQ+wrG1mh0UEYJ6ex5xa7+cOXND+VF/MqUUK9UNk5PITdwE/XERCaRQFQZgttB4Olq6ObUMlo1X+3su5/1avaVv/CJoyDoLKL7A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR12MB5400.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66946007)(66556008)(86362001)(26005)(66446008)(83380400001)(4744005)(76116006)(64756008)(66476007)(508600001)(52536014)(71200400001)(33656002)(2906002)(316002)(38100700002)(55016002)(110136005)(54906003)(122000001)(186003)(8676002)(9686003)(7696005)(53546011)(4326008)(8936002)(6506007)(38070700005)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?l16WjbXXqPbeZoa07fgQaIhj5VwU0vWXHAsVKoIlN4/1eK7Eb83Y+tVI++Bd?= =?us-ascii?Q?sBWB0utRGDia5FzRJhPCDe/cX1Hs9X/v9GT1zHCIIoayAniEsJ7nrtlkIpMk?= =?us-ascii?Q?djv/BKPh602F86ri1/BDU+Av8tgG41voxtQtMOInAFm3vk+ddFAJdpmmwwjT?= =?us-ascii?Q?AYBwNCo3Q3na4+xJZ5V+4xr3/vgrXe7Wo9K6fowG5QbsywytwRbmKRP/mOuH?= =?us-ascii?Q?s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UaxUsk?= =?us-ascii?Q?hBB6lt4vmHHoXetSN9kiXS2q+nkfCCoDu2H3HiqB4T0NfXb11N92FOmhmj6V?= =?us-ascii?Q?HrhbbQmz+KOky3WKzRpWqG6Dml4m297ApaQT4MqGqQcjcJfAenBnufr3mqWH?= =?us-ascii?Q?5g1P5WQ/Xsn0KmgBMkqQDgEOkYI66e84pTM4wT1AL/qL/SC8OxvSgZN20Evc?= =?us-ascii?Q?fWLS8WTt+J5S/dvxkrdC11y9M25Usg2o73rAhCpSg5YH0bFeyGSH+JuEwlpo?= =?us-ascii?Q?ZhyvH08sdyOzlprqlCNVlzbHEv9JXYppMiJVrPt2Mge3uz7jds+aU56FKKQU?= =?us-ascii?Q?E+rAJ1LvliTedV6w55n4wtfdDlcdcko7D8CfzrxH0hqhGKgBa2bs9KT188lc?= =?us-ascii?Q?xJ9VuRGL2zu7MrXshcBok3Mb1hwon+0xXr1ATgGEAwhPuLaN1JuSblP6reta?= =?us-ascii?Q?Kh3bDPVXBX6SD4D9XuotjWHA5ZXnWfU+cSIKb5mBFTLq8LM0eJ5hNlhxwYSZ?= =?us-ascii?Q?KA=3D=3D?= 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: DM8PR12MB5400.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed2077bd-0e34-474b-1577-08d9a9369021 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2021 19:23:26.0573 (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: Ffk8RuPU16478kyZU/zsC9EIMw5rY6drVaEmpkZl76UKzH7QKr/nryFMI4HyPMUQVq9RZzbS/ZwLYYnLtW2hRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5198 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 Ivan, > -----Original Message----- > From: Ivan Malov > Sent: Tuesday, November 16, 2021 5:38 PM > Subject: [PATCH] app/testpmd: fix flow transfer proxy port handling >=20 > The current approach detects the proxy port on each port (re-)plug and > may spam the log with error messages if the PMD does not support flows. > As testpmd is a debug tool, it must not do such implicit port handling. > Instead, the new API should be called only when the user requests that. >=20 > Revoke the existing code. Implement an explicit command-line primitive > to let the user find the proxy port themselves. Provide relevant hints. >=20 > Fixes: 1179f05cc9a0 ("ethdev: query proxy port to manage transfer flows") >=20 > Signed-off-by: Ivan Malov > Reviewed-by: Andrew Rybchenko > --- Acked-by: Ori Kam Best, Ori