Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp428342lqa; Sat, 27 Apr 2024 07:56:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGWYEQMfL7KeW6BDerzgK6umSAg6tBIRTKfqR85o92NHi2IMg9XDoBa4nOXo9VpwBXChGFENSjqm04uScLFnIQcJeGAHE6RL+XLARdGw== X-Google-Smtp-Source: AGHT+IHqza6CHkOqs/ib7zR+ogsPL06PHSunblzsr/sTm5ZOPAuDhOi8xUTTZRByvhof5FoBB5v5 X-Received: by 2002:a17:903:32c7:b0:1e8:682b:7f67 with SMTP id i7-20020a17090332c700b001e8682b7f67mr7873911plr.29.1714229800944; Sat, 27 Apr 2024 07:56:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714229800; cv=pass; d=google.com; s=arc-20160816; b=woyRkCJJwP3b4XsUc6g12EnZZ5CeAwnkTACBur35KAvZbejyxFLQqh4zjdNYvMyNBk g1S66G15Vvw+uWRzcrk8NgblqxsYZ5A2p8FOTvxMHacjL07TRrmVLMbvAYorm9Q0g9yF j6VyoYL+FXw7tYHH0xO3H6ixgGcpeLSmzGdVNC34kLfqK+1xYFbRRqWvBtBPBEqghyDz 7fDJRmCbxkJusPYRX4MUwmR2C8m1kAfnh2jcMoLMBLgKUoIBIAHgD/DvjrYQhlXpxSiR ndjjzKfGcif2t3vy5Dlm3KolZ0JRR2ba4A1qDrgBN2JwY9lG4Ttchvfc59deRZDheONd MDFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=amB1hYPTQMfz40I+7JQXi5CGkpHsd144kXjd3wF8N4k=; fh=a4I7Ys5oE3okdNDX3WfuehWNsB6aWtsAVn5VOr7PoNs=; b=q3FV9lWEQSWMAxlJ0hq7JGRGB3Kq5JYH42iuwkakyHphxxR5l1v6HGONnuRkxOr+Ze hE+gT9/FOxg2eOiKE9lOGylzi7BSBXtUQVhNPAAsaiUJpuybkaaaaXYZx7J9soiDpY9o 4v8/H5TrKVmiuxk62pArqgu3EDDTINkzBsxQsFHQsaKfefah60ktfCracI6mYmw2aRZo KiefC0IAAj6+Z0FKmDiIQm2fiyEIR8AzDDCimq5hEzSQwHJy9jj9ZTrzUhvNRDb+8U0p gVS3CZf4BMgOn9jO6hoXfEA6RcUlUO7qcQ5hOoQghEjv0WWsS3kr6efEEtofZwxx62dA UKjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EHoB1Bdo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161073-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id jb22-20020a170903259600b001dbc70ef010si16207978plb.362.2024.04.27.07.56.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 07:56:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161073-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=@kernel.org header.s=k20201202 header.b=EHoB1Bdo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161073-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 948CC281B9A for ; Sat, 27 Apr 2024 14:56:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 728064A2C; Sat, 27 Apr 2024 14:56:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EHoB1Bdo" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 98275817; Sat, 27 Apr 2024 14:56:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714229784; cv=none; b=RujzZ0rDQzAkUmnm63byl/uWvDGeUx6v3eWTvYuVPDdeABWR5i7zk5dBpeJYlfs85nxtyUvcip36TD4oVKy7OgyAzobIk3AFsxLZ+pyJXyfNGANpkRlcbotDsGvfXUkGOxLyK4ctau6hE+I5B63IpUkk6RIY52wv+hsyN6guj54= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714229784; c=relaxed/simple; bh=tKS6xrGJ1Q6azSgyWQazosphPUvdjtA4NX2ju1bSK74=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m0zi/dfwezcVLpJH5qEDEM1Vx00mJWVFuEE17Aq21sjJrDZC7QgYiYik+y6Wlc9hlE9pCbvGxb1uJ9XN2+X1gZqxrfA+feDEc1QRm9k6cayPbsdavWtVt+ATn8zjN2oDQ5l2shH2VjXIGYOfzJxacIbbxbcAMPiNZ4+i1nodGgA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EHoB1Bdo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D17CEC113CE; Sat, 27 Apr 2024 14:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714229784; bh=tKS6xrGJ1Q6azSgyWQazosphPUvdjtA4NX2ju1bSK74=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EHoB1BdoceXwUmEQxyX8i+4FOzlX0LepVXbv26RufCYZn9aNw/ZhaguAkeRIbZzKr t1JblNpvmPFewskVT8w/AEgsPXdYn31KDpHgf5byGjR3WK4CQb4CHaJX4p75l9bd8l /wuUY4MFSb5oZglQLz7167uE/3bJjgkK/htMj/m/87LgwM6JqcrBd1YJHBBaZOWxGh d26O8DIW1aROZbytZERsS53yvqmMX26AmrDsaCedxvHIpAykm85ugrXXjZHh/Fv3JM 6CvEXbbkRf7TMescpl/BXFPXYIxwoRe+3GDfvqOhKAzyV/2b3hty1vJbG25e1yJFUZ hQFjiUdBss/9A== Date: Sat, 27 Apr 2024 15:56:19 +0100 From: Simon Horman To: Ivan Vecera Cc: netdev@vger.kernel.org, Michal Schmidt , Tony Nguyen , Pucha Himasekhar Reddy , Jesse Brandeburg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "moderated list:INTEL ETHERNET DRIVERS" , open list Subject: Re: [PATCH net-next v4 2/7] i40e: Refactor argument of several client notification functions Message-ID: <20240427145619.GO516117@kernel.org> References: <20240427072615.226151-1-ivecera@redhat.com> <20240427072615.226151-3-ivecera@redhat.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240427072615.226151-3-ivecera@redhat.com> On Sat, Apr 27, 2024 at 09:26:03AM +0200, Ivan Vecera wrote: > Commit 0ef2d5afb12d ("i40e: KISS the client interface") simplified > the client interface so in practice it supports only one client > per i40e netdev. But we have still 2 notification functions that > uses as parameter a pointer to VSI of netdevice associated with > the client. After the mentioned commit only possible and used > VSI is the main (LAN) VSI. > So refactor these functions so they are called with PF pointer argument > and the associated VSI (LAN) is taken inside them. > > Reviewed-by: Michal Schmidt > Reviewed-by: Tony Nguyen > Tested-by: Pucha Himasekhar Reddy > Signed-off-by: Ivan Vecera Reviewed-by: Simon Horman