Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp429414lqh; Tue, 7 May 2024 03:45:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQ8ItzP1YUuP3TkJxxwM/s8DKwEAgFer9yD+BErZYpuv+lI03FH++cbvTDRemQhwHVBvBBWxHFfdYwtSwuP6sX8g0SVbIvTpmq64D1PQ== X-Google-Smtp-Source: AGHT+IHfrKeMPIgLXBNoRbNJCRVYRosnrB1WpF2SvnY80X2s2w1VY6d0128fKVcpxtWzpGMayjRW X-Received: by 2002:a05:6214:2a81:b0:69b:3aef:c08 with SMTP id jr1-20020a0562142a8100b0069b3aef0c08mr11540124qvb.27.1715078708852; Tue, 07 May 2024 03:45:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715078708; cv=pass; d=google.com; s=arc-20160816; b=lQxLzt4HEEXf+IR4bTHY4rCw5suEx4DSt5G+2NHI0voynvEtHjjkedSljiaT86rQqe G9Y8BBk0cXtbpTrsufUxrMiNggV56tr7v699dE4YrYMP7YtuGe8vog1fi/RyxTouKb21 7XTvUSkb0rK64w1W4DQ4U511cKjHSo6gufZ3tLUnMVK8pCLO6NAH32ZgMDCfOxksOKl7 G100y2sPvsF66t4sy1lx/bo34G+bFUFBVTPWB7pgNSZinDACJ1woueq3TLNbxz+r47bo e3y6eK1tSToaCnUtxt0OGcq41QxUYGUllumUwByapAbj8jTl2N8yzKdyDjjnlvlHVpx8 OFmQ== 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=DH/8xO7leRsjzQW5yCbFXvX8GWxTHQViNpaWgmGiBDE=; fh=wpGFVURqdBYDJvISrQoODZEHnVcuUZOfUAhWJ5UTCYQ=; b=VAITLO6HiUk31Z1o3mFIeBC21qoVz3n+zvLYhLt0Kp/OB0XLPrJQqm7fpC+IVfSCFL qt/J/X/HaOQ60lFVAXVysz9IfOvM2/3ZIeYEBsFGH2zke+2dgCZmCzMNvWbBpeELAvUz nefq9QXDHQxqq/zHxLE51eza9dBKMnHF7wLhO7r6VLcTdZ4VICjbx1Aa9ovVvv8jqcya VcD6lTYPl0tstxXLkQNa/v7PKyEyoupLbqvSuJp1538LDO03vSSLV4D8Ept8dJ1/tLA/ 6q4gm/HFrKV2pwCN8ok+rJG6g01QVbkuMHXriaPk4u3PyoGMuvz9GPj8LTKAG6Nb/4YG k4ag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=BEBSedbW; 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-171121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171121-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 im1-20020a056214246100b006a0acf5e1f1si11646873qvb.266.2024.05.07.03.45.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 03:45:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171121-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=BEBSedbW; 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-171121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171121-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 92E5E1C231B8 for ; Tue, 7 May 2024 10:45:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 670C81514FB; Tue, 7 May 2024 10:44:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="BEBSedbW" 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 9BD6B14EC7E; Tue, 7 May 2024 10:44:43 +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=1715078686; cv=none; b=X7lVgNybmfCrX8MZAs5/8oVTH4FZoYsD9Fec7dAtIw1WL7bjaRd3375kTqWnxvdcbyrYqf7QqV2x+qjdJPgbSwXjLr2l+Ta9EVrqqdrV6X9E6ctIxOSWuRIvYlhiVXLtIsrT5F/BMSSK/RLFK0cZQlQzMjrCakdU4wGz0pmlLg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715078686; c=relaxed/simple; bh=q9BQNm/ihZ/CfwkElHCQ6Teb3l9zBwR1XwqAUbRcuDI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eYmOb95iZwY97bIzzdaYX1tZj5MJW6LPO0oxPLATiUNkbSXnoF46K+E+1WaSOLlMNWXOXIdm7zRZo/YAzGudsx7yWH3qmuTANeVgARfJx/xEw2DxUuMgAuQ1DoaeqI8mzb1EraUuthNI/c+ThtZnfuMtyZ9OzhIuo+c5+529fB8= 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=BEBSedbW; 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 D5227600A5; Tue, 7 May 2024 10:44:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1715078674; bh=q9BQNm/ihZ/CfwkElHCQ6Teb3l9zBwR1XwqAUbRcuDI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BEBSedbWn84/AfOqMmuy5Ld+h2Ucwiq4QhColSMPzRJq4ZGtktK8IzvA7Qk+WiPaS RrBPVLfa51mWHV1G9LhkK3VMme4+6f+inKOfsaOLXsN5yqu5WdIYfT7p6JgKu8cKx8 LCCsCMs2ZsHKdhb4RPrPVZnsN5Y2V2SSE/10gnNKBfhRN6Cx7jhBk7vriK96/r7wga pRX5kqVT/AUbuws91mv1FLy4ngAaGwa7Jbxoa6jg1iQGiDy8Ut4PQ9ZUjkL/V+qs3r ywCbM8h03SqQfsSuxzXuQKJRaElxbC1lfa70OUzogUMwzSto9ywobryF/seI8HbT7U HEe5ZG+jz6i1w== Received: by x201s (Postfix, from userid 1000) id 048B4203ABB; 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 08/14] net: qede: use extack in qede_flow_parse_udp_v6() Date: Tue, 7 May 2024 10:44:09 +0000 Message-ID: <20240507104421.1628139-9-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 Convert qede_flow_parse_udp_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_udp_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 2c1f860d30e3..e7b9aeef5a6f 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_filter.c +++ b/drivers/net/ethernet/qlogic/qede/qede_filter.c @@ -1806,13 +1806,13 @@ qede_flow_parse_tcp_v4(struct netlink_ext_ack *extack, struct flow_rule *rule, } static int -qede_flow_parse_udp_v6(struct qede_dev *edev, struct flow_rule *rule, - struct qede_arfs_tuple *tuple) +qede_flow_parse_udp_v6(struct netlink_ext_ack *extack, struct flow_rule *rule, + struct qede_arfs_tuple *tuple) { tuple->ip_proto = IPPROTO_UDP; tuple->eth_proto = htons(ETH_P_IPV6); - return qede_flow_parse_v6_common(NULL, rule, tuple); + return qede_flow_parse_v6_common(extack, rule, tuple); } static int @@ -1866,7 +1866,7 @@ qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, 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)) - rc = qede_flow_parse_udp_v6(edev, rule, tuple); + rc = qede_flow_parse_udp_v6(NULL, rule, tuple); else DP_NOTICE(edev, "Invalid protocol request\n"); -- 2.43.0