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 DCD7D45634; Wed, 17 Jul 2024 13:06:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B918D427DF; Wed, 17 Jul 2024 13:06:12 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id 3F4AA427D4; Wed, 17 Jul 2024 13:06:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721214371; x=1752750371; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=DQTTVBPAzD6TpCzqovC3Cbry6y179w3TGhFCAQNe5tI=; b=BLIMb2aiKz03IHkWv8EuAmXkDFLv7079Gdi7wDg5yDk+62p3RHSho7Kq U6IvODkpWqaYeiAVWpkG3t4rbwPNcIb/e3jc4TcEfkZ8e1o3XiGIu7AGr ohypHPoePW08m3smaWJfNECU5EDYl0GildceK3vbCRcna2gOpjyrpefr8 YUznN9AesXC9bwy5oM/ih2cKh6f3Ww38FeIz3WYRfx4SobtROT4ozfNO1 XkxbLIajVI1eKTmg4o5fopqatcLJ7mf07qIlw5b9DBFsJa/wFZuPGS+/3 G3wiO94oFAv/ClYUhosTK5QwQxWa+kFv8/sAcWHxUQx/MsJHGgqHe8PvC A==; X-CSE-ConnectionGUID: ULWt1co9RmiYHueVOtkKqw== X-CSE-MsgGUID: UtVLrDBJTWqNZ5HHK+Jxug== X-IronPort-AV: E=McAfee;i="6700,10204,11135"; a="12587128" X-IronPort-AV: E=Sophos;i="6.09,214,1716274800"; d="scan'208";a="12587128" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2024 04:06:09 -0700 X-CSE-ConnectionGUID: 5J3YujSzTlui3jCimS7i4w== X-CSE-MsgGUID: cmSm60AYT1axRUocw7uQ3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,214,1716274800"; d="scan'208";a="87832160" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 Jul 2024 04:06:10 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 17 Jul 2024 04:06:08 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 17 Jul 2024 04:06:08 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.49) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 17 Jul 2024 04:06:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BH9GObKYnW08A2nW7Kyh7I0N5+v1aMRBwB59bWC9cUxQ4098FcALpkunqmWeDCg0a+cFaMNtA6El+jtOaiqgPL1tEHPrKxoSjZLFGKr4XkD9yIL/k8vzDavisBgsTSAkmpIciwpzn0SfJGsB7a0yJa36dRaGkhuWMKVbMVyx3xa3gdCYFw0n7BOIdx9qO0jnMDHXmB90Ko9ZmnJKjjFfP1dpj3i6bwSSYICJOkzjkykyLfYNDNl+lcMoHvxkeadgrBcQCTcBXje37Mb1hmkobUuHI+z63aV6ofl1qC6UX71O3Wo97heTdBwDzJq7uO7UnwcVWIVeSyBzjshD337/bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=oqFCIplxtpZ52iMxQqIMGxvU9aqODb+dJmDz/KrupTc=; b=qqLKPafoANbm7cacTARq3szG1gt/IJH0wO7HX9W0ceOInkbY0iv/4PlNkE/GJvFEpoVLssfJeRI2ElLDXtleAtk9OY303Uyv2nBbcr/Jq9No1kEatxD4y9/zK/zLBv9lZR+afPOzh7dA670qfEy8x/z8gChCcOZXqVneMQM5b0wJD/fjDFozpG846WNh7ZTBu6lrdhJ4YKVJAfRvQypkmg2KV24b1kNY296MKxaFzkvOFfB4jpQYb92vDjY/4hG6/UeBRQOvC12YkRUeMs0Eldi/Ge/yRvYAVIcpp8DkVKIn7MW5BT/VPcgl7cIT1Ci6y/98Q04cU+TP1BE1IaIFGQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by MW4PR11MB7077.namprd11.prod.outlook.com (2603:10b6:303:223::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.25; Wed, 17 Jul 2024 11:06:06 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%7]) with mapi id 15.20.7784.016; Wed, 17 Jul 2024 11:06:06 +0000 Date: Wed, 17 Jul 2024 12:06:01 +0100 From: Bruce Richardson To: Vladimir Medvedkin CC: , Subject: Re: [PATCH v2 3/3] net/ice: fix return value for raw pattern parsing function Message-ID: References: <20240711165907.3169191-1-vladimir.medvedkin@intel.com> <20240715180441.3682734-1-vladimir.medvedkin@intel.com> <20240715180441.3682734-3-vladimir.medvedkin@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240715180441.3682734-3-vladimir.medvedkin@intel.com> X-ClientProxiedBy: DB8PR06CA0056.eurprd06.prod.outlook.com (2603:10a6:10:120::30) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|MW4PR11MB7077:EE_ X-MS-Office365-Filtering-Correlation-Id: 45bc1eb6-c2ea-47a2-504e-08dca65074a5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?/AVGBgHysZcYbrATWKB9fs88jOREjCpFbqK6VEv+/qWZ2zUX/3XPN/7qi65F?= =?us-ascii?Q?IXZ1OEjZcZtVbxUbUNxvFxAn58Q+dsrOiD+SMzEbRPMVSRP4HikMt2b/b/1U?= =?us-ascii?Q?btDxUHN/BcQokGGGhVlzOGjfoKm9vgWeYJZxVxTycxVMCfV0RgKLKtGO0tHe?= =?us-ascii?Q?cWZFtvsVvTc/84j/fom6dPDwro7MQKyLUYR6bYTVCtgxXyNUlxMQTT33IC0e?= =?us-ascii?Q?zG+VlZ70wgl48lkeiBelLqR8iLq3YKaWpGmEA+qXDudhZegJeBm1kVKVukQQ?= =?us-ascii?Q?XKLkUF4FvwuCM7kSxcJJ5+9Ycm4qQHVt/cx+nrYpiwb7tEbI8RmtSYLaZM37?= =?us-ascii?Q?64zjNhP3EQIK28RWzkax8s1cz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npr2WPYxofdNJtGKowTB4x9pveiQ4u5eT664ruc6fp1SnbTBMmxTbII0ns6G?= =?us-ascii?Q?L1aM2pWaEuStECR0Tb4xaFpd7mOGpQ/1jFbPLBgulS3/gg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?J8Kg4n3gtoS4sz6UXEDSYaSDnKdfOP3ukWeRAeO3ZnhKOfq5TDbC7dBicXbx?= =?us-ascii?Q?8MWkUYDiMmP6D06ZsB8xdh5haR4veddOtJsT2i4JFIQb258xtePAoSZUHGvW?= =?us-ascii?Q?BMVKi4kUkrus+bXZlMRi87xjNzDmaPthaLwobwak3fCB2v7q2ZDLrYJwq5W8?= =?us-ascii?Q?e0Ea3l73cTsWby1q8oTu6/E60iKN7/2rK+muRTVQvznIK9iyw72pIq15D7bc?= =?us-ascii?Q?5/pmUrSGp1rpC5fgp9Z8wIBdF38jqBR4HD1s5RX1g1ADlRMFITdUoH29E9PI?= =?us-ascii?Q?bZrlxdEMa93ZvKXl0qeCpapvQLLuOLCG5B9LBLb3VB79SLvQ5avimawq6CRo?= =?us-ascii?Q?3jcWGsBLzRpAVSgAEkXspcUc2tZ84xAFyb7bX/bpwt43e3RFTV4A0zYCnZjd?= =?us-ascii?Q?cUC6oAz+ljL87in4bvs5SBbMBpTHG7AvxuObKEdgfVvp29tYRHJhQhsUliLm?= =?us-ascii?Q?3WbB30ofvFyzQdTMKnr4hu/XrY2FnLD3+fUN0eNwnj9rzEqwBxjPZOFJDJ3a?= =?us-ascii?Q?2MmNBoYHEYIuW5wQEG+nJV84hyKPSIVqSVnflXn/izEMB3+CuXuQQFaZr4PA?= =?us-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y9o9Zt2R69dt4HEouB8PowAGaVBFpu?= =?us-ascii?Q?xITxEmjysery1T+VNsGBxunlvWWDf/TSM06+613hXhKontugeXXi1IQ3qYd9?= =?us-ascii?Q?NUnMIRqfTrPIAktPdcsRp7+y3d3nfNh5UsusttsfRU7sUOWeopyo9WG+QLsP?= =?us-ascii?Q?qQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 45bc1eb6-c2ea-47a2-504e-08dca65074a5 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2024 11:06:06.5386 (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: 1Zm4jl65KBjVWgCoy9htuEsBeeTYuTLQwJB/GqFCT6zy389dNOHCSgKbWJD3LdjzHjNfEyhkLn+dNri8wLL65Ny6uBNdnrvEeF+4b7GuAKM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB7077 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 Mon, Jul 15, 2024 at 06:04:41PM +0000, Vladimir Medvedkin wrote: > If the parser was not initialized when calling ice_hash_parse_raw_pattern() > -rte_errno was returned. Replace returning rte_errno with ENOTSUP since > rte_errno is meaningless in the context of ice_hash_parse_raw_pattern(). > > Fixes: 1b9c68120a1c ("net/ice: enable protocol agnostic flow offloading in RSS") > Cc: stable@dpdk.org > > Signed-off-by: Vladimir Medvedkin Acked-by: Bruce Richardson