Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp443044lqh; Tue, 7 May 2024 04:13:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQlmHyNpU/UMSLrQPoIAUBLdWp8J4kmq/VKX2LeIxrLGMwUVKjr+VelG3wLmCuTJG6fWZxX2YATxsE1EeOm2t3/5zn7wrZzcfpCIgoBQ== X-Google-Smtp-Source: AGHT+IEQlhmutUGsHs1yGoqzyaYueTHMP+FvkMGn0Eq/lsH0xZDK9oOXpo6vkeJFlWnmalspVvs6 X-Received: by 2002:a05:6a20:914d:b0:1ad:12fe:103a with SMTP id x13-20020a056a20914d00b001ad12fe103amr13158646pzc.23.1715080408542; Tue, 07 May 2024 04:13:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715080408; cv=pass; d=google.com; s=arc-20160816; b=0jMj0LLuEjaaaIKJJKHG+ARZrNfn8Dyz5fEiIsaAHUERma7hmDUWyR6uM8EmXGJHCG pf/u9CUDzVfVrCUD8f40aXemElvnQugyQXLotXAGlX1ptZYV54OgvJCI/1M+6s8qMbZJ 68PD2vKDYi7Lkng1juEOW/3zXmuHYux5kFZgQro1BZgdJd0CT8NlyZ9YJ+ipAEiS7NYE /Cyqj8vemB1Qm3+PNMAzXQxx3VtT9qYUmwP7mCf/0vNY2Bu0+WzPwqY7OhpsO4QGxT4L FAEs7b04JT/8xgxBImbBqcpZFCd/Hg+6RKnepK3U2s5sZEZBU2o9lfnQ9vVGX7oEMvj6 UX3g== 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=1NVP0o6b6fJ1Y9B3pM8h5LhtSBvCEuaIQE+Ae+YgjN0=; fh=wpGFVURqdBYDJvISrQoODZEHnVcuUZOfUAhWJ5UTCYQ=; b=N+sRLbfBtUb/DquIgfznYSp8eCSbRsvZrguChh3fFB+aAt059ra9Si9n5kHxoqWqtx Ydr3JkOxT2tEeYTW5YkpoW9k9AxkV7nhvg+tJOujEIW/cFAJMJAhZBWq0SOS3b0rjizu 04n+kjOQXSoQOlnKn9bS+byDZ+YuFI6DbvgDzmFKLoqhGhz/ngpWLwQtZjafE7iWZWdu vMI3A30B3LQJgJsIDoQtNPaGsX9rBzLnG210kHUlQuhLchfUWS4Xyw6gxrFIfoFLi0dP bZWpOxQ2h1Pr3BEor1M0RnNl6WBZT8TBqEYXr0np1QNYton8JjrD3fW2cHCp03DF7GT4 aQtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=RtHm+Yyc; 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-171130-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171130-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 p15-20020a17090a2d8f00b002b1dd0e82basi7698349pjd.8.2024.05.07.04.13.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 04:13:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171130-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=RtHm+Yyc; 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-171130-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171130-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 06240B28107 for ; Tue, 7 May 2024 10:47:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76BB215DBA3; 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="RtHm+Yyc" 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 D2905156645; 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=tJJdw7PtSgEL8kY7vxNn82E5TaxHnvZLPBiskAXvN/4gxYU+hwNhUP0XP3ltk3HFBgi2p02bMjWtLuN3XEG6JhUArAj9ioauj8idiDsSCwIeyLBjZfznCu/2vWQr3+6n0HA60nnUHjfsFBg2Z+ZLlvg6S2l1PxIsiFTeRH6r9uQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715078690; c=relaxed/simple; bh=fexZUMKg94UcObypKKVFWeyZLvhx3OcEH+Pt6uNVRzc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RPsby/nPKafQ5T7PUZiA5eC7STd1F7Ly9kZxIt8bIo8FvzhvURkBSmf1oyuOX5jDY+9/9PoMChMynaAfXYfdL2a9jfV681EbWhYpd0tjS/mopizUX/gPxGnPd84Rm9l1zgtyUDzf80Bui25Gd7G2G7gtCEdpZ1Sktvm2fbcHVYY= 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=RtHm+Yyc; 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 6648760173; 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=fexZUMKg94UcObypKKVFWeyZLvhx3OcEH+Pt6uNVRzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RtHm+YycOgIr3Y9uSch0Bdi4zbbt74gxiKWPpwlL9P/UIP+iBtj9LC1FzjeOs+1mR sv7YiblWMTZ3H7zoGQFfpWsmHLSVEaQXB9IDOE7bz3IZl2+5qiw2gGR6RzlDFfypP0 8MO+W85DuGaLa248WQNZodFG7lLSu15laztfODsgp1An550aB5dVL3T2dlqdDV0A6E c2FfGyAW4ETmCUJgQt9g5VCbCrIdwnnK3all/eWx8WfcrFaBl4udQVWrAwWjPcyCP9 HTxTxLEb2S8NFSLheAPR5/3SaKKcffIjH9JlYY99ncX1gDK6q9G3v3NvNFYYsmYmsJ s/mVDGkNQDsbw== Received: by x201s (Postfix, from userid 1000) id A50772037AE; Tue, 07 May 2024 10:44:23 +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 06/14] net: qede: use extack in qede_flow_parse_tcp_v6() Date: Tue, 7 May 2024 10:44:07 +0000 Message-ID: <20240507104421.1628139-7-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_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 056384362037..bc0e95ba1880 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 netlink_ext_ack *extack, } 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 netlink_ext_ack *extack, struct flow_rule *rule, + struct qede_arfs_tuple *tuple) { tuple->ip_proto = IPPROTO_TCP; 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 @@ -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(NULL, rule, tuple); 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