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 E7CDFA00C2; Thu, 3 Feb 2022 07:00:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E25FC41199; Thu, 3 Feb 2022 07:00:29 +0100 (CET) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id E7CD140151 for ; Thu, 3 Feb 2022 07:00:28 +0100 (CET) Received: by mail-pj1-f43.google.com with SMTP id z10-20020a17090acb0a00b001b520826011so9019242pjt.5 for ; Wed, 02 Feb 2022 22:00:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c0j5lbzgF3VOSTRlK5Pa1av5vjPVX854z9HUN25ndBk=; b=HLf9ldD26g4pkMgIW/MllGtAs0LR/MV7cwMNh86whciVk2BAXMnu/vOQw3oLCMCIra yg23lGlodj4V1K0Ov9nr5mJPWSSawuzmhDZUaivjUXELgEyeTqVxwI6F6Hg96xAcwwlt tuW5wfjrxz0c0rLlNPuFG8kx3J9mQhYTyUchH6rdSLyOnXLO3q3MPwAxgDgpFyw891Qp kOL9SzcvkFy/iBg4cU4wOM7hy0yl/9md9NkaxJDkpxCBpFLCwp1hbpfzAUSDojerbWhu vKwOAcRN2j8kOWcSBGNoRnNEorfNiZqCNSg0bHZT5etB3vjoITyfxCWz6Lb8p4jpABwo jW3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c0j5lbzgF3VOSTRlK5Pa1av5vjPVX854z9HUN25ndBk=; b=ChHXHN93CXpsETThMvFcDLAXlBQPuqL8UE2nTlVEEOG6teuosgLGpv3z8m/wYA/qDV WycaFljTJjaDkRGWZAnoHSYNmzMot5AfkqJxm0SXsueQsaF/N19Ix9mcm1CSgvUQOfdz jUL0PVF9+vFDgbYQniPfMxTRpLSbrXjQaWaswHEwUJaNbCILQ+sYsmWffov/JFpDxOxx fITWdhT4UHy3gnsRlkbUM1bLZUfHAcJ/2tvJfHDyC8+Nr666yn67YPl2NiJZ4iOWHOvp DE5AVAjdC91IbQtuPeDXFioI+yQz56YRdERAkPmdWMh+1es8l8STfvg+7Uvc+T4n1tw2 WYJw== X-Gm-Message-State: AOAM5325QFxBmO/VZq5nvB4JQi4oFqVe75PfqTosmq9wAySkSE9wSiK/ k8KLnrgjhi/PKtSz/tdAZrt1zF38vc34TZps X-Google-Smtp-Source: ABdhPJynkBPfGgv8wJilyGZEo2lq8zEG8zTunLnX+b8jaDrvRd1UbYU8I12FkA3ou8SSgYGo3wo7WQ== X-Received: by 2002:a17:902:f68e:: with SMTP id l14mr33659363plg.165.1643868027696; Wed, 02 Feb 2022 22:00:27 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id h9sm28883504pfi.124.2022.02.02.22.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 22:00:27 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 0/2] better support of configuring runtime directory Date: Wed, 2 Feb 2022 22:00:23 -0800 Message-Id: <20220203060025.881552-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211223233907.181033-1-stephen@networkplumber.org> References: <20211223233907.181033-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Found this while exploring running a DPDK service with systemd container environment. It helps if the place DPDK puts its runtime directory is configurable. This version supersedes earlier RFC and includes the feedback. 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 | 9 +++++++-- 5 files changed, 25 insertions(+), 22 deletions(-) -- 2.34.1