From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 585CBA04C5; Sat, 5 Sep 2020 05:11:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A96E51B9B7; Sat, 5 Sep 2020 05:11:54 +0200 (CEST) Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by dpdk.org (Postfix) with ESMTP id 897BF1B952 for ; Sat, 5 Sep 2020 05:11:53 +0200 (CEST) Received: by mail-pj1-f66.google.com with SMTP id gf14so3870571pjb.5 for ; Fri, 04 Sep 2020 20:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=NTxRx6c/rS8htGUvnmzYKQeaJU967Su4XZ81ynKkhds=; b=Stsx1H89Osscctoa2D3n98XtHZJq0fX3vTS+sRYfGbsukDBQNl5vW59/lEivaCSa6H GsvMhsC5OMJFIqvjEHc9ppl6lrj863zoiLNtXWBaz0Hfa7gDgeFsBwF1lE7GcwGF07tc DpO90QpU2w8IZ9kIehHZV/SXjt4M2xC1Sfm383bz9y8Sggydw+Zo+6GYjcjzQy0gtx/N iHToe4o4aRxjLFtKI6QDf0wsQgFdyvyqTbTS5Sd/r9COK/2OOUR4H4MqOWkY7IBFL/pq klplky6CJ+vhf7Js/qduCX55xFUyZ94pagXoy4ynwECWpKj92AU75qPigdl6NT3e7WAt Knkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NTxRx6c/rS8htGUvnmzYKQeaJU967Su4XZ81ynKkhds=; b=IqHJUU7xNwYPa693g6SostWpRSTn2qW87II+c9aaDSly1tvZYjx4xfKRotcAKbsDJa 5ABp00jHAqy/WTYw1LJAH6H6U60KlgAlZHoMxPXqIKwAE2pzoUGYTm+fS8jCnJ3dizRB 2gbqj9J9BbJaN3JBWxVx7bv8/Z8cimy3M+urt08K+W3HCZKd/AHGp4kavFhAY7voKycp jweb/pmSt9GGZIAHlKL5bUsnlBt9pXjBNJfq7/svH3uu+RskIlM3b0eICo/M3QfP7i9L uvcYUfJkKwPOXD0aaEFNggGpcKo1VV0UcvEtAcU48BnrZiDjojZtONGthGVeUhq0WFbx hD4Q== X-Gm-Message-State: AOAM533RRbNQ50UNJJdOV+SYOEIovFTVsjJrL0F1SB3mFfdhV/okn0Uy BPcj4AwOBP5ditfWI9NEtzsCUr/ELD/1Xg== X-Google-Smtp-Source: ABdhPJySSxDAtLqOsBLqkgKTQ4zXF67UPz61OG7mTs9820JVeg5sPLiacuNcLi0uQ/f4HIZO3flDOw== X-Received: by 2002:a17:90a:ca03:: with SMTP id x3mr11023445pjt.92.1599275512129; Fri, 04 Sep 2020 20:11:52 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g5sm6289332pjx.53.2020.09.04.20.11.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 20:11:51 -0700 (PDT) Date: Fri, 4 Sep 2020 20:11:44 -0700 From: Stephen Hemminger To: dev@dpdk.org Message-ID: <20200904201144.4fa67a00@hermes.lan> In-Reply-To: <20200904223118.10002-1-stephen@networkplumber.org> References: <20200702172852.6201-1-stephen@networkplumber.org> <20200904223118.10002-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] rte_metrics: move maximum number of metrics into rte_config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Fri, 4 Sep 2020 15:31:19 -0700 Stephen Hemminger wrote: > If using lots of queues and ports, and having per port or per queue > metrics it is easy to exceed the upper bound of the metric library. > Move the limit into rte_config where user can change it. > > Ideally, there would be no upper bound and a dynamic structure > such as red-black tree or hash table would be used for these. > > Signed-off-by: Stephen Hemminger Note: this version of the patch assumes meson build, it won't work with make based build. Ignore the CI failures.