Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp549628lqo; Wed, 8 May 2024 07:49:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtPpPWE8ZtYrwH6PntPATYyIHUYMlX2pZP6k7kJ05mrfGWZy1NO1t3s6RqfUZwL2iqLSscEwUt52ce/oHFIGwGVW1zmN/+P8QxFUFe5A== X-Google-Smtp-Source: AGHT+IHlQGZrNz4dLYXcbtKvZbqgwVBtj2HFE1Edm+xpwRIr8ug+6A70rGFMlXX7i1V26FVphBDZ X-Received: by 2002:a17:903:22c2:b0:1ea:d979:d778 with SMTP id d9443c01a7336-1eeb049b2a5mr31981305ad.5.1715179772797; Wed, 08 May 2024 07:49:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715179772; cv=pass; d=google.com; s=arc-20160816; b=LB+Bayvv8EBG7Hq9P+RbjwupwX85/lUrrNgmiiiMIzbvsr2mf1/YF9WzQP67EOrN+V RoY0vHhBXZG+P4seJifI4QOvz3zhIEsnj7fbP+c+q41hEazCXRUhTGd7t3b3OgV0GK+L BCHa1FSRYKiOudv2BRvEHCc+57wOoc5xXe4A2bv74F+M7UVADktAhRGz1gAva21WGB/l v94aR/WbNYkigKQC24Tc1Cu1z21pkWlnRI+F33XY20SRTc8k11iqCSlL+As5I7l6GL59 PkTVp2Icwbo7Oj4WrSYEZ4AgbFvxchQ3/AWTUxwitkm+GwdUrVYVYmUKxkJKoz2zGfIj Qx6w== 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=7iyjzZhb7wwW0B97WFUtofS2MEg6gPL4FcB0DOLxqdY=; fh=rqK/kbiHXEsDhCYp7FUmdresDQTW1BsTvC4AiyDFYWc=; b=PLHIBDic3589WLOXb3E8AF6ktDNQoiVmHeyYoWep0pRusZMbDzGTjkDxF6VWfyYxiz DHAAjYuw+zE0lrtEagewAiLKq46o2NlnidKrEudt42sG5am4EHsLrDD/NjXmaFQx4/JP subBUzqW8/n3kDxGn+0GVexo9/ypL5mzkRnNdf+d4ELGiDNPutoLMLVLcAOtVL62LLS3 pqGq2WTfiHtHCXnvDQCdz5lFhutgqyLpn9KsvH8++0TY+l+MrhVrkbZQzdFt6mPG1B1Z RkGrJM5AIT6h4fvs26uS5BzRrG5vRAerQVKZ4BXnYBZQYa7qsI1H+LP+E6VSBBa0j4P8 h8oA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=bm5BYzmS; 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-173432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173432-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p16-20020a170902e75000b001e90418be66si13059751plf.600.2024.05.08.07.49.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 07:49:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=bm5BYzmS; 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-173432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173432-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 08B7728B021 for ; Wed, 8 May 2024 14:43:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A88E127E34; Wed, 8 May 2024 14:43:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="bm5BYzmS" 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 36A5D86621; Wed, 8 May 2024 14:43:10 +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=1715179394; cv=none; b=ieAKBv5rfT7xNiutlKzd8oXSCTsydZN4kE+RhCCell8lckKjeDZUACJJ2ISM3o02wy4MxZU8UWPgBxcBRCsydTDWsakK0Ap4F8ZFUj91v0m0IUEhkxs6goFUgshMNCAlmDSEjQBW2C+FuaAIZ+FiYBoNNFpmpoq8BmTCRGcLn7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715179394; c=relaxed/simple; bh=4/NGqnq/P6W7DCZCCHJpFo8vOoNfYri66a2ARCZZTzk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tuA1ivODldT7MdN+XKsweILyePkPL7tBDJQ/pYvqnxTTEAgiPtZVp8RNrKRb0jz/0pFbLKfUo9FYqbB6hd0oX3s2oLcWh3Tpw4kQvANpmTCduJPjTK9F2bzRGYJ/QGsF/LNSSNZJHuwTs4rn0wNQ59/815rijPSTaH87Fu4oGLY= 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=bm5BYzmS; 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 B1B88600AF; Wed, 8 May 2024 14:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1715178867; bh=4/NGqnq/P6W7DCZCCHJpFo8vOoNfYri66a2ARCZZTzk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bm5BYzmS0A/WGy7fjQKTkxZnk36q+rM5E7xQXmeiuGeYPpG0Aq5uTuRXOucjw8Ecc PhTLoC6sM8ZgJP0mZJUdV0HrQAzW5vpjoWUbNrzg8GDpp5NentHJ4BvZYAau6rK5Jx UGgCkzb+m9m9s2mGNRGxckFftU3L20pLGZZsQTcNOWc/7eOTuOrfuYSP824riQD9t3 /z010XmUO5CwaymCeO4cmKlRqvYdu/OJuYULAxcjXurjGM7lutIm7VFXyJy82eHdgu ITcxufYOR0MuuVVbLF1gVXPfgnmDspwcrNgDHpGuRZ1/bvObWGZH2+wLQTDljt1GLK OIghNMKgn644w== Received: by x201s (Postfix, from userid 1000) id E4E7B2081D3; 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 10/14] net: qede: add extack in qede_add_tc_flower_fltr() Date: Wed, 8 May 2024 14:33:58 +0000 Message-ID: <20240508143404.95901-11-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 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 69dbd615b653..09ffcb86924b 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