Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp122926lqo; Wed, 27 Mar 2024 08:30:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJar6t6SeT8jxansbxQZ1w442/6qKkiAgE8yr05fy4Aib9pyonfFZnpWhNXSGlm+K44lB+CEW5QJApcntOZU+Zu8tIzJCsk2YdMp7xZw== X-Google-Smtp-Source: AGHT+IGAXWjXTUPM5fyTAwmCuNK/iUSFNb0RjK/V5w+pJZ1MehzYWx5dAGKYNnXgtE0MX6n89laY X-Received: by 2002:a05:6870:d88f:b0:22a:f03:825b with SMTP id oe15-20020a056870d88f00b0022a0f03825bmr3067779oac.41.1711553442558; Wed, 27 Mar 2024 08:30:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711553442; cv=pass; d=google.com; s=arc-20160816; b=wCqd7v5/4chNDOGWI4NBmEJvLBFBnqt37Qk5qS/6zanAKeDEBiphi1qyhvMk0/LD+T 2MUcUwakLMZ00cGvnLTR8H/Hu/XDKCe7grB48bI7zR7aXr77N+vdkTgAqNllZaiCBrp5 LvAhZSOPJcSr59fhTQoXCUguA5u6mJHcKDRhYOgLgmufsHp/InxyrZpjlmZD4XPN4kMe GCwu0qbC/SlejdwlM9AufuCfRhEZnoFjbk5r+vQmN+mZNfJ0aC6C5QCKnsIwC7kzwBl+ eUDXKPTUP7ejWiv5/889sPfdmX8vSa0CuHCPiN/vSTvNI0dFlsMeCJ1WXBkVjE4o81tV zJOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/3aU+RQsWjf10wip4xohGsNE5rVY0pamHnSQPQ2yYXI=; fh=W2oGqasJyt8YJ4GcLuBGGd1SoDbYTlkB+7DBhhd8EG8=; b=ThYAC05mazduuy4r2VNXHfqoF7GRaVPryjEiOjmrC86GeYOWHassoDm+WqyAPvYW8w sq8AQs29WlPN4vtWyKd0bcwhWM6rqcp3AqhDQpzVGNZzLh0f6/q4TrQ+Fza9fohkYTBy IDaCqBiNOvjNL90SR4FwTYCALQxyEVfNHa/KpyX5zZfz8lFgKMB/aB2u8fGa1kx8NMsj 9c5AuYQChEgqPbg3dx4ovxF+l4mExCqY/pmdD8JGX07SZKgQTMYxaZTQ50TD5YyKc0Wl G6yFG0ERRvV4e6UHocH8XZc+Yzxl12+Ea6T09O15ki77lkiqzGvsggZYqDakwUFSZjQf qveA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iMe1Bx2P; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121389-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121389-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 m64-20020a632643000000b005f069faad54si3881224pgm.615.2024.03.27.08.30.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 08:30:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121389-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=iMe1Bx2P; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121389-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121389-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 5482DB2DDBB for ; Wed, 27 Mar 2024 14:54:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEA71130A52; Wed, 27 Mar 2024 13:51:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iMe1Bx2P" 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 EF46A130497; Wed, 27 Mar 2024 13:51:13 +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=1711547474; cv=none; b=sXkjKKQX4u4hDzHMxJiCGshjltbSlTZ1fcg+itT1YTSkK5SqPnwE4NGrwZIyN2TNcrvBdJrzBmHwO06JI+DKyP9YEfa9uWMNvPSIqSgmv3oj+QsVVnSOF44q3/t+5x/aB04/aq0nhcG4DROBFet9/BkU4tRs4ABSb0CNncMq2T0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711547474; c=relaxed/simple; bh=eBeVJJjBQuSLqK0+jgddYTUYuMVNOj2T6hARHl6y6ss=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y4B4UxN1tuU1DRRv2YkPMb1568Yy53rL8WZrlCoxLTpCRMl5Vhge5w+Z9pTdo0mq2NfB81n/RINI6tmX6JOwtRUmoyvXoSb9S53+/9wC6Q0UbrV/7Ow94fIgqPEOtcW6y4tcxXLtdHbJ9YB4W3CGwo4xrEvNBfcnsQlL58xKBnw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iMe1Bx2P; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5F1BC433F1; Wed, 27 Mar 2024 13:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711547473; bh=eBeVJJjBQuSLqK0+jgddYTUYuMVNOj2T6hARHl6y6ss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iMe1Bx2PKDoJmsuc0m4kIpTX13gp4DwvDQwvRQbuIHU00Q/+kvifMuAF8yhETH1aH t1XOHdNYX7HSI/Gp6LSdm65HAcDjGuNWfCfoeo1cZzaviJNA7e/7NJv38Z2lnYprh7 ybZZ5TFcH6hVLtUhdYlfwS/Guninir1wVcLnr9qG8IUbsWiK4w86Aoc6berB2T9fG7 qmCVeZ1cZcxaWlUre0gTsgYWGsU/4nGQE2hCkAeau2z8rGoWP6i9mpWvJB+/vbCRtr SXXYjvJcVpqyqZqyN9H2S331i4+bviK9cbukIa02sc/3cfv6Z5iNE1UWaikTfUYZzC I7URuRJvKoZLg== Date: Wed, 27 Mar 2024 13:51:08 +0000 From: Simon Horman To: =?utf-8?Q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= Cc: Jamal Hadi Salim , Cong Wang , Jiri Pirko , Daniel Borkmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vlad Buslov , Marcelo Ricardo Leitner , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llu@fiberby.dk, Jiri Pirko Subject: Re: [PATCH net-next v4 1/3] net: sched: cls_api: add skip_sw counter Message-ID: <20240327135108.GE403975@kernel.org> References: <20240325204740.1393349-1-ast@fiberby.net> <20240325204740.1393349-2-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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240325204740.1393349-2-ast@fiberby.net> On Mon, Mar 25, 2024 at 08:47:34PM +0000, Asbjørn Sloth Tønnesen wrote: > Maintain a count of skip_sw filters. > > This counter is protected by the cb_lock, and is updated > at the same time as offloadcnt. > > Signed-off-by: Asbjørn Sloth Tønnesen > Reviewed-by: Jiri Pirko Reviewed-by: Simon Horman