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 0B674A0545; Wed, 15 Jul 2020 14:29:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DE1EF1BED5; Wed, 15 Jul 2020 14:29:42 +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 6A9CE1BED5 for ; Wed, 15 Jul 2020 14:29:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594816180; 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=yoEvV/nSJQtM1dgNPMu4h3uEwRTqUY1fU8hJjMRY9dU=; b=KCHQzdyphLXQx+hXOGHWhW4rKscdq8i/0Ht3xfAIsF8oDl6V7hmxyPru7XOBykwG23nahg SwHjfzkEr9ap3Ax+EzL2BfweCY8F4nG5vsh5Ds6e6EsnD3Y583iUxFjpv76138wytXTsqk 88SL+/e0pCdO0uQIfS2YNxwFH6whMIM= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-99-cEKFFXNSNNWXYThVTTP80Q-1; Wed, 15 Jul 2020 08:29:35 -0400 X-MC-Unique: cEKFFXNSNNWXYThVTTP80Q-1 Received: by mail-vk1-f200.google.com with SMTP id p25so715857vko.7 for ; Wed, 15 Jul 2020 05:29:35 -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=yoEvV/nSJQtM1dgNPMu4h3uEwRTqUY1fU8hJjMRY9dU=; b=cJXxTXiVxDpEKAitGmGCDB/SaujYm+vHcz/P9EKZD+pZN1oBEbhYHOKy8joZ9ykZ7A 2rRVoqIxkeAe8vbQwh1dKEVdMQWaScBMNvaMs3iguF3ovlvbSOG3X/vPbmnYvIDQGp9p wp4g8CryMZP64Qz8Omj8GAYO9VwK6r9VlU2llucBG/34v3O2ItKTiq3miPMKamwnZjB4 jiPw3DFeKuIFECJI13Rrl5nATjXce3QwZvaY/FPHCkUxeK5IlPlqoMtPrYj7SqUpR3/h JYh1x5gIoWPKiBHqN8mB/w9m5v+HbNErAp70MILWvzX6hg/6kX9hhGiofjYUXbA/viCg eN6A== X-Gm-Message-State: AOAM533bsHfcWt3OSiaxs096tlNbndbrUQX9o15nyxT5gqvxC+wdCpQP j3Ywr5zFdEhLbxnF71RRf1adxPQ3yVAHB91Cm2t/u64bhL0vRJN/Qa4yvTOW8Aghg0ZVK174HcY JQvdMGpZZ+ZObeEl2Nv8= X-Received: by 2002:a1f:3ad3:: with SMTP id h202mr5290771vka.80.1594816174581; Wed, 15 Jul 2020 05:29:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk1E1gy3XOgxNUqNWh9Zy0FtiAPPPGMG8tkcS5MxB2Vv7w5cpC9IKZaD++7F8LF8y36gMM24AaOEBBO2D5TrY= X-Received: by 2002:a1f:3ad3:: with SMTP id h202mr5290751vka.80.1594816174332; Wed, 15 Jul 2020 05:29:34 -0700 (PDT) MIME-Version: 1.0 References: <1594289442-18594-1-git-send-email-phil.yang@arm.com> <1594310331-23345-1-git-send-email-phil.yang@arm.com> In-Reply-To: <1594310331-23345-1-git-send-email-phil.yang@arm.com> From: David Marchand Date: Wed, 15 Jul 2020 14:29:23 +0200 Message-ID: To: Phil Yang Cc: Olivier Matz , dev , Stephen Hemminger , David Christensen , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , nd , Dodji Seketeli , Aaron Conole Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v4 1/2] mbuf: use C11 atomic built-ins for refcnt operations 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 Thu, Jul 9, 2020 at 5:59 PM Phil Yang wrote: > > Use C11 atomic built-ins with explicit ordering instead of rte_atomic > ops which enforce unnecessary barriers on aarch64. > > Signed-off-by: Phil Yang > Reviewed-by: Ruifeng Wang > --- > v4: > 1. Add union for refcnt_atomic and refcnt in rte_mbuf_ext_shared_info > to avoid ABI breakage. (Olivier) > 2. Add notice of refcnt_atomic deprecation. (Honnappa) v4 does not pass the checks (in both my env, and Travis). https://travis-ci.com/github/ovsrobot/dpdk/jobs/359393389#L2405 It seems the robot had a hiccup as I can't see a report in the test-report ml. -- David Marchand