Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1529353lqt; Sat, 8 Jun 2024 01:59:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVewCJcei/MquoOt1cRgGoWRSZUkKR4pdyK/ihMuiK2q8WVqD8dtbFM6/T88iBhTuZa8AYmkEjE5+WNTtiWWydVNJwGF0CiW8JF00qr4w== X-Google-Smtp-Source: AGHT+IGi/YZKPD+3g9bA5Xgzwsp2g7jmnZJAloEwJKByqQu4B88xojaHqDd1UDfYEC+8Pk4Nl7wb X-Received: by 2002:a05:6359:4c1f:b0:19f:1a5c:9a6a with SMTP id e5c5f4694b2df-19f1ff8f8e4mr478107955d.23.1717837156098; Sat, 08 Jun 2024 01:59:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717837156; cv=pass; d=google.com; s=arc-20160816; b=em6458UjXPKkHq23boQ/9zi+lbS8iKPfPqxHX1VPpYXr/POiIqgF1skw7AOBUsKT9L 5EBmEUF35uKKaW2Pz7J791//hE1urQYuIuQkRiLrzrjehVTqBCd5DsFDgY7s6U0pE7ET vNFyDyxlfS2JGSMTit117ywBSPHPgKw5SfP9zX5xMFiDkZbsMICWsEk2AjBXtHUbrO3E Lqy7zUXxZ6SusyF8sMmeVs1ar6TOvIrBH6JmmJnKO/9c0LUr0boVBd9qKccD7SCzi1he 8jqSm3D8K0cejvSj8rouptR1Hi16tbTtD5okwlBGmpHq67DlzU68oXZYUBnuorAndjNi uPtQ== 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=iD6GW2WLVrUH8ymcGHbyhwrYHcGq/UDpicfHmxifEkw=; fh=rZF79Zhfij1OkqlwpnIYoZrLf2a+4nd18gASfvPixfw=; b=pGIS3ZcJp638tVvUpvN9+nkkMopbzclxWgVTXPmDUaoubRGhjWIjiQnbWiHkHUS8Ru fDcwsuGkFGvrBRHuBrxlG+7pEU7gTTvjVrVaADZBgEcmq8DfsXErOAdHAGT26yNZVO2V VuBuAXR6m1jkJSqaEUQSzAubRzv85O1z04qGSHfrxlCLcEmlQ+uNk1UkYPu2tgkr7vRv URKTu8jj7MS6T+QwOmfxJMw/gem28f2htJMcvgYtgqlqNpNfN9qBq3BYFzYejGQw2ZkT AjHF/nnShngVHOeEpd7igG1QCNX0hHEdJvrLz4VMJdIi0Q8XCRpS+d2fT/3EZaUldhBd rseQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dIdk0qU1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e50ba6b340si1815997a12.448.2024.06.08.01.59.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 01:59:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8718-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=@kernel.org header.s=k20201202 header.b=dIdk0qU1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8718-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E2E39B21994 for ; Sat, 8 Jun 2024 08:59:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0029176FA5; Sat, 8 Jun 2024 08:59:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dIdk0qU1" X-Original-To: linux-wireless@vger.kernel.org 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 82C5D1804F; Sat, 8 Jun 2024 08:59:07 +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=1717837147; cv=none; b=FOHGgPEGDa3Jr7+J9O5gbIE/1uNW0uHnuAP/ORRF2AyCFBwUZzn6gK6M1SzJzdlJtTF4PmdBMb98ht9wT1yA+e2Tz8jEO9i+C66CfuHnQJaWPp4d08TZ94vKnUdoE4w+YXv7QgA8LxWrA9Ac76OfrAiX490ZWlbAapXwre9f24o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717837147; c=relaxed/simple; bh=24tDD36HVuI2oihqADVxd0qgj8DcFJMhkdUILfG4Ur8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IV4WOl3Ur4kr9REZZmojnFsiQViYz/srVDxeedZ1TRFetzRtr+ea4lepVd9SK2XUsAlq0dt76l+DnsE0Xg92uqpxTfL/RumqMt4pnHVzG8UPgqRe73wUm4WjZbWNsU6UTMOM3Y/c0042ixReF6JJsSSE5ytWf7J/Qw7zCraDMdI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dIdk0qU1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8E12C2BD11; Sat, 8 Jun 2024 08:59:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717837147; bh=24tDD36HVuI2oihqADVxd0qgj8DcFJMhkdUILfG4Ur8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dIdk0qU1+4V4zdMJpeNKvJl1jF8ckNizSgs+7bAgEsDilbQvZ+ovuzBaOTO+TwT6e VXmRjYiM5vSLGbRdgyaOgDgd8bOQnXRuBuxpbJ9EQnymIilpL26QfZ55xcvoxk1tbQ YCIij3HAgh2qkjQuh0kFSlKT/JiPKeT6IL7ZVVIQEWJ4jKSWkw8+5DgQUx/LoDQVXi 50dKf0UH6VJOxgXXyX9JdxpPtcweW3kEsg10uZSb7T8jNp/s4FDLkq9nNb7Q9aaI2A G8mcIAda4qgmixgfxzvLUGV8MyJysMTUUhfBRnY1F0txHoH26q8fabk5EVaUr+IxPF osbj55M87GWNA== Date: Sat, 8 Jun 2024 09:59:02 +0100 From: Simon Horman To: Breno Leitao Cc: kvalo@kernel.org, linux-wireless@vger.kernel.org, Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , sbhatta@marvell.com, "open list:NETWORKING [GENERAL]" , open list Subject: Re: [PATCH wifi-next 1/2] wifi: mac80211: Move stats allocation to core Message-ID: <20240608085902.GK27689@kernel.org> References: <20240607102045.235071-1-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-wireless@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: <20240607102045.235071-1-leitao@debian.org> On Fri, Jun 07, 2024 at 03:20:43AM -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 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. > > Move mac80211 driver to leverage the core allocation. > > Signed-off-by: Breno Leitao Reviewed-by: Simon Horman