From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A50D1A0C4C;
	Thu, 14 Oct 2021 10:20:58 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8DDB540E50;
	Thu, 14 Oct 2021 10:20:58 +0200 (CEST)
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20])
 by mails.dpdk.org (Postfix) with ESMTP id B442640041
 for <dev@dpdk.org>; Thu, 14 Oct 2021 10:20:57 +0200 (CEST)
X-IronPort-AV: E=McAfee;i="6200,9189,10136"; a="214788969"
X-IronPort-AV: E=Sophos;i="5.85,372,1624345200"; d="scan'208";a="214788969"
Received: from orsmga006.jf.intel.com ([10.7.209.51])
 by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 14 Oct 2021 01:20:56 -0700
X-IronPort-AV: E=Sophos;i="5.85,372,1624345200"; d="scan'208";a="442015969"
Received: from bdcaprar-mobl1.ger.corp.intel.com (HELO
 bricha3-MOBL.ger.corp.intel.com) ([10.252.25.39])
 by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA;
 14 Oct 2021 01:20:55 -0700
Date: Thu, 14 Oct 2021 09:20:51 +0100
From: Bruce Richardson <bruce.richardson@intel.com>
To: Kefu Chai <tchaikov@gmail.com>
Cc: dev@dpdk.org, Thomas Monjalon <thomas@monjalon.net>,
 Avi Kivity <avi@scylladb.com>, anatoly.burakov@intel.com
Message-ID: <YWfoY8P53k9ZYi08@bricha3-MOBL.ger.corp.intel.com>
References: <20210902144805.105098-1-tchaikov@gmail.com>
 <20211013205417.84119-2-tchaikov@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20211013205417.84119-2-tchaikov@gmail.com>
Subject: Re: [dpdk-dev] [PATCH v5 1/2] build: add meson options of
 atomic_mbuf_ref_counts
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Thu, Oct 14, 2021 at 04:54:18AM +0800, Kefu Chai wrote:
> RTE_MBUF_REFCNT_ATOMIC = 0 is not necessary for applications like
> Seastar, where it's safe to assume that the mbuf refcnt is only
> updated by a single core only.
> 
> Signed-off-by: Kefu Chai <tchaikov@gmail.com>
> ---

For this, I think it's a setting that needs to be a global one for DPDK, so
I'm ok with adding it as a meson option.

Acked-by: Bruce Richardson <bruce.richardson@intel.com>