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 A703CA0093; Tue, 19 May 2020 02:07:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E92941D55C; Tue, 19 May 2020 02:07:14 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 484491D54F for ; Tue, 19 May 2020 02:07:13 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id t16so4891696plo.7 for ; Mon, 18 May 2020 17:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hOo2IX1QakOYlmp1Z8qttcJSnE3Y3J+aMhdoU1ej7fY=; b=h937ixH1CZ66bGXokJpNLJEyckCaGBdwndyBLSq9CYfMRWvtH27DYcWi16EiAJ9wqc 7sFmR8nL6LjEYNfoZpZ1cwRoV47VwK2pl3OYPM7gHUXIB1x1gHGVfTXyKUmL2yyY66JS s/iBsNuOW1PaMEzd+lIOKn6habPGidF24MdwNIxgOlu/Hr/r6VQDWQYlZj6w40Zti3gN Hy4EJq5hh8AUUYoPd4F/JuDw6k5E5DMmbTYSgDt4CPZTqko2f0r7qW3/aPdFsYt0wafn ayYJjqvMnMcxiyexakHaeXksOsoUMPGvfv+Y3SmUvVBlhrti4dT5RZAySPtBZyQrm7It dyFw== 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:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hOo2IX1QakOYlmp1Z8qttcJSnE3Y3J+aMhdoU1ej7fY=; b=bDuPxuGWxBvPVJ2Uzyw1z5kBcYT4kK2PNXXma5PvNzWIGjQmGzs5nXUJf2Twcq5r3m xmaxhpfNcePEEgQY/mtbP0KkkXQBeQCLvMU44M/NkSBtP8wd/07+4p1fWHoqiBv8/j78 hTqW8W/3ndLpnhXRRppWftssYo7x+S/d1OoOn1arBqPIuvQd9bXO5LEhZtZP+yJ7Cdb9 GQ5rKs2G3Z96JiNFycExnfLBK9WKYSv/sUIKxh1DlXnI7s3IWEMWotMV9vZ4yS3OoUSK Uc7AeJHt84zLQ7lekNUvUEP4gxq/7bRuc9kXnGagqnZI6YLnU8lMhMfrbwzpBhLhdk+p U+vA== X-Gm-Message-State: AOAM531o+n3JCTX+RM3zQeUDCsQ7b+N8Xz/SNYE2hGXremY8s6ol+dpv Dkt6ZGTMSX4HfkynuY1pznkDTg== X-Google-Smtp-Source: ABdhPJzPw5eWqa7XWS9X9+SN4EKjZkY6Ebf9r3/ib0p45gAhfzt84JXswbdS7kWl3jNXO6ST+6THJQ== X-Received: by 2002:a17:90b:3c7:: with SMTP id go7mr2133335pjb.67.1589846832400; Mon, 18 May 2020 17:07:12 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z6sm9670455pfb.87.2020.05.18.17.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2020 17:07:12 -0700 (PDT) Date: Mon, 18 May 2020 17:07:04 -0700 From: Stephen Hemminger To: Ciara Power Cc: kevin.laatz@intel.com, dev@dpdk.org Message-ID: <20200518170704.63491d4b@hermes.lan> In-Reply-To: <20200518161232.58952-1-ciara.power@intel.com> References: <20200518161232.58952-1-ciara.power@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 20.08] telemetry: add upper limit on connections 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 Mon, 18 May 2020 17:12:32 +0100 Ciara Power wrote: > This patch limits the number of client connections to the new telemetry > socket. The limit is set at 10. > > Signed-off-by: Ciara Power The upper limit is fine, but using System V semaphores is not a good way to do this. Please consider using some other atomic primitive.