From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id CC6D85693 for ; Thu, 17 Mar 2016 16:31:02 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id l68so31395420wml.0 for ; Thu, 17 Mar 2016 08:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=SKV7/h/heRTENvGlds7ZMXS4fIilsxEqT6rCgk80iKI=; b=JpwYqzHp5lRjelHdXi+23z5qr6kxvEg8+jkmjCPHTU8N3PYxOrWCv6cr8ZIOaGqNSS S8JU++vEgslWpieD1xH41vY34PaDuuwsHn6GUM9hVlR/YbMbZLZ9WwQH4WfCZ2L3+e22 hNrEy6CwH2Qoe9G5Vx7B6r6/TWQf87H6cfBQIKdV4ASadv4fMoL5yxzWU8M73z1L7ozU nPMZ0pUbbITtBb/ZSigAGbqTyesr5Jlhee96KfQssuPOXoNWMxiYhR6QzXL1p4i1JdvX 1ujGHB4/wR79IIM02wCASPrlLt6XOsvbkCXDM6eXDS/IpEl8rjE1gAe8Whfii+sC3aVH YGxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=SKV7/h/heRTENvGlds7ZMXS4fIilsxEqT6rCgk80iKI=; b=C8XZfx3WUSpH/c65pg1N0VjqzEhp0AiehDiphmRsyJeaz0zL5uN3rmElP/HeGeoZ2r xl+Vs3/lVfpKiDLHMSePbsZtzY86iTQQb1n6IV28ddpC3SJTZVJlQgqz2GxNqw9drNbZ BgqJVu+DTY6k9fXW2QWDg9gIY8++WStadgTBcANBMNIkUeCLjTENtCerHD3TUXtz0Mrr TDTvLsTwoI4iVpgUp8YBmSIX4QyksrmmGuGzvHDNSA/aXvwqeDnxSVcYPbzXM6LB7JY0 UDkXetSGeEuQWtens111/jgLejYhaWiWTjzqwhYqIRFXWz+G0TGuOXNPqKxvsmiBCX7Q u2Rw== X-Gm-Message-State: AD7BkJJMelZ4HZG+ZMuW9F/oIaUE8l5N9sijgJ9Bjalnjs5FqIAB/BiEHRBwfw775a8D+bSk X-Received: by 10.28.234.201 with SMTP id g70mr11360795wmi.40.1458228662347; Thu, 17 Mar 2016 08:31:02 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id w188sm30616820wmw.19.2016.03.17.08.31.01 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Mar 2016 08:31:01 -0700 (PDT) From: Thomas Monjalon To: Ilya Maximets , Huawei Xie , Yuanhan Liu , bruce.richardson@intel.com Cc: dev@dpdk.org, Dyasly Sergey , Jerin Jacob , Jianbo Liu , Tetsuya Mukawa Date: Thu, 17 Mar 2016 16:29:32 +0100 Message-ID: <10269895.UfVQWhbqLk@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1456314438-4021-1-git-send-email-i.maximets@samsung.com> References: <1456314438-4021-1-git-send-email-i.maximets@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH RFC v3 0/3] Thread safe rte_vhost_enqueue_burst(). X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2016 15:31:03 -0000 2016-02-24 14:47, Ilya Maximets: > Implementation of rte_vhost_enqueue_burst() based on lockless ring-buffer > algorithm and contains almost all to be thread-safe, but it's not. > > This set adds required changes. > > First patch in set is a standalone patch that fixes many times discussed > issue with barriers on different architectures. > > Second and third adds fixes to make rte_vhost_enqueue_burst thread safe. My understanding is that we do not want to pollute Rx/Tx with locks. Huawei, Yuanhan, Bruce, do you confirm?