Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3225826pxb; Fri, 5 Nov 2021 11:53:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWZI8ia7oiLVW8FgGVMnNVRkdsL9BDDYm0N7RrdMO+pgIR0ziYAO49/d/V7L9qJ0NzbOcT X-Received: by 2002:a92:c562:: with SMTP id b2mr27040652ilj.30.1636138423171; Fri, 05 Nov 2021 11:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636138423; cv=none; d=google.com; s=arc-20160816; b=hmwbYFCZ/Q187b1wsAYG+Prxkuw5X4TIid0J3WKZwNl1eSsSBZbOcUMbR0znqCsINT thtxPrmtEnIJGI9rn/enQPbI1Ozkok2TEYSSxko9kifldo9GHJbNReDmdArVP3694atJ y8Y9Tsi7jeM94tDWEYNZW9g8e1l0aV+lsS+TFqWh9DCRP2sXWKBEtKa3Vi4vp5EVSAEq Dyu0a7k7gg2dM+MfWAn4GPtWA5j5jbp01QbO++vymmiXID1xed0cpehBW2MzSt0fHrjd b6hoDX1SxkAylRNNC1Le4ysvrI/o5sQoEHGP0wrHx7Z9wO+QicFW6KykcRPUMVWLgLWn vtkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=FNHhmVg5+eZsmJ53o62piNgqrtLKaK5AXkKQF4ALMAg=; b=z0++cKgVrLuAqvefoFstHcypASVeiQtSzif+oDiLEy9MsrYLalmyw/38sWL+xdjtbT /MjZ3RUXOZFVDnBRPCW3UQQry48I0u7tIkK0zJeyeHrPbDo8rm1qj4FFID1QU2/9tKaH X46igP/y/c+L5kRQuwjaDhmlUOWVTic4tC8ZTmMEiaI3/aQ1RnBwF14ne0uA4nNKK994 hVITOFeXHNpHt+kjVa2nhfrdiAfJ4CX/DEi5Gx7ZUz095VQrb5+AF2Kgy9IYYJ9uvMuW wb5R+uAXo8eldj+EuBeZ2l54VwqJTUgjqtnlUQqNJ+cWddUbYEuQKAGCiJLu/6bJaVEJ vXvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si1427701jav.92.2021.11.05.11.53.27; Fri, 05 Nov 2021 11:53:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233488AbhKEQsB (ORCPT + 99 others); Fri, 5 Nov 2021 12:48:01 -0400 Received: from mga07.intel.com ([134.134.136.100]:60894 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232930AbhKEQr7 (ORCPT ); Fri, 5 Nov 2021 12:47:59 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10159"; a="295382296" X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="295382296" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2021 09:45:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="639871341" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by fmsmga001.fm.intel.com with ESMTP; 05 Nov 2021 09:45:00 -0700 Received: from alobakin-mobl.ger.corp.intel.com (kfilipek-MOBL1.ger.corp.intel.com [10.213.15.123]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 1A5Gis9h007215; Fri, 5 Nov 2021 16:44:54 GMT From: Alexander Lobakin To: Saeed Mahameed Cc: Alexander Lobakin , Jakub Kicinski , "David S. Miller" , Jesse Brandeburg , Lukasz Czapnik , Marcin Kubiak , Michal Kubiak , Michal Swiatkowski , Jonathan Corbet , Netanel Belgazal , Arthur Kiyanovski , Guy Tzalik , Saeed Bishara , Ioana Ciornei , Claudiu Manoil , Thomas Petazzoni , Marcin Wojtas , Russell King , Edward Cree , Martin Habets , "Michael S. Tsirkin" , Jason Wang , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Shay Agroskin , Sameeh Jubran , Alexander Duyck , Danielle Ratson , Ido Schimmel , Andrew Lunn , Vladyslav Tarasiuk , Arnd Bergmann , Andrew Morton , Jian Shen , Petr Vorel , Dan Murphy , Yangbo Lu , Michal Kubecek , Zheng Yongjun , Heiner Kallweit , YueHaibing , Johannes Berg , Maciej Fijalkowski , netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, bpf@vger.kernel.org Subject: Re: [PATCH net-next 03/21] ethtool, stats: introduce standard XDP statistics Date: Fri, 5 Nov 2021 17:44:53 +0100 Message-Id: <20211105164453.29102-1-alexandr.lobakin@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211026092323.165-1-alexandr.lobakin@intel.com> References: <20210803163641.3743-1-alexandr.lobakin@intel.com> <20210803163641.3743-4-alexandr.lobakin@intel.com> <20210803134900.578b4c37@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20211026092323.165-1-alexandr.lobakin@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Lobakin Date: Tue, 26 Oct 2021 11:23:23 +0200 > From: Saeed Mahameed > Date: Tue, 03 Aug 2021 16:57:22 -0700 > > [ snip ] > > > XDP is going to always be eBPF based ! why not just report such stats > > to a special BPF_MAP ? BPF stack can collect the stats from the driver > > and report them to this special MAP upon user request. > > I really dig this idea now. How do you see it? > as a key and its value as a value or ...? Ideas, suggestions, anyone? > [ snip ] > > Thanks, > Al Thanks, Al