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 29365A0C41; Wed, 17 Nov 2021 11:57:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9FFD4068C; Wed, 17 Nov 2021 11:57:08 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 1F04640040 for ; Wed, 17 Nov 2021 11:57:06 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10170"; a="297346439" X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="297346439" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2021 02:54:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="586555004" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by FMSMGA003.fm.intel.com with ESMTP; 17 Nov 2021 02:54:39 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 17 Nov 2021 02:54:39 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 17 Nov 2021 02:54:38 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 17 Nov 2021 02:54:38 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 17 Nov 2021 02:54:38 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ORiCeWDYqF+nPEXX6PalQMmZ0L/VlvHKA/d8mo7pRbAjZRtHVfexVIgVZ7uKv7IhHt7QCDQqnjGF7rmCBLzniWQA+OAUxcJWu1zloCI6iQC0bupCZ9PuEGrxJRtLCpC3rpGCPd3E+7RrG9+kiBJI6sKmJu8P3piFDbbRZmixPTL/oZ5LiCSHD8I2IgYCDtL1+PhK4tOkan6bkn66YA5jGsEZnDn8l2N1nh5+u2LXooiduSs8sFmCZoRPwnI87nLQsVxpzV+d4HgFpZwlPQzcw9Ea1TGfS+9vOpUJnwNZ+mieZj7TlvrouGK4Lm30birqUjQaX8WqeOlzf3/3gkHezA== 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=owUWWrq8yst3d96A4s0s5s4rp6modfntBR4Mw5kmHjE=; b=fF/aM31mte8cKebqV0iNzlolTFVqa2AxE85fanUyz2BANjHKbAZ5zv6Ocvtyh3GxqK0mEO0vngUMpAw6lUgyWcoSxWBO6MWpdOYjiFP5CjvgglV79NciIqbMKLN6hshLCc1IORwxRMEjJul2vhM/IAS9sNvxEixubvauovEg3ShXwAJ/d6gwdtm/EqDnVvN4UTeD680Ug2jBH6Z/hLIo6a2HYJ3qEVrp2eM8b1wGi2zHARedWZKEGfMo9bQJSqcl1Y3G4COx57FtX50XbCRjvNmTXOGd+5VF6sn0gKkYR4/kGsa+8EDxOYMWwxEtrS2YPtujZ14NdTW1uq1xvq19KQ== 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=owUWWrq8yst3d96A4s0s5s4rp6modfntBR4Mw5kmHjE=; b=dH7y8Mb21QBf5VLNkJ6bdAZgwJaTt2UG0p/dq7I4ZF6tFPd1rQNjHl8oLwK9tTZmKzMERLs8Lh4YKUUxEP+lMSiIqKB8Ynwy+2J1p7q9gC/J07fYqFf9PZYugDul3NhbgqXiz/j3YWf4aD6U7JGPJdMSRvYYkN+NSivUF++ry9Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.18; Wed, 17 Nov 2021 10:54:36 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4690.028; Wed, 17 Nov 2021 10:54:36 +0000 Message-ID: <7e931e92-93df-0207-d9b8-c69e1660a8e8@intel.com> Date: Wed, 17 Nov 2021 10:54:29 +0000 Subject: Re: [PATCH] app/testpmd: fix flow transfer proxy port handling Content-Language: en-US To: Slava Ovsiienko , Ivan Malov , "dev@dpdk.org" CC: David Marchand , NBU-Contact-Thomas Monjalon , Andrew Rybchenko , Xiaoyun Li , Ori Kam References: <20211027090003.14556-1-ivan.malov@oktetlabs.ru> <20211116153817.19116-1-ivan.malov@oktetlabs.ru> From: Ferruh Yigit X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR0802CA0044.eurprd08.prod.outlook.com (2603:10a6:4:a3::30) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6PR0802CA0044.eurprd08.prod.outlook.com (2603:10a6:4:a3::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Wed, 17 Nov 2021 10:54:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c3f1a2f4-2541-48f5-07a5-08d9a9b8a521 X-MS-TrafficTypeDiagnostic: PH0PR11MB5047: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1013; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aQPO4Ks3NREotjcM9A+wSeQgJku9xbpAGvVvpQ1gSvHcJq9EcFfvCGtdCXEhoyMkbcqoMQ+s53EF1u0si5UWIPpHoKDeUwZ0Cjkn4xQi5XE7I5cMtg8ZOzDNlIfGzQJqGKRDcrH1c2cvZ4PUTAHZVfFn1eHPXq0u6s0gpZN25HHn83CaFYTzehASFScoRHZMtaC+E/LijaZZ6Mawd8P+Qwp8srsnjKmLtfP0Ao80YrCbGtfXYj/OMS719dkmb7GnLpzkIQMyeKktglN49zpaEv3qb4hbHRGrGjz5dOCFgWJnSSZrnjlWKi58UZRdaOnD03Vu0Pt/qQ08bAwHUT/I6uPyCILD8i6qpE+I2nlFdciCtbAw1ZN8f7oYj26QmQKG3ke+sooUmSbc7hEI0l/UVpe+dyqRq6hgTMuzf8OC88aVCr2ETYQ++aIT3jX9CUVM/gljPDtpcYD4fBy7b5s3DDZsZ45sDjeapRud4Wv3SVuFE1HzhWjCLKptAVbRKmHzbNXeiuog1iC+N6Zo4t2GYW7GURa9APbwucBEa+hKJjrSZtPffvOdZ7q//9bIZ/agC0PyUpH6N1fed+zaPSrrxQdo02/c1MOMXEdjwZPYMm9Yr8ojgO64fg1uzPFZJyaSAyOtcGBFaQ/emimVjRZDoAMd281/6sKi6GtahYKlOLmUE22eTYxjMcccNFT7HgyKJ9GmvIhMPFNxg/Tpyy1NLQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(6666004)(82960400001)(316002)(36756003)(4326008)(86362001)(508600001)(31696002)(26005)(54906003)(8676002)(44832011)(83380400001)(6486002)(16576012)(186003)(38100700002)(31686004)(66556008)(956004)(2616005)(66476007)(53546011)(66946007)(8936002)(2906002)(110136005)(5660300002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?amlSR1ZFOXRpMlpCdkVHN21XM2ZFaW9HM3ZzZ2F2eUdIS2x6K0lvdTVzRTU0?= =?utf-8?B?MS9IQTRta2wzcFVEb3dPS25qTkJTL3p4d3ZmZzVOS2V4RjBJMDRtYXRKRHVi?= =?utf-8?B?RXhOVHlYUEt3amFza0wrcisrVnk3Znd5ZlFhVXFIWmJMdCszSWtkODFnZWRx?= =?utf-8?B?eTJvTy9lVlZ4S2tWVlpWOE8raGRnQ1h5dGVIaHRWc1pMMmJxNmxxaVdZVjY3?= =?utf-8?B?bTJ3UDlqcjRLK3dreXlnMW9uc1pSWjVOWmluQ004NWZjMUgwd202Wm9md21V?= =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WlSK2hWdUgvRUhFVTUxZzRHME1H?= =?utf-8?B?bngzTSsvVVdlZThScjlDa3VDNS90MlJ5K05NWUd6SnN6SjlMbk5RRS9HbDQ1?= =?utf-8?Q?0EXcw7Iu9V1MngS7SHmDe3Y=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: c3f1a2f4-2541-48f5-07a5-08d9a9b8a521 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 10:54:36.1328 (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: rjGsK9d5lr3wBZBGCggIcv4pCK6RsEy8sSb6ECxkeOAJrrv3bEeDIMCCBUIVHp3Yj16mS+oHoc6ubNzP/x0Auw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5047 X-OriginatorOrg: intel.com 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 On 11/17/2021 7:41 AM, Slava Ovsiienko wrote: >> -----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 >> >> 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. >> >> Revoke the existing code. Implement an explicit command-line primitive to let >> the user find the proxy port themselves. Provide relevant hints. >> >> Fixes: 1179f05cc9a0 ("ethdev: query proxy port to manage transfer flows") >> >> Signed-off-by: Ivan Malov >> Reviewed-by: Andrew Rybchenko > Acked-by: Viacheslav Ovsiienko > Applied to dpdk-next-net/main, thanks.