From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6858CA04AD; Tue, 8 Feb 2022 05:43:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E21A14014E; Tue, 8 Feb 2022 05:43:53 +0100 (CET) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id C75BF40141 for ; Tue, 8 Feb 2022 05:43:52 +0100 (CET) Received: by mail-pj1-f47.google.com with SMTP id g15-20020a17090a67cf00b001b7d5b6bedaso1460353pjm.4 for ; Mon, 07 Feb 2022 20:43:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=obDqqxVEPbUsTgmH2BFXKEZk9NGHRMClJ0kqE8eK0Uo=; b=pjkUXcMwo8mKD3o2oxzx9cQXi16PbOSuEEpI7E5IdR8kuueDcAhoSHk+cOqMyOJ0uC EM9WUEtyNTirMzsy0cJN7qFOv+piJd7SP+fwLq5yGu4ThV7ta8s0zGThkxt9LNTELbYe JKMXatbcs0Pxg6wGzOS5fmJP9lhqVvKPh3DMLgbrta0q82sEUgwUKQTdUen5UuHH5HWP 8xOzhtrQfU3LWWXABQktqzS0+dSSwlGLisrPAdbSjgb6P88B5GOR91SUhlPBwWwdKjn/ TXh9M2319xZyCE02n3WtnBrUoe+0CZePKRvsWPoiwtkbNkwtyuj2fRNqoWOdPKPQ8MPJ tP+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=obDqqxVEPbUsTgmH2BFXKEZk9NGHRMClJ0kqE8eK0Uo=; b=qi/zV2WXbsJSW0q+N08c8vidpPYvLiNuDnyc2Y2aDktw8nmMLzYoLkJtAX2BGoeUXK XDeYNupNSGvvTjws56Q4nP9gztXlWZN2imnIOO2P20FSkwaSd2yHcmgmyk2PQQ7J0qNc IY9jlOc1fVT9k8LB5oz8D2qxpH/nW61dHGwBDPRWZ2OexrTCgWcZConncJSexYX6cVK6 F7e1bb8PrAVeSiVK7rZntt+TNC6zZogK+NHL16Jhplchx+/2OanKzlrMX4yy4CF27OH+ QgTO2nuzY/to0YO4MaV4hlSJ8CB/yAyaISGqdt4GQEv21q5Ue3NzioXkM7dH7C5ynlTn V9cQ== X-Gm-Message-State: AOAM5324g3CuIDI3/4K5lTZ+Xgv51NWE13N0TXlF9ss6dHRx5Roo7PEV XAn++Tuv2sJIrQJQCcSXQb7q8zxhh7Am2zCc X-Google-Smtp-Source: ABdhPJzGhAwhiGen+95F7OISs45V3tHb48A7vzNLECDld+NEpieSSwxTMpVv5d1ZxiUKctRIQnVfgw== X-Received: by 2002:a17:902:8c84:: with SMTP id t4mr3058271plo.78.1644295431522; Mon, 07 Feb 2022 20:43:51 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id 17sm14336419pfl.175.2022.02.07.20.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 20:43:51 -0800 (PST) Date: Mon, 7 Feb 2022 20:43:48 -0800 From: Stephen Hemminger To: Bruce Richardson Cc: dev@dpdk.org Subject: Re: [PATCH v2 0/2] eal: support configuring runtime directory Message-ID: <20220207204348.05c6ba16@hermes.local> In-Reply-To: <20220205171101.7673-1-stephen@networkplumber.org> References: <20220203060025.881552-1-stephen@networkplumber.org> <20220205171101.7673-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Sat, 5 Feb 2022 09:10:59 -0800 Stephen Hemminger wrote: > Found this while exploring running a DPDK service with systemd > container environment. It helps if the place DPDK puts its runtime > directory is configurable. > > v2 - fix dpdk_telemetry.py to use append dpdk > > Stephen Hemminger (2): > eal: remove size for eal_set_runtime_dir > eal: support systemd service convention for runtime directory > > lib/eal/common/eal_common_config.c | 7 ++----- > lib/eal/common/eal_private.h | 4 +--- > lib/eal/freebsd/eal.c | 2 +- > lib/eal/linux/eal.c | 25 ++++++++++++++----------- > usertools/dpdk-telemetry.py | 10 +++++++--- > 5 files changed, 25 insertions(+), 23 deletions(-) > Bruce is it worth moving this (and the sysfs logic) from Linux only into unix/ directory and have common code with FreeBSD?