Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp550875lqo; Wed, 8 May 2024 07:51:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVB3gQOHL3w/QqpEqQxlsN5slvVVdwTBcIZ5uRjdwIf3+URPZj6TgdyM75fvw3BoJIuQk2q5kMlQmWplEw4ZNffESpve9V9ZLzO2sl9Ow== X-Google-Smtp-Source: AGHT+IHj2B6o+c3ObTRCJvXhAKqbzfNvTa1IyvpTsj9DDu2Ta+C3x+oc8W37ozBD2/xerN8jLiQ2 X-Received: by 2002:a05:6358:52c9:b0:192:9d35:b027 with SMTP id e5c5f4694b2df-192d2d397ffmr361460555d.15.1715179908405; Wed, 08 May 2024 07:51:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715179908; cv=pass; d=google.com; s=arc-20160816; b=RFDX7oDE0lo98x9iH1EI6CZuplBRmzLTmlIz43JL4MsvCKj9wO6jlTH0QPPpJBo6TF wxxk74uo1abD3DXuDxb6hjFhgTtCacJfAJ0Frl58Maz1SBnVFvsX3ZdIEJAyb44InRDr CK6T1+Kyq7sPpKOfnyiofzNRbdH+jES3lr8rnM/McyeVqD7LhS1caRiSg5yZZLre3v1V zNFPx6M0CMbtnvIKH0s0TVdCvljrffALyt10UrJQdY1qqj83hH2HsMtoxNeAHbt+1XkI MjMIFHqO7aAbgshDAcSAFUnPOvEYdabMFBpdXIr8bFuTbCMhblGE1UpgC1avMTqx5u/L cgtA== 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=xe5dDj64nMYEurS6Cm76PuSeYxUMImcA9kt1Bh7/qUM=; fh=rqK/kbiHXEsDhCYp7FUmdresDQTW1BsTvC4AiyDFYWc=; b=p3PwGswDYwCO3C9tRk+s8p2WVdPC//d1Zw6akdr+lUFO0yxkghPg7o07kqtfrNBjph lHzJDRwrAWt+0m5WNiZLmjGrPmrXuSbbwENWSyIM3+ipMgVzlgkMkmgMAmU76MNcbzBE 2qubBxyKq/j0XA4NgyGMvyaE+8E2smHAK2dRs77s249EbPWdwPdDPQMqvsATj+dJ7W0w DT03oscka5IHWPypFCaSXfwcIHoA6To2t3uzHeV6AFBzFY7EQ906YNcspYS1+snwbFI9 qtjnjpbZZmemKoA7okHntk4hJhCl+Qr3C8D0xsxdvKW4oF6N2E4T2Q7EZsVo+bFreIYg ss9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=FQbkDhx3; 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-173415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173415-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i184-20020a636dc1000000b0061e1b2977a1si9073333pgc.248.2024.05.08.07.51.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 07:51:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=FQbkDhx3; 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-173415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173415-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4C778B22E88 for ; Wed, 8 May 2024 14:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78D0E12C463; Wed, 8 May 2024 14:34:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="FQbkDhx3" 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 84DC98625F; Wed, 8 May 2024 14:34:37 +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=1715178880; cv=none; b=JFq7HalzSs71lnpsbKAZn57He3/uzxN5DKhqrSz16/5iLU7OYqgPFbODCDy0PZiEvFHiGrwX9YHI6K9kHh3jMi0Xo+fCWbTthRpdWLsOPggbl+Lu5qiV+Wo78s6jHBOsdI8vpqPr/qYAOAWNaIwJtiUEM0fNuvps06sIHt2jMDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715178880; c=relaxed/simple; bh=3Mx59MjfqLat4qcwGUo/G75JG9Raj6N8SRjjACLfc00=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dqLXmj4LNfRat3vvdhtW76oV5KiqmCxRaTd5hXXi4ob8zKgIPcXOaODsRh1vwm72AKlyXNmDAhk+Eyl1knYOhgM32lqeVwfALm3sfYa+tT4eeoPXuP8Ayw7b10RVA7irYhl2WLvDML+HoUGnqPFNNimPq5TGDkuYY19c881bSFg= 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=FQbkDhx3; 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 9E3AE600ED; Wed, 8 May 2024 14:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1715178869; bh=3Mx59MjfqLat4qcwGUo/G75JG9Raj6N8SRjjACLfc00=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FQbkDhx3y/oev0eWrSUECC0qkLlUYqZb5QMDUoyVz22X4HoCBw2rl0UpWWEMiox40 t4rTpvMwfUAR7paYQvd6SB4TCeeCkQDKzKVSNhvtdj2OBuSq5grCtagtZzXBoy9cOC 6zd4JqkpVuWdkdMuzJSHxJKRh9gqdZkrNDxJDW4wMkNXMXNHx68ZB9nVqC5+QELZ0E 94HrWox0XrVolIVHRmPU7ielw4fEa8iUZ/Nl5yLDq58BkWWWghWSedGP7P8jXzW9PG ATXToygNTfCFTtOhRd+74BYjwWvEHjNzD3xeshCMCSrPknTF+dvmaBrvDyrD0qU4vA 871f1O9VsFDJw== Received: by x201s (Postfix, from userid 1000) id 317A6204FCD; Wed, 08 May 2024 14:34:06 +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 , Przemek Kitszel Subject: [PATCH net-next v2 06/14] net: qede: use extack in qede_flow_parse_tcp_v6() Date: Wed, 8 May 2024 14:33:54 +0000 Message-ID: <20240508143404.95901-7-ast@fiberby.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240508143404.95901-1-ast@fiberby.net> References: <20240508143404.95901-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 Convert qede_flow_parse_tcp_v6() to take extack, and drop the edev argument. Pass extack in call to qede_flow_parse_v6_common(). In call to qede_flow_parse_tcp_v6(), 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qede/qede_filter.c b/drivers/net/ethernet/qlogic/qede/qede_filter.c index 28e4d54dbca1..ddf1d6b0fc83 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_filter.c +++ b/drivers/net/ethernet/qlogic/qede/qede_filter.c @@ -1786,13 +1786,13 @@ qede_flow_parse_v4_common(struct flow_rule *rule, } static int -qede_flow_parse_tcp_v6(struct qede_dev *edev, struct flow_rule *rule, - struct qede_arfs_tuple *tuple) +qede_flow_parse_tcp_v6(struct flow_rule *rule, struct qede_arfs_tuple *tuple, + struct netlink_ext_ack *extack) { tuple->ip_proto = IPPROTO_TCP; tuple->eth_proto = htons(ETH_P_IPV6); - return qede_flow_parse_v6_common(rule, tuple, NULL); + return qede_flow_parse_v6_common(rule, tuple, extack); } static int @@ -1862,7 +1862,7 @@ qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IP)) rc = qede_flow_parse_tcp_v4(edev, rule, tuple); else if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IPV6)) - rc = qede_flow_parse_tcp_v6(edev, rule, tuple); + rc = qede_flow_parse_tcp_v6(rule, tuple, NULL); else if (ip_proto == IPPROTO_UDP && proto == htons(ETH_P_IP)) rc = qede_flow_parse_udp_v4(edev, rule, tuple); else if (ip_proto == IPPROTO_UDP && proto == htons(ETH_P_IPV6)) -- 2.43.0