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 14829A053B; Fri, 17 Jul 2020 16:36:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF3DC1BF93; Fri, 17 Jul 2020 16:36:12 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 6DFD21BF8E for ; Fri, 17 Jul 2020 16:36:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594996570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uAt0rjbgrp8aoBaVmHRNg8eS0vCHg8SDd8dsBEHJQwU=; b=Syp8zvyMa2MlSvlDZsUlW5sVG5Y5hyIW1GgzrArpnnicYYPUmgRWm38pOfgdmmVQZS2All Dz8c4Mjo4eZFEd79axSvjShUV6YATFjSOYfaVCMi7UpvN2eBdltvHg+6EQmBgo+zCnMGBt 85sB32BZrEw/l3QbyRc52CB787jFV5I= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-251-EvZE_XO7N9q14kW70VMk-A-1; Fri, 17 Jul 2020 10:36:09 -0400 X-MC-Unique: EvZE_XO7N9q14kW70VMk-A-1 Received: by mail-ua1-f70.google.com with SMTP id b25so1767820uaj.2 for ; Fri, 17 Jul 2020 07:36:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uAt0rjbgrp8aoBaVmHRNg8eS0vCHg8SDd8dsBEHJQwU=; b=Ut/CY2rLvT8v+ORugKe3T2rBWxZmRpOJgZtml4SFq69znMQOpP0qofk+TYlkAU+QT7 lNVXKdvrwpnxE8VdqNsBCOcIrh8Aw9VtD0tR9Yji0Mel//Xh4PAWryW0tTllMVi87C6f bPi2bTmWMkjZYV/DPwurzfQJ2CT5Rvc4O3FhTuQiJD7F+SaTWAKhahEzJ1zINnXv8jmR KXA3UTWlgpyTK1M2xI0NRE/NYfn7l14eHSobqMRPKKlUKonE4RJ84WsXJni0LwS3lHe1 mzusMspqwPcoYnP5wVMQZGKQO1yHpenV4mUXHBlsxpvOBfLHU4/i9uCtcHI4rhlGvN2j BLzg== X-Gm-Message-State: AOAM532WYllrtRgC+yXXWUHbHUr3LeOp0UdeOxM4BvLRU6PRhsg2t9mq B3yI+6wtih+8QmoFTAscoT3ytztJIK/H35q6kWagi10HSawnWHpylGBpIr9idw6Z5/+XgehB7H0 tiaPLA6XGavgpOFIEyNE= X-Received: by 2002:a67:b741:: with SMTP id l1mr7729457vsh.180.1594996567885; Fri, 17 Jul 2020 07:36:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU+GT1od1UFYNRcGmU3ufur8EwcFrtso3d5baXQ2Pi3ms7n9zPwZTKmfP9MiBPB/IjKBHv0kPCeBdu+Bz9h8I= X-Received: by 2002:a67:b741:: with SMTP id l1mr7729427vsh.180.1594996567545; Fri, 17 Jul 2020 07:36:07 -0700 (PDT) MIME-Version: 1.0 References: <1594310331-23345-1-git-send-email-phil.yang@arm.com> <1594960611-19470-1-git-send-email-phil.yang@arm.com> <1594960611-19470-2-git-send-email-phil.yang@arm.com> In-Reply-To: From: David Marchand Date: Fri, 17 Jul 2020 16:35:56 +0200 Message-ID: To: Bruce Richardson , "Ananyev, Konstantin" Cc: dev , Olivier Matz , Stephen Hemminger , David Christensen , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , nd , Ray Kinsella , Neil Horman , John McNamara , Marko Kovacevic , Phil Yang X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v5 2/2] doc: announce deprecation of refcnt atomic member 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, Jul 17, 2020 at 4:32 PM David Marchand wrote: > > On Fri, Jul 17, 2020 at 6:37 AM Phil Yang wrote: > > > > refcnt_atomic member in structures rte_mbuf and rte_mbuf_ext_shared_info > > will be deprecated in 20.11 release. > > > > Suggested-by: Honnappa Nagarahalli > > Signed-off-by: Phil Yang > > Acked-by: Konstantin Ananyev > > --- > > doc/guides/rel_notes/deprecation.rst | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > > index a58a179..99c9806 100644 > > --- a/doc/guides/rel_notes/deprecation.rst > > +++ b/doc/guides/rel_notes/deprecation.rst > > @@ -129,6 +129,12 @@ Deprecation Notices > > in "rte_sched.h". These changes are aligned to improvements suggested in the > > RFC https://mails.dpdk.org/archives/dev/2018-November/120035.html. > > > > +* mbuf: ``refcnt_atomic`` member in structures ``rte_mbuf`` and > > + ``rte_mbuf_ext_shared_info`` is of type ``rte_atomic16_t``. Due to adoption > > + of C11 atomic builtins it will be of type ``uint16_t``. ``refcnt_atomic`` > > + will be removed in 20.11. It will be replaced with ``refcnt`` of type > > + ``uint16_t``. > > + > > * metrics: The function ``rte_metrics_init`` will have a non-void return > > in order to notify errors instead of calling ``rte_exit``. > > > > -- > > 2.7.4 > > > > Acked-by: David Marchand Bruce, Konstantin, This precedes the first open source release so trying with you guys: what is the purpose of the RTE_MBUF_REFCNT_ATOMIC build flag? Thanks. -- David Marchand