Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp408423lqo; Wed, 8 May 2024 03:41:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNVvy2uT4374eFM2xgGa5s+wMgNIRr6HjZP0vU+8GH906BZYRb6CGOkEbJwQBn3KVf/8DB+3ejLifSMIcOJXRBfS+sqhwtriT3t/5scQ== X-Google-Smtp-Source: AGHT+IEFERLZ7Jv8SfuIh1/tOWLkfFbdne3T+fQ75kRj7iMnAqpoY3ErvqPsdsN+XmzfbhV40puK X-Received: by 2002:a17:906:fb8d:b0:a55:a072:1ab8 with SMTP id a640c23a62f3a-a59fb94bf26mr134380266b.27.1715164913782; Wed, 08 May 2024 03:41:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715164913; cv=pass; d=google.com; s=arc-20160816; b=CymNGswgfOz7fvWk2XsNooYbOPz7T8+1VSlbjy6oVeD/tPPSVYQIyvQSC4nR/9grwj yNAo9gV5Dya9mhyZyuD6bNCskXDjsYcm8uD29UBKNfHCtmXDqSK8po6PABBSSceb70tV HswgB+Bq30UOs8h83dv43IJKkCmdRgK1u5F1LeeCbiVnacv/DpEb6A6V9HvVgNJw3/X9 dl4YmgjftgsytI7ZFQ4VI2+IgKCp+cb8X5Uv8g1ojuA593fKaAOQ5iXSLnfWisUPSbj9 KKUpaQrJF/6z4Kp17BE/wrh3+JF9/RnFJJXXdLkCn6mXiuQTKDUPJxs56cl6fwhQQXIa gquQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=s5Lkh/Pw3tuB0RlWvQcqu3vOlsNKm33k3l7r9c69jBs=; fh=DvkwITvv6CPFa8kVJceb3rn8DxlCd2wMGYFkQ/wtwmM=; b=CUmnqw+S5ppN8fYkGHs7HRaXJHdBbK5pyEXEHDPHa0mFEDi7Su3ns7Fxe3j3AEtv19 G9QYBa4hG1evUprC0Ugo9HouS3Fibyj9cmCno6vWGB1y2BR6pMS2tsADNLyVF4A/XEOa HqUEMIdK/tJrWtk15gjl7wgunykTtHfVXKqgUbDQhFDinjUG9go4su6SZOewgd4bYHwr upHQ3VDZYFWQoFQS1p+zdKKeb3yviWtuHC6sii9thqAiDwAmYaa5VyiTXjb9Bu+VUgTj y9s98VPS1tDvgH665hzl+3yzK3IsZ97J9BLJycyz1V4e+5WMzHV1uu0PrkenP0WCSL3L gmug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=gzcay2bz; arc=pass (i=1 spf=pass spfdomain=fiberby.net dkim=pass dkdomain=fiberby.net dmarc=pass fromdomain=fiberby.net); spf=pass (google.com: domain of linux-kernel+bounces-173073-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p6-20020a17090635c600b00a59ab91bbffsi4713420ejb.720.2024.05.08.03.41.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 03:41:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173073-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=gzcay2bz; arc=pass (i=1 spf=pass spfdomain=fiberby.net dkim=pass dkdomain=fiberby.net dmarc=pass fromdomain=fiberby.net); spf=pass (google.com: domain of linux-kernel+bounces-173073-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7EBB21F23554 for ; Wed, 8 May 2024 10:41:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0055081730; Wed, 8 May 2024 10:41:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="gzcay2bz" Received: from mail1.fiberby.net (mail1.fiberby.net [193.104.135.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CDD48061B; Wed, 8 May 2024 10:41:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.104.135.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715164904; cv=none; b=NpLpJUVhXjvSKfOK7bc+3QHic0027xghbrRYjINGAWm0k5z1IoA6b0SUQ63uKop+YSJXi+x3EcpVjjhhcsbNlNQqFMii9z0iqrW2+18lTyby+fO4/tfYZBTZG14rTkU+erXElqvwOMgaCEBuK1/ASl3xBoXPoZMg3gDodlycdR0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715164904; c=relaxed/simple; bh=ftk3LXm1KKRXyvUxh2iDxkdzjCVpvWqkwpfBuiUcmSo=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=RDm03PXYpB9TaItGBv0QQqNtY3OL3P3qjJ1iLEXqEVN0jpurdPxDDUimaqYFl/UjPT/CL8Ktx7EljdTrsd0tEcqilR+JA0GN2sRvq2uhxgEBsPXS6cck1KYcp8er0FsifCNUmWUjlatDc6xctaEgevkgXfCSpDY/6XM6A08CV1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net; spf=pass smtp.mailfrom=fiberby.net; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b=gzcay2bz; arc=none smtp.client-ip=193.104.135.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fiberby.net Received: from x201s (193-104-135-243.ip4.fiberby.net [193.104.135.243]) by mail1.fiberby.net (Postfix) with ESMTPSA id 05876600A2; Wed, 8 May 2024 10:41:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1715164897; bh=ftk3LXm1KKRXyvUxh2iDxkdzjCVpvWqkwpfBuiUcmSo=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=gzcay2bzt3xz45WH2jyYMewfkSg1ICtKOW2N9S0+WfOikt+lrsXUROaKfCSuaRi6z N0oGA8qEXfWeB8Ay7BS+CCtZU4WJeijpR87ZrTCEsRZT3RZ52e4k6aInJrRTiX5Egz CyrNwC14kz6sN5oJfcYzN6eJzh3qc15xYJ4X+KNI0gT0vSZfaCzkUj7DFUdIUGBaCr imigTrRd+/bKI4/ad+EVToUhBmi/bY7eHrXeEvj4ffiYlL3LdrLBEbyPKbkqczAV3Z Hxnf7K5wGLtVd/78jSqhCxFKHha6KYNYBeeq35QqY24nRP+d6zXYs6K4fpiIbpllew vohFQ7bp8Ve1Q== Received: from [127.0.0.1] (localhost [127.0.0.1]) by x201s (Postfix) with ESMTP id A2456201852; Wed, 08 May 2024 10:41:27 +0000 (UTC) Message-ID: Date: Wed, 8 May 2024 10:41:27 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: =?UTF-8?Q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= Subject: Re: [PATCH net-next 01/14] net: qede: use extack in qede_flow_parse_ports() To: Przemek Kitszel Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Manish Chopra , netdev@vger.kernel.org References: <20240507104421.1628139-1-ast@fiberby.net> <20240507104421.1628139-2-ast@fiberby.net> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Przemek, Thank you for the review! On 5/8/24 10:07 AM, Przemek Kitszel wrote: > On 5/7/24 12:44, Asbjørn Sloth Tønnesen wrote: >> Convert qede_flow_parse_ports to use extack, >> and drop the edev argument. >> >> Convert DP_NOTICE call to use NL_SET_ERR_MSG_MOD instead. >> >> In calls to qede_flow_parse_ports(), use NULL as extack >> for now, until a subsequent patch makes extack available. >> >> Only compile tested. >> >> Signed-off-by: Asbjørn Sloth Tønnesen >> --- >>   drivers/net/ethernet/qlogic/qede/qede_filter.c | 9 +++++---- >>   1 file changed, 5 insertions(+), 4 deletions(-) >> >> diff --git a/drivers/net/ethernet/qlogic/qede/qede_filter.c b/drivers/net/ethernet/qlogic/qede/qede_filter.c >> index ded48523c383..3995baa2daa6 100644 >> --- a/drivers/net/ethernet/qlogic/qede/qede_filter.c >> +++ b/drivers/net/ethernet/qlogic/qede/qede_filter.c >> @@ -1700,7 +1700,7 @@ static int qede_parse_actions(struct qede_dev *edev, >>   } >>   static int >> -qede_flow_parse_ports(struct qede_dev *edev, struct flow_rule *rule, >> +qede_flow_parse_ports(struct netlink_ext_ack *extack, struct flow_rule *rule, >>                 struct qede_arfs_tuple *t) > > there are ~40 cases in drivers/net/ethernet that have an extack param as > not the last one, and over 1250 that have an extack as the last param. > My grepping was very naive, and counted both forward declarations and > implementations, but it's clear what is the preference. > > Could you please convert the series to be that way? Sure, will do that in v2. -- Best regards Asbjørn Sloth Tønnesen Network Engineer Fiberby - AS42541