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 78C6AA32A2 for ; Fri, 25 Oct 2019 10:34:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 182451E8A4; Fri, 25 Oct 2019 10:34:09 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id D69671C000 for ; Fri, 25 Oct 2019 10:34:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571992447; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Po/J1lD8xymFn0yKC0+X5vvVIDWNXaI4MTMVTZHRHW0=; b=Fw1krIT3MHNPGrOwxmKDGym7BXwjDB2d09is3kIp61s+smjMf7HQeKaSqFUFhXWfxD4ecz KUPGbC8S06Q8jzdtis4h/KxQ8jgpB9fiv5qhdAa2Zn6luW80J5jB/lfdw6Csz5PBKhTqdc 8o3bLseqNeoPjIbS74QE7WpyRME2Mj8= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-64-VUholgXBM92bjuz2scAUOg-1; Fri, 25 Oct 2019 04:34:04 -0400 Received: by mail-ua1-f69.google.com with SMTP id 4so385883uay.14 for ; Fri, 25 Oct 2019 01:34:04 -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=Po/J1lD8xymFn0yKC0+X5vvVIDWNXaI4MTMVTZHRHW0=; b=gOjZc31Q2jCpTDMG9tAjXy+rkKMRljRxWaqjqTImjbVK0g7BNq9rqfz1EAxcFc1+Lv g+Onu211g8evenT52J4yH0EMc1SljKtWl6boQop9KbMJUKgZvzjpz8vRUeS05zNN0Aj0 Y3ZfTnGU9dwMaDpD6VZtqgW1QSbqUpnp1tSewy6pRYWwZQwA4YrfDsRYJmr4qV+JntRN sTQDHYuX9lW4pCpZ3wTsqoZqUI5Ma4Xq8Fj3BVmcOee8xliWq3gwz0dnDVzpeMDe20r/ F1BvHvcQH6aN7/guPPNFUByy5b3zCDXxXmu66H+rI0PEW+Lblqv7yIVh8/Fr4abREJf/ 6BkA== X-Gm-Message-State: APjAAAVb0jqJoIeNCqGC7gjgJlBG77Twk24uxG0AnGm89IOlJZL52ogN rXRdwWa+Lgw75PpGtt8dbyy4vqHdAV72n8DRVj3whI9J9eoD2YM1St+4FMoAYFe6THWj96pIjnr hl/GXtpl1NNWSRZ8PVuI= X-Received: by 2002:a05:6102:387:: with SMTP id m7mr1308105vsq.105.1571992443663; Fri, 25 Oct 2019 01:34:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwao0jzimsfII5xQl0yF0twoIeFhwgzsmFLT3GpOVDOU+ojMrYERT77jirl2lHu3R102YFF0+xswYTE1OlEVtg= X-Received: by 2002:a05:6102:387:: with SMTP id m7mr1308097vsq.105.1571992443454; Fri, 25 Oct 2019 01:34:03 -0700 (PDT) MIME-Version: 1.0 References: <20191008095524.1585-1-ruifeng.wang@arm.com> <20191015092826.13002-1-ruifeng.wang@arm.com> In-Reply-To: <20191015092826.13002-1-ruifeng.wang@arm.com> From: David Marchand Date: Fri, 25 Oct 2019 10:33:52 +0200 Message-ID: To: Ruifeng Wang Cc: David Hunt , dev , Harman Kalra , Gavin Hu , Honnappa Nagarahalli , nd X-MC-Unique: VUholgXBM92bjuz2scAUOg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v3 0/2] fix distributor unit test 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 Tue, Oct 15, 2019 at 11:29 AM Ruifeng Wang wrote: > > Bug 342 reported distributor_autotest execution suspension > on aarch64 platform. > Issue was due to lack of synchronization among threads. Distributor > thread and worker thread may get deadlocked. > Fixed synchronization issue by adding barriers. > > Another issue identified was in test case. Non-atomic operation on > stat value could cause value reset not been observed by worker thread > and mess counters. The issue was fixed by using atomic operations. Acked-by: David Hunt Applied, thanks. -- David Marchand