Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp906477lqh; Sun, 5 May 2024 07:11:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbXKObxF37xUMJ7FFxZM3tVIv3SBivL7pz+h44xffPmIEwueyzKnm6x+rgMxSbu3DMo2c3ZESPC7lUepnm0NhcmbQSFLelNkKQIeqG4Q== X-Google-Smtp-Source: AGHT+IHcJkbBNijavANcho8A76oyUm9pYHfbOdd1Wi2WiFli6e6ueR6rm3cElaE7e4ozh872D9M/ X-Received: by 2002:a05:622a:144:b0:43c:5d37:5a94 with SMTP id v4-20020a05622a014400b0043c5d375a94mr11208010qtw.62.1714918268220; Sun, 05 May 2024 07:11:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714918268; cv=pass; d=google.com; s=arc-20160816; b=Ix+DsheJCiTw0YOqs7oVrX9uzirxkUMmQwKrY05EJnleqv0qGPtlx7kJkx6in65v8c lWB6hm7zQ/uw0XH7XLs9kwCa3GbRDNNtJ/9Xbaerdv+3BfMQitETq9nMfeLaJHV5dIDe u6/rzYtWMcwZ03/D6VIvg77+jN5PwOnL0RXWdiIPGctZgjY3OcWOC03JKXHTl2XhUWre heUH+6oKQY06lVZCVEFM/dNRroJoniXvGmj0iaRRcFc2ToZv1/TR1HqGy5jePZG5scy+ bGbSoEcG+2lMuhgmtoMf7tTZc1nndm/1UrRIQlugwP4UY5iC35iJ4hQINSHMSSCIsLVV lBnQ== 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=BbK+aj5uuJpksyjosDn5vO2ulymJ7zqyDZlexpnYoaE=; fh=0moe8iCphaZcYhU8rk7wloB9N+qF1cu3KxAklpHXQu4=; b=W0iRM5HAndwuKZIrFsdbPJ5DfobWzeTCmYUInRo9DV1ro5R0Ks5hyXJpjYFlEgOlCR 7Du/y/4CFTisqO3WSpqSnyJhRsJrCgCM10UHHYiUBgpnCMRWp70TbkFUSOqT242TsAGz KvLVWW0eJkNkKVvQqH+gfO4Qj2m8UnURgYTi64jP2F0RQVXeUfWNktsQ9I3S9IYU2baA CY+CXJTOoeGQXeeN1Nq6EfKqF3oyaktw0nqL2A3b4OUVWKlqw0SAmkG+Eqr4WzRSIB3p hbZhOogXcwEs3uiW/FRaMOmK75IsIqHo3IslWJB84dCMm/CGVpV7h8aaa+tk5tI0upuy kR6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AFIEUiAM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168992-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n18-20020ac85a12000000b0043b0a9101d5si7692225qta.602.2024.05.05.07.11.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 07:11:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168992-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=@kernel.org header.s=k20201202 header.b=AFIEUiAM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168992-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 E9DAF1C20B6D for ; Sun, 5 May 2024 14:11:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C04122625; Sun, 5 May 2024 14:10:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AFIEUiAM" 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 BA42E1D556; Sun, 5 May 2024 14:10:55 +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=1714918255; cv=none; b=MWPb6o8QlBDyTWt87VRihjNreTbcwpHuq0soJmyuYXWSzC++wBNNvO9v/UDxHPfxXqAUe1s9w8/beQsZjmYitSxOn1UPIb6+cwBWvDgub1OPedEOU6gwfQW1q2ZftHrqcRox5ts3yGubVfA+oEagTU+lP+vFauqU9APgloRKBhE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714918255; c=relaxed/simple; bh=l+QfcIw/W4/Qc2ykMKKcLoG2Ca5/57nuM2Klcz8YbDc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=TesLaXj/Lj2peJN0GpDQrqcrezNzy5cOSiDHTDw6sWfN3u0xz2vNuGGScVYsU+MiaOA+zjVjz8R6qlG+Z8bfF0NLJIslcyoOfsJy47whzpOm7Q/kut78PCt+tw2V/PiNXbs4aR1B3FtJ2VlNbHxw+/l9CPpEd/hBjkmdm5NyJB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AFIEUiAM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8097C113CC; Sun, 5 May 2024 14:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714918255; bh=l+QfcIw/W4/Qc2ykMKKcLoG2Ca5/57nuM2Klcz8YbDc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=AFIEUiAM/BjVulzegPCT7NbxWJx5GRxjCvUwSxRsgBrGPZ+pVPWSdLEdJuHgSBEi2 b9oKv09rOUN6X+lfKSHwSzbnaEcFGBd1hGykFtI3uk9+nbYpY4S0wGO1v1FXZkUvKK ZoQ26I5Zj1VJRwt2tcwtZS4SjO0vNA+U5Jmg6nO3dTltebWw18Ydi6K+gJutbehFK8 5zKaXtEb/beNmzI/flyoeXssFZOepZIcYk2Abz24RPV41odGYpQIdhs5ntkToqT0P1 TSGLsm49gGd7b9Qxc2aTpZOMCBhS0o4EfmorLY9Q6PZRl/GZ7PeBaGp8CgRzl1kivB 15VDKyMyr0KjQ== From: Leon Romanovsky To: Dennis Dalessandro , Jason Gunthorpe , Breno Leitao Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240503111333.552360-1-leitao@debian.org> References: <20240503111333.552360-1-leitao@debian.org> Subject: Re: [PATCH net-next 1/2] IB/hfi1: Do not use custom stat allocator Message-Id: <171491825157.204646.10648523184290579853.b4-ty@kernel.org> Date: Sun, 05 May 2024 17:10:51 +0300 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: 7bit X-Mailer: b4 0.14-dev On Fri, 03 May 2024 04:13:31 -0700, Breno Leitao wrote: > With commit 34d21de99cea9 ("net: Move {l,t,d}stats allocation to core and > convert veth & vrf"), stats allocation could be done on net core > instead of in this driver. > > With this new approach, the driver doesn't have to bother with error > handling (allocation failure checking, making sure free happens in the > right spot, etc). This is core responsibility now. > > [...] Applied, thanks! [1/2] IB/hfi1: Do not use custom stat allocator https://git.kernel.org/rdma/rdma/c/5194947e6a3966 [2/2] IB/hfi1: Remove generic .ndo_get_stats64 https://git.kernel.org/rdma/rdma/c/f483f6a29d4d70 Best regards, -- Leon Romanovsky