From patchwork Tue Sep 28 11:29:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Rybchenko X-Patchwork-Id: 99904 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3C8FDA0032; Tue, 28 Sep 2021 13:29:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AEDF240E3C; Tue, 28 Sep 2021 13:29:36 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 4D63640DF6 for ; Tue, 28 Sep 2021 13:29:35 +0200 (CEST) Received: by shelob.oktetlabs.ru (Postfix, from userid 122) id A623D7F6DF; Tue, 28 Sep 2021 14:29:34 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shelob.oktetlabs.ru X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_DISCARD autolearn=no autolearn_force=no version=3.4.2 Received: from aros.oktetlabs.ru (aros.oktetlabs.ru [192.168.38.17]) by shelob.oktetlabs.ru (Postfix) with ESMTP id 03B797F690 for ; Tue, 28 Sep 2021 14:29:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 03B797F690 Authentication-Results: shelob.oktetlabs.ru/03B797F690; dkim=none; dkim-atps=neutral From: Andrew Rybchenko To: dev@dpdk.org Date: Tue, 28 Sep 2021 14:29:01 +0300 Message-Id: <20210928112912.785412-1-andrew.rybchenko@oktetlabs.ru> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 00/11] net/sfc: support per-queue stats on EF100 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Implement per-queue Rx and Tx statistics for EF100 in software. Packets and bytes stats are collected by the driver. Ivan Ilchenko (11): net/sfc: rename array of SW stats descriptions net/sfc: rename accumulative SW stats to total net/sfc: rename SW stats structures net/sfc: fix cleanup order of SW stats net/sfc: fix missing const of SW stats descriptions net/sfc: optimize getting number of SW stats net/sfc: prepare having no some SW stats on an adapter net/sfc: add toggle to disable total stat net/sfc: add support for SW stats groups net/sfc: collect per queue stats in EF100 Rx datapath net/sfc: collect per queue stats in EF100 Tx datapath drivers/net/sfc/sfc.h | 26 +- drivers/net/sfc/sfc_dp.h | 2 + drivers/net/sfc/sfc_dp_rx.h | 1 + drivers/net/sfc/sfc_dp_tx.h | 1 + drivers/net/sfc/sfc_ef100_rx.c | 10 +- drivers/net/sfc/sfc_ef100_tx.c | 6 +- drivers/net/sfc/sfc_ethdev.c | 136 ++++++-- drivers/net/sfc/sfc_sw_stats.c | 569 +++++++++++++++++++++++++-------- 8 files changed, 581 insertions(+), 170 deletions(-)