Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1698246rdb; Thu, 25 Jan 2024 03:38:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGwkrTjUAhXj/P2O2hB/K5DrsAtyD+1Jr9AlwP3BJRpE7wlHzpVAA77Q6RTpm+IR0dXJWf X-Received: by 2002:a5b:450:0:b0:dc2:3bf7:ddd9 with SMTP id s16-20020a5b0450000000b00dc23bf7ddd9mr552085ybp.129.1706182699785; Thu, 25 Jan 2024 03:38:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706182699; cv=pass; d=google.com; s=arc-20160816; b=CGly3RUkIw/JStHRHTOEPxTVEfOIpVEt8Z6Ec24/05cyTOC+RMomkRwmwVa5s++w5s X1YC4SpRy3WtTWf4m0rfygS+OhVXOZtRSiYOz0tgjRs4QrcU61iSjSeS5dN0oPw6Rcfa onNtaTb0HOqCFiQVILf34KURo+M9Uy3u32Qu/LIKJzpj0GnZZd1tTtbXiiy7SWbR+Xz+ eMds2yg+WzgqNu+bRPMj/rCsPVPcQrnBcdbg3QD138qomNUhGLEX0YUb9YGgkFLuzale uQ4TfresQRijSGdLHQlANk+pD7AzN41xlwQ5L4YzxdbC9ZsISP35ikddjEQ7HZXxV2O+ cJyw== 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=2/tZPchw5K6T+3kMMjfqDr/Y+pZOe+KHPzlPfFuaKlA=; fh=VyJz3ChbP5UCWVjUGssZV2orQ9omM6S2J+RfwmFxkE4=; b=Y9EZRbQz9LVC6jCagxnZrv06f5N6Zpq0B3/nz82j/m18NS2FqzLnQEYs5Hx2J3fihy HnJ1yTiWwIuX+8LkF6rw9POlRDK+UoB1zWx4rzKwbjdagMNErnSThzANjMdKsCqlRQ4t D5RUP6x1pK04z0PcwXpzYQmesw8mHoxRS0PeUGKvqUb9UELRHs4AXpo05BUPx1W/lpmP 0YOs1o3MIcB3b+qeiUJJN5CAYBNRUSxYU7Zt+m512cY5jNZYc+lUWROhtD4JrTcwcwMj mWMeJ4vm0y5RQr6QJTzYwY1NmeArXOEcmdX+d4uZgtnuJ3RJHvrKw9E1UftYJnpzdm54 cgqg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HTTFy3hJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38525-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38525-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a26-20020a0cb35a000000b00680b1758fdbsi12660558qvf.383.2024.01.25.03.38.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 03:38:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38525-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HTTFy3hJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38525-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38525-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 877AF1C23FB7 for ; Thu, 25 Jan 2024 11:38:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A638151023; Thu, 25 Jan 2024 11:34:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HTTFy3hJ" 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 D1CAF4EB55; Thu, 25 Jan 2024 11:34:09 +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=1706182449; cv=none; b=fjhzvGcITPgqz51e2in2Iyyr764psmpeUpi1Hgkt+RD5W0b+OnuhT6T+vpkRbiSDvXqzPpKKlh6s5rdgtvVzxe59Na7FFToE7adrp5c4WWXvFCa9h5LSeuFgGO+LM8HkHVtmjOJz3BKliradHeLoVxFzA7hLx2UPnY8PuXM/lG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706182449; c=relaxed/simple; bh=TLfJEnIPKzYpdMKU0V+DfSZCB/7ZpVGP02ypQwUMDQc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V0TVxjwDZVdJJA+FHCTzKHYA+So1bnfaN8GXL4gk/bjGwP8uGMS02i7dVNr2EairtfPSwg5lmFPJ85IZVSPuhXB7hdPJuAl/2OTsnThmaVpbfvUgq/sLfJ/y3lVdD3TijQsile+yc8yv8PLUjYpdEczNaMaCsA8HXlfAPK/mUVc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HTTFy3hJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B674C43390; Thu, 25 Jan 2024 11:34:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706182449; bh=TLfJEnIPKzYpdMKU0V+DfSZCB/7ZpVGP02ypQwUMDQc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HTTFy3hJ3SoCH4WJ3JNP1q+ofl/d/snBaI4ZYot8b6hA+hwhMTXOehJT+gouybF0d c++WVZUnblKsGU92/K3GrL5P6aH1H/STAB+VmyRmmQL5r9HZU/RNYFxG9nzn0m/du6 c+Oofhj7A+Y5YE3MbS69vl4UfNbky7nIqI70/iy3cySdRnz0eHA/VicdfwJE1iNV6s nve6bRqDgD8syPpw2FXEOckfmQAjrc+5ARSXqPUWTMy4Dw05axto+obkJj5HIojhBc T7VPbg9baL0hk4YZZjfRYKQKJPkwpXjf8+XxZB0+KXt3w5SnB/5QJ/b0pP3UtTyQJu abo8cex7yVmDw== Date: Thu, 25 Jan 2024 11:34:04 +0000 From: Simon Horman To: Geetha sowjanya Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, sgoutham@marvell.com, sbhatta@marvell.com, hkelam@marvell.com Subject: Re: [net-next PATCH 3/3] octeontx2-af: Cleanup loopback device checks Message-ID: <20240125113404.GH217708@kernel.org> References: <20240124055014.32694-1-gakula@marvell.com> <20240124055014.32694-4-gakula@marvell.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: <20240124055014.32694-4-gakula@marvell.com> On Wed, Jan 24, 2024 at 11:20:14AM +0530, Geetha sowjanya wrote: > PCI device IDs of RVU device IDs are configurable and > RVU PF0's (ie AF's) are currently assumed as VFs that > identify loopback functionality ie LBKVFs. But in some > cases these VFs can be setup for different functionality. > Hence remove assumptions that AF's VFs are always LBK VFs > by renaming 'is_afvf' as 'is_lbkvf' explicitly and also > identify LBK VF using PCI dev ID. Similar change is done > for other VF types. > > Signed-off-by: Geetha sowjanya Reviewed-by: Simon Horman