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 80746A034F; Wed, 10 Nov 2021 15:21:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 427484068B; Wed, 10 Nov 2021 15:21:35 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 1F81740683 for ; Wed, 10 Nov 2021 15:21:31 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10163"; a="232622227" X-IronPort-AV: E=Sophos;i="5.87,223,1631602800"; d="scan'208";a="232622227" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2021 06:21:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,223,1631602800"; d="scan'208";a="501429289" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga007.fm.intel.com with ESMTP; 10 Nov 2021 06:21:30 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 10 Nov 2021 06:21:30 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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, 10 Nov 2021 06:21:30 -0800 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.43) 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, 10 Nov 2021 06:21:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dykNt1o2qy65qbDw++FWJ/XnAQQUZC9FzDPZ6zrFXddAJr6ZZPNdI3kqKZqGswNlczfNnZvuWfoleUthLK+Rd1lwVKn1935tLdM2Pbh7vQerE2DkzwSP42ru62aWiUSCokqcZ4RTcXQXk2C1GK+URNNZbJ8wQW6AEMHxLFx5N9+WJMfbOke5nWaD0euUHPPSte8kUYTDLUAC33hxAe4U0hTEC/ZQalEdOXhyuz0KvWPxICEcxVQ2Oteb8IAPGuxJB9fm52uMKb6qk9zKv+HRKbNFeRpygu9GNxWSLBHnGjj2SUCboa0bjNU579I6yfwb4f+AGURZwpYynUymEsWw8w== 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=Lc73ZIGS/O4M7g+3qtvxmd8i3rxyLp69wK8lOgkdAHI=; b=n+cnBI/sRlKFjRUc396rvJ2nNldVySTjdhzs+uYnPxTypVkillnBkGtHrY70+SAsWSekso51oK6oso/qs3n6ivVK65AffXFMQi5nmU7lt+/PLfMxOUS/GTUgKprH6p8thz2qtksgDvq16Ir6oNUHB1jBHO+5kY9B7yszRx70Kd2poKWogkVFRzX3JFEg7LrNMdLG6ZnPc/qYE8u8qZ2fkCiUMyhLiQ9iTmLdMtKEfNv0AHkWtZrhTRSv4WsE9uOj5BsoC8qGWH9r2OzgUlylcJbW+6LRQJR5fNjpQFxl5SbFQB76mzSqr3IcLiQuIfn5FleVDV5sti/WXVEK2lkAxA== 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=Lc73ZIGS/O4M7g+3qtvxmd8i3rxyLp69wK8lOgkdAHI=; b=zyVJlfZ3w0IWOvSJMp7ls9GE+5ACUR8reLfR+dV/oJiIb3vMAOwABI1uj+LfT+0TuEhKSXOG4hodvJeWy0ZoGBpxNwCx1ElpJDNilgRYV2TIfDLJJKyqdQ4z+iCCvk21fWbnYOks1lai//eQG4BlJqj5Wcb98oHAXcQ2LRpPZPU= 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 PH0PR11MB4919.namprd11.prod.outlook.com (2603:10b6:510:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16; Wed, 10 Nov 2021 14:21:20 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4669.017; Wed, 10 Nov 2021 14:21:20 +0000 Message-ID: <815a9fc9-747f-46f8-c9cf-766fa71a9ecb@intel.com> Date: Wed, 10 Nov 2021 14:21:13 +0000 Subject: Re: [dpdk-dev] [PATCH] ethdev: fine tune error reporting in pick transfer proxy API Content-Language: en-US To: David Marchand , Andrew Rybchenko CC: Thomas Monjalon , Ivan Malov , dev , Ori Kam References: <20211027090003.14556-1-ivan.malov@oktetlabs.ru> <32956056-8804-046c-da59-119a6c378dd3@oktetlabs.ru> <2115605.bGoMZ7lrYc@thomas> <4cf45c3f-47df-b6c9-7f9e-2ce996878e45@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: LNXP265CA0081.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:76::21) 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 LNXP265CA0081.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:76::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16 via Frontend Transport; Wed, 10 Nov 2021 14:21:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 465c88b7-2bfd-4cce-8901-08d9a4555d80 X-MS-TrafficTypeDiagnostic: PH0PR11MB4919: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OyWrTdapTfpThmpeGkDQJZRNpr4pRvwWR8pE6RvUjyx6UsVDJZWcdObToU3zRCXkEeU2F5NdJ/K+l+7DmaMzhu7JH6lMjeyvwwHlgwc8NXVi7vZ4BlRXdu0ESS96VVxbaCLrLD+dbBpqgR4jlB99GG7xpqAQQQIhTRAO2sU29uxsrZZNB0JpOerVTD2T0s3O+bhJUFm/sAI9mcPCOwAnH/4s639TgRVFDqOk3Ui1lGwLJ7jYVfHIvbOhU132IerSs3hHI5DweyzBLoUWO91cifA/er3rYkj1LJP4ORfOLhUN7ambSaQfeKTSCha1vbN6M5GpANYyq2ipfLYAZrUvnsoAUJST8UyVcTkUfdLCHn8Ry9irXXuERukT5GP4brIPLjhOFrP0ZgpP6nDeRRSzo0fhUradWotke2tzvH3Hz2IPWlEAH+E4X7MvEzWLOMjonFIVpFOj6s2gKEz70i2fUpAjTv0ynuS4rY0tPBLSDj6TqEYpNNwwmQUir5F2ETIwO7/ikJoikPV7PK6TdoLM7TiOgRcDB6XfrAcBpp5p8dD+w0rorg0vBqjW4/HOb16VuOdoCG11t91MaNH3VzoZRh0HgeXq+O/lSs9BihrjXGf02a9TZsHeCKpoJHLZOtPmpBJIQ1JAxUs/aVOW6zv7D6wzbp+MTLFXNldzydO50Qbn7sVdkffZQdWKFci2Oa38btDeky05J1njFP6XcKh+WQ== 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)(86362001)(36756003)(2616005)(4326008)(5660300002)(2906002)(44832011)(110136005)(8676002)(54906003)(316002)(16576012)(956004)(82960400001)(186003)(31696002)(8936002)(31686004)(508600001)(66476007)(66556008)(26005)(53546011)(38100700002)(6486002)(66946007)(4744005)(6666004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OFk5RGZHWGlLUFZlSVNWaE1zNWRUdEI5eGdHOG5oc3ppdHh1VlBWZGl4UUtt?= =?utf-8?B?Snd1aVo5L3l6YlVJUXQ4bmVTa2QzdGpIc2YyWlpRcDk5VDhueXl3ZTVsZk1O?= =?utf-8?B?MFl6ZXZWQXRoZGJzY0pIbVJoeFdSVkdwSS9yUUlxS3diOUt2SWdwRDlpa3lO?= =?utf-8?B?NlpkVVhsM3hZRk9HekFEN0tLTmNmZWRaSE5lSmdiMFhwWGE5QUhQc2hqYUVp?= =?utf-8?B?NU5sMmh0VjBwcnJYdTdKeVdRbEx1VVJZK2taU0pIU0VUSHhwTXd1S0J4eW9U?= =?utf-8?B?bDFBcWZrWm5xWHN2WkxWbktaMHd3ZXdpc3RjM2w2VllxYW5xY3c3Rm5OSGN3?= =?utf-8?B?YzhDODJzeGh0MElGQXh4NVNjd2p0UUNiVGptbU9UU3NzdFlubFhQNT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AzRPo5AGZjqZOU=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 465c88b7-2bfd-4cce-8901-08d9a4555d80 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 14:21:20.0941 (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: z4iZXQ/ldWIYNpr7v2LA+O9OYvppgujFLJmKd8m4NJHJz8C+wbjl6exov6IWbeVv5fCjkaFkBcPOcSMGKme8qQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4919 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/2/2021 5:04 PM, David Marchand wrote: > On Tue, Nov 2, 2021 at 4:59 PM Andrew Rybchenko > wrote: >>>> IMHO, spamming of testpmd logs in described case should be fixed >>>> in testpmd itself to avoid logs in the case of ENOTSUP. That's it. >>> >>> I think we should not call this API in testpmd >>> if not doing rte_flow transfer rule. >>> >> >> Since testpmd does not pursue top flow insertion rate etc, >> I tend to agree. For debugging purposes (testpmd main goal) >> the best way is to pick proxy just before usage without any >> caching etc. > > +1. > +1 to not call this API when not doing rte_flow transfer rule, and get rid of this testpmd logs..