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 85FE9A0C41; Wed, 17 Nov 2021 08:41:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6903A4068C; Wed, 17 Nov 2021 08:41:38 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2084.outbound.protection.outlook.com [40.107.243.84]) by mails.dpdk.org (Postfix) with ESMTP id 1601140040 for ; Wed, 17 Nov 2021 08:41:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nx9xl2Zs1z63mS7xmrA5wLT3+Rqou1aWYjdY70ZaaZfOdwzRPvgJP3mX4PxK3/rEzZtPpCpN63Gx5cMPwa5eTo9GZRZR71aE1/4y3sJANJraZ1cTSyV/tavtm5ZwCEQikd5tysCTcSrd2Ey6cvJIkHImLawUDDbR4M/9sU/Y3riUi0awNja3nYqARfVEIEsqmac1bMLW8oeNlCcsxZz0bw1XyO3tGdzHHHrslaUqYIvI4oQAwDOlsuEZT6m/2jjscgp0lAiEm40HZmRzVMu6otD5MyI1rmkPpf61WCJNTl/JfJDCBjHYR5nQz/bf7ulJ0c+uHg+ulvgfkhjye9BC7Q== 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=u26DF/nyRq/2nyMmUUXNl8HZu8yYfTqigTDmvWzxohM=; b=OsAQaSoE3OJ6+TchTFZpwNUup89t2vfxMPEU6BiLEXZW+JVDaP85VdrucPjwYTtX0s+fQYv89/L+/VO/o9D1fUEVkZV9y2PAyvlrpxv66KEuNKoXT99F+zEU/D1T4D2cMbxdgoUG6Gjvn3my/yD8vqDwAaAYRJDmNvPhQA1Z2mnsi56Oc4OQVAznb8z4++awObsobzEepgEAv2eUpkm0S7pi02SADCZwT7GqG0Joj28Vx6qgrWgsMceB1yggJaWQSle7jS3iEC1L0AiGUfSoBKuqUfpEj9Mjnow+ZTsdBcTMi6GrT6J3luT3AGeQKy+Or5CzReS9yxUB019EHDm5CQ== 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=u26DF/nyRq/2nyMmUUXNl8HZu8yYfTqigTDmvWzxohM=; b=WuqYemPvEG69zTZxR2UEofYlESMpw5c8DscQTJO8U4q6NW9XZKvs5gDRuLhvCAjCvptjhtPF8Rax7XBUyNo5uuICfrtgnQytJeBut5RdaamhnmT03HAOmcH3eeR9GBfyrXiclCE+RefOiKDCAVZy9I2kjXwqoC9ERwyFgiy7P2pQtPaUjit+5uNeyizgFNJD3DHvIwu4uQSYOI0T3BX/w3taDzpnoPztbA++I8ArMkp1vnp4rUTP1HiWFTHio3KaXTON2wos6OuTL2Bg707Ai8AhG11sN2JdWveZ72wsfPoagQaOw2WLWJwgnYn0irqsDu2YppFHxjzDT7jcs+/m4A== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3659.namprd12.prod.outlook.com (2603:10b6:5:14a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26; Wed, 17 Nov 2021 07:41:35 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59%5]) with mapi id 15.20.4690.027; Wed, 17 Nov 2021 07:41:35 +0000 From: Slava Ovsiienko To: Ivan Malov , "dev@dpdk.org" CC: David Marchand , Ferruh Yigit , NBU-Contact-Thomas Monjalon , Andrew Rybchenko , Xiaoyun Li , Ori Kam Subject: RE: [PATCH] app/testpmd: fix flow transfer proxy port handling Thread-Topic: [PATCH] app/testpmd: fix flow transfer proxy port handling Thread-Index: AQHX2wAHL+X9tHwNa0WnpNgYnXzF96wHVvVg Date: Wed, 17 Nov 2021 07:41:35 +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: b00bbdc1-e469-444f-d664-08d9a99daed0 x-ms-traffictypediagnostic: DM6PR12MB3659: 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: 4wX3W4TZFkdkRIGrRGXc3jthZMInakr256ovNmC3KkF6itpL/zKQyEVfJDl2Wi7bWLs4ciPyz7XFjZpNZdr0MgwvzC0oyGWGaXK6HZLhHXNcNyI+lzgYCidcJ1NNtg0D1XXiG02yCQU3DEGurYhWXRzZnUbKNq670MpCV4vC4na7IrBFETNDisMDXem621zlAHhw1pNnF3AmAUuGsTZGRkLoj9mbPccL4Vfu9+JLQDZy/DLdtqQQ10q6fS/N/D8IQtNTUR4UYyzqhey76KJC62XKFODX2VX6+H8DDDzEDOJiM2iaUxynH2BVJZ8Rt8OfZ6FBoYshlXxSCCJaTJeFnEYfgQHGqCCmSAN+0PU5zNDRlL1p5vzBw0MbShq/dWDk+wEmXxCo+GeOjQEYVABJJq3weM6A4Xne2aCWWSvkYdXErnsyQdOLa+oCdCYIaQ8vqyXKyZCds0zAB5VW+LRMqsSkfD4vUWvJ+CFwF3qGj3S0mP40K2CYTbAwHo4fC/RAMxKOU55TTde/RHzVyX/Jq1LlKw1ZTvsZoLJPzwVbK0kWOKzOi1pGnJ5FwD93BhClC3MxciQjqnHL8X31w3HDG4zWwe/3oTiYK5VlFImQilTqNNQhrJm1OvTQXbNt95p34JznGpyb51AIARsKEBhPv6wuGDM8JRmIzd3DVW8kaKnF6rxoOppBJopsJbzBvVJUAXQXm83m+0L9o1pmpoWajw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(83380400001)(4744005)(2906002)(316002)(107886003)(9686003)(7696005)(33656002)(26005)(4326008)(6506007)(55016002)(53546011)(71200400001)(186003)(54906003)(52536014)(86362001)(66446008)(64756008)(66476007)(8676002)(66556008)(66946007)(5660300002)(508600001)(110136005)(38100700002)(8936002)(76116006)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?J5yq1GMluxvgpMgfzHU5euOmbfxs6yynIW3nh4mXf6XfTBSdt+gnXeNUB/Gr?= =?us-ascii?Q?o2rdx01hMeeeIYbkGbJSlzo2P1Irt4rMnFWws25+00gHy+jfBHHc9AEEGCRw?= =?us-ascii?Q?vipr17mcVuAt0XXKQnm7cIrAKO6xbH28XArVtvaUJ3n1kkbFnY37HZWfj/4i?= =?us-ascii?Q?dQEEFN1hQsS8FxdnLUd+mdwRHY3D5zI7DuVaKw2tQLaODTDyz1w5762QzkBC?=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QP88PjGasK6Gu7Axk8hhBd4ugIVdDNN6yw0GLt1XBlsJ?= =?us-ascii?Q?vWkAv3l9oGLSpveuv6zQ5lLtChVoIxC5Jz5qJ7M1SV/RBTZ/S0W7DWPmb9iw?= =?us-ascii?Q?d3p/1MFuuY6Pk9ukV9lLzo0vlVEKVNyCDMqHm5EWLDTjGR/7xfNdhoimTp+J?= =?us-ascii?Q?Nzx7OFE+ZViZG+bvOxRCtS/1VVr7piUb3p9Zq55HBz85dZ9ZBtJmkpfiwcUH?= =?us-ascii?Q?la44v7CrhOd4Gi/KSQ6ZMOpPcNJ+EaWe9zUbrJrURi+BqzuCdBvsvIYSNsps?= =?us-ascii?Q?pQb6Puv6gqttyJTg7BPFzO27kLosoRS+ParADfDrucIt+W1ITgvvWLudgyBd?= =?us-ascii?Q?aJYW8J1QHWo9IvysKMFnkZ7FLlO+5SVxenHa8WAO2Kyl6ARyiI7w3j5KpSxe?= =?us-ascii?Q?sQeXeAmpK6TxXQcSjeQOexdi3rQcfCDalwD0nUDgbeIChKfkeN1dsGfOMOb+?= =?us-ascii?Q?FTabB9Xu8pZM20aB5EXmSMVHUFziNtoBpRT8c6VL1OAgFW7Sqy1GY5Y6dh8V?= =?us-ascii?Q?Kg=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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b00bbdc1-e469-444f-d664-08d9a99daed0 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2021 07:41:35.6408 (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: Kq0KZ7i3CGQCnShVrakgbOanxNSzrbRYki6q5hkBOYqNZ1cufzJmlYq7JefGq+DQ31H4ywU7vWc/ASNyCeK8VA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3659 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 > -----Original Message----- > From: Ivan Malov > Sent: Tuesday, November 16, 2021 17:38 > To: dev@dpdk.org > Cc: David Marchand ; Ferruh Yigit > ; NBU-Contact-Thomas Monjalon > ; Andrew Rybchenko > ; Xiaoyun Li ; Ori > Kam > Subject: [PATCH] app/testpmd: fix flow transfer proxy port handling >=20 > The current approach detects the proxy port on each port (re-)plug and ma= y > 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: Viacheslav Ovsiienko