Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp430370lqh; Tue, 7 May 2024 03:47:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVTdJ12bojx1dWeq+tMjDzwF05gD0lG2YtWwsM661+cLgZyKNBQD6N3AoDKNPT8V5gcvZNtyyBo77KlBKhZkYxzsmv8h6uwEp5/vr8Rpw== X-Google-Smtp-Source: AGHT+IGrMWuOIUnrubc9JEIVCBoRdwTq49m74LY/lNijlWEX2GmRZeKGloe4utvkIwX/XPSXAgng X-Received: by 2002:a05:622a:1307:b0:43a:6753:38a1 with SMTP id v7-20020a05622a130700b0043a675338a1mr16943408qtk.1.1715078832484; Tue, 07 May 2024 03:47:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715078832; cv=pass; d=google.com; s=arc-20160816; b=G+3OCECFxhc6+8g1JrxGIcAJ2Aksysuna4K27hACqIH7WloJ4lSEjNP2v5biJx4H8w A4l09Pz1LGpB0lPV1iJ46NBQYLYNrAwQtI+ubd6gzvfAoY8hAPFR/UC2K249q7EcvnUK l4rmEgNFhtbX7rPQqP6CbTXMqH/PKcEwznRCv/KMRK80R4c4myi7UGi0PDShyK+TKp8J OTV8DI7OrhHPkACAsQXubyR5mJw3g14nTbTHhEyqWeudPB//kcknTOOqUsjZeEi7s3lD OY7PGh1xFtasDB5gHNzHuxdS4lufbLkN4foXH+R5JFZKY4AaGGdpG05GCBUgWRByDDsG pReA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9Vp/A2lXysiQppBwsI/i2SekMe2xj8Xh3qpKRmoK96w=; fh=wpGFVURqdBYDJvISrQoODZEHnVcuUZOfUAhWJ5UTCYQ=; b=Ah4nbt+VBBoUUjNEIEA/jWgAU8seo4svMJ6uUGtoWRxKnvzzNxy8O6SdhwErruuFq1 ys+nqzNYHFaTBnohMwhTMxTTeZKz8gN1PPc+eEA5GaoA+bRr8vmax/GAlc2prNWtlNUq 5GT0nFYU+2qbhOSjqhRSFS+bMkPBUb6vTezAspap5U0O8fXxtUkicx7cVB+8tFUNVgWG Q9glVZaMEcMq/vBljmuulSEkTTuxxdv3W91Y0YM2kB72/kvbW76Da6+LDsSg+M/GOrYp YILa0d3EUJTe/sUKWnJ83bVybZ5GRLUb6u/LXNxqMmzwKKxjEKSuhJNm0oHq7AN9hqWD 2vpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=PuYBL8O7; 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-171129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id er15-20020a05622a5e8f00b00439e7c3c6b0si10496917qtb.802.2024.05.07.03.47.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 03:47:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=PuYBL8O7; 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-171129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171129-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A2A21C235B7 for ; Tue, 7 May 2024 10:47:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6343715D5C9; Tue, 7 May 2024 10:44:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="PuYBL8O7" 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 E8701156659; Tue, 7 May 2024 10:44:48 +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=1715078690; cv=none; b=FL83Gg5/bowfWsCLLefp6GyAJb3vKXWDrUYqcfWAugzQNWtMwpkuH39H/XnxIXIsUqzyTcxJljRRio6TvE2x93yMRv7bluSDGfmJ1/YaL9VuFAPuPdkuw7hh+034roCnctG6bvOvxWW5HoA8sGvXN25tleOG2zy1IBSc/ngU1MU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715078690; c=relaxed/simple; bh=TqqEncQeIs+s96w8FZhXyABuN/mKfbK8Vghx5jUdGiQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=odzMBDKUl5XNZY1npi+j4M/NpwoAJ1c35Nq5Mvr4xRKXfLr9Kk1AtA5TgFxp02dl5/BEOHRbDg3b3vhPmlc3jJjTUbP6lcfSfQ+XxkrzIpLnblakWqBFnPEiyVoYpT0sE3Ptqs9NLgGjpqoou3nJPpOxJjTE32Y+r89tkck6TDo= 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=PuYBL8O7; 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 ADAEF6017B; Tue, 7 May 2024 10:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1715078675; bh=TqqEncQeIs+s96w8FZhXyABuN/mKfbK8Vghx5jUdGiQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PuYBL8O72Q0VHMn0O9KsL39Rgxm6MCpTeVNMudO/VAmkoVWHMuz2wnzfsYDegnUZk DkwiCXM9hJCVsM7eGtvlNf9vTGPo4KAlnaGLPU6wxX4+KEZhUrmqgR+qShQtBIkTCq +BVCpQKKZNGD7I1ew+NAcRNVbIE7JFo6c99JE8Vno5QoRgXAO3Ru7+YwNF2Rv4JleK vydWuMspdH6yI3MDQZ3mVVHB7qlXCCOx7C7KGEaXQ/268+L5gW2efi0WanThgCVrR0 8LdugpaZUtNOUNrkv7gr+1NKS8IRnuOXag+FkbTSa4unjBnzz4CPvF7h5iPqFCBa/A /mN0oMtRKp1rg== Received: by x201s (Postfix, from userid 1000) id 5EDC7203B79; Tue, 07 May 2024 10:44:24 +0000 (UTC) From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= To: netdev@vger.kernel.org Cc: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= , linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Manish Chopra Subject: [PATCH net-next 10/14] net: qede: add extack in qede_add_tc_flower_fltr() Date: Tue, 7 May 2024 10:44:11 +0000 Message-ID: <20240507104421.1628139-11-ast@fiberby.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507104421.1628139-1-ast@fiberby.net> References: <20240507104421.1628139-1-ast@fiberby.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Define extack locally, to reduce line lengths and aid future users. Only compile tested. Signed-off-by: Asbjørn Sloth Tønnesen --- drivers/net/ethernet/qlogic/qede/qede_filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qede/qede_filter.c b/drivers/net/ethernet/qlogic/qede/qede_filter.c index de6b9a60d4cf..5b353a160d15 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_filter.c +++ b/drivers/net/ethernet/qlogic/qede/qede_filter.c @@ -1876,6 +1876,7 @@ qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, int qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto, struct flow_cls_offload *f) { + struct netlink_ext_ack *extack = f->common.extack; struct qede_arfs_fltr_node *n; struct qede_arfs_tuple t; int min_hlen, rc; @@ -1903,7 +1904,7 @@ int qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto, } /* parse tc actions and get the vf_id */ - rc = qede_parse_actions(edev, &f->rule->action, f->common.extack); + rc = qede_parse_actions(edev, &f->rule->action, extack); if (rc) goto unlock; -- 2.43.0