Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp128886lqh; Wed, 27 Mar 2024 17:49:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWk3shFHvCpiBMXezTH9Ih/oHrn/JCtpsLlpwEYm7QKBxrx83YHF0p6FPoysSXdg1X1KamflqxCZJk9/2cxo5BaYQW5PZ7adCRALWdHUg== X-Google-Smtp-Source: AGHT+IFyX6NjKA2Y9ehP7/ylumLXMGZMMgBycaTSP36wtzspw9sXybUez1gi3EpbxwGP1nYuTtRI X-Received: by 2002:a17:906:4892:b0:a46:1e:d199 with SMTP id v18-20020a170906489200b00a46001ed199mr667251ejq.39.1711586977623; Wed, 27 Mar 2024 17:49:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711586977; cv=pass; d=google.com; s=arc-20160816; b=L6MunqzhVUv245+5UcKshjc5AJLYAv8f3W6Oxqdehu2cZ/tRSNdN3A7Ccbw6IFHGeM bStweaAFyR7JiPnOC+EyX06QQEIagfg62wPfiFAUwxst1vGf31WzPAazf8h+dORqE9dl f/sRdinWpOpROUtPlzCjt48wggXU5Cypvbt4Ou5c+l+4X09Rqek2TNU0zSUDek+PM+IH 4zsSxTRLkmeDNXL726Q6uxLFDeNRRB7AKBxBVSNRIix4g0PAE702sHxicrq2LuTvr69L b7SYwQ6vA6ehSTKNEXF5QpyO8VRai4fpr4XSDfA3khJ+SiZWcbRJvQLh1JjSqWhDz9IL qX6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:in-reply-to :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:from:dkim-signature; bh=e+4ifJmlrD+8SKr6HeH4k1UtmM7jreqdC8keZHdQwf0=; fh=Lvd42eluAjkhP6BT0LHsO2S30EjxIXr5jTOmz2aibeY=; b=wy9KLQwXfiQkLL1JrUvJiErW2Ywb5Xz3du/tRkF+UDKNkNAIZh+IPShwZlIxHnHl31 wYZGalpalysHl6KzxqAtqFJJ6USdA+U05VRQ3wT3yLOtC1DOUbtN5VgBJgVSpJffbDWR mVYiko0bqQNkSE7jKFz/dWMJHULOPOo1ILELBOXWnAQ59w6OstV+OyekI/xVKrlasEiH Xt1IkZoDhHYoXbO7e3dhxbss8esTnPkH4rn3m7O7BJ8RkxJptjN4EEWNMVh1qDdpcOE/ 3uSSKtw/eKC2nR/tBKT88CzsZgrMwWNJ02FovnmGvyRqm6jStfPw95XWznEwMuEYvbat JhQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="W5J/8u+3"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-122245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id va15-20020a17090711cf00b00a465f0607bcsi121622ejb.765.2024.03.27.17.49.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 17:49:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="W5J/8u+3"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-122245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7CC181F31905 for ; Thu, 28 Mar 2024 00:49:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCF942C6BA; Thu, 28 Mar 2024 00:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="W5J/8u+3" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 959D033CA for ; Thu, 28 Mar 2024 00:46:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711586809; cv=none; b=EpNzrQLwmLnSs45RzTU5iOh4DDTbiP2wCnVzzoWpeOJIpLilh52WVBt+TiPYSkxtAe1de8EjJt1VKX4L/sFb8pmy1rO+S0pZbuG4lIrrn2zDnZqyWWL6tnIwc4U4DDdeg5kNSvQe6Cc6p8SYycrZrLArYA5zDEYGt/OPEYJLZ68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711586809; c=relaxed/simple; bh=e+4ifJmlrD+8SKr6HeH4k1UtmM7jreqdC8keZHdQwf0=; h=From:References:MIME-Version:In-Reply-To:Date:Message-ID:Subject: To:Cc:Content-Type; b=Q0oUp1ahKhUQXyu2Ya2O+GzO74m0xtaYCW0ryz1XMQrKToy6gB4gZGoK9ZleqecuK5m4Sb3vW5oXyGHm5FcB3afCHSr8xeg7SlWGHdTn7TJhI5Y9WWayDsmwj0p3m6QzaOCszK7e5iH/LtLBPrZWkKAbmdrn4gA3hFx1ZK9V/2c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=W5J/8u+3; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711586806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e+4ifJmlrD+8SKr6HeH4k1UtmM7jreqdC8keZHdQwf0=; b=W5J/8u+3lz54ur8PhV9GkQL9fhl3reYVBZ/HawZ3NRP8QIpHH4KJGqqaNey2LSZ6uDq6Pv eInAztqX22ME5x481eEs95Eh+YjWekg3GHvsa3w9D3z5qn/obj+ptz8c+AmGzgSfjYF1jJ Cctw2JmmPZERmWaEEI0RdfTFc/VhPoQ= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-2s3kRB_4MzG9UYBq4BROtg-1; Wed, 27 Mar 2024 20:46:44 -0400 X-MC-Unique: 2s3kRB_4MzG9UYBq4BROtg-1 Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-56c3dc8d331so246777a12.2 for ; Wed, 27 Mar 2024 17:46:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711586804; x=1712191604; h=content-transfer-encoding:cc:to:subject:message-id:date:in-reply-to :mime-version:references:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=e+4ifJmlrD+8SKr6HeH4k1UtmM7jreqdC8keZHdQwf0=; b=pSAIFkFWteoQ59W8tC1rudJg8wZ9WsYdUkxmOmWH4Q91DgjzXrbI7dOW6bYdaQiOsC OfCQtdRLKuF+0QWWMAnW3XfmVJyQtWVpSTb9VXF1oBrUfkBU5pK/XwveIVYESLKX7PNM bysxAYMYvwN/ZLpUQ6MRUnMJiErDq/KhNqHdlfIQy1uP7jTOd4zYppx6f5d4b25we1vK 7G9RXlErZ8Zvr6CVMFgU2Z6ZnLLbStF8FQQQv97Kqrjhpn7z/0vu19UKNo9LpRwEyrFJ j8VWgf8gLUHu6wpaIB/nxmWWSft859VnBnj8e8bzYZV1fHEZr1N8I2fD/TGlIOrWNC/R DTLw== X-Forwarded-Encrypted: i=1; AJvYcCXvFLdxvA5UDHWqnCfPqb1SoQ35//RbZpgmQ3YSIfusmdbNhH7P4/bXC62+n3M4J9j9LHgu7bKaJOiwM5s3srW8Wh4jw4kyenmLg5dm X-Gm-Message-State: AOJu0YybUOqupOXfo6zbhnd2qnRwx1UqGyyW1kxBWZx7FhItJ4KOQkOH W0iIqjsM+s+YrOxJJxf3BxZrWmFp0LXO28qUOYfZr0Ca/J3rr0bCNigr/bopyaAt5dZDpVA5k1O Omeq/EAOwo8gDnQrVlZJ1gR4HOPlBYo5+spO6jw6/O9fxSNhATrQJumndH5Ry4epNJaP3IMUxrB lQ43YSI2Ly9HjM5mVrU3FWfqIPfZ1hYKLHtkS+ X-Received: by 2002:a50:9fa8:0:b0:564:5150:76a2 with SMTP id c37-20020a509fa8000000b00564515076a2mr925400edf.4.1711586803869; Wed, 27 Mar 2024 17:46:43 -0700 (PDT) X-Received: by 2002:a50:9fa8:0:b0:564:5150:76a2 with SMTP id c37-20020a509fa8000000b00564515076a2mr925392edf.4.1711586803521; Wed, 27 Mar 2024 17:46:43 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 27 Mar 2024 17:46:42 -0700 From: Marcelo Ricardo Leitner 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 In-Reply-To: <20240325204740.1393349-2-ast@fiberby.net> Date: Wed, 27 Mar 2024 17:46:42 -0700 Message-ID: Subject: Re: [PATCH net-next v4 1/3] net: sched: cls_api: add skip_sw counter To: =?UTF-8?B?QXNiasO4cm4gU2xvdGggVMO4bm5lc2Vu?= Cc: Jamal Hadi Salim , Cong Wang , Jiri Pirko , Daniel Borkmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vlad Buslov , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llu@fiberby.dk, Jiri Pirko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 25, 2024 at 08:47:34PM +0000, Asbj=C3=B8rn Sloth T=C3=B8nnesen = 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=C3=B8rn Sloth T=C3=B8nnesen > Reviewed-by: Jiri Pirko Reviewed-by: Marcelo Ricardo Leitner