From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id E34EB5961 for ; Fri, 11 Apr 2014 17:44:01 +0200 (CEST) Received: by mail-wi0-f173.google.com with SMTP id z2so1249189wiv.0 for ; Fri, 11 Apr 2014 08:45:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=KuWdm+4UlyFR+KnIqa12ZBua6+boyRybNdZ7Vxcr7+c=; b=NBquIuC9j1ULE3XybqmFB2ZCXXzo8Zaw3PfzHc0+7X0nOOjqpCs5xyDQDxAQ/mFfTp h1D4WTXi/lBfj5KoqqJEzMZafJtSnuJeZlAMj9Q8sCGaFfE4GaEPOda1iF4JITKKtlyP Vibc8J+78esgWuHaYR37X9z3a2NcxICVuMVcp9kSPM/VEmLxEghEDVumE+azpLXRxvur BegEAM/FZGrmax55p6RRgxI9ubdx+UclOLKOnyi9as7W+s2ocACWQjm9C0ZR1a7Xg0XA 7oIS36uTuH2eydE47VCtXFTF3Q50wffAadBda233LZQWjxJH7YEH9Zr+ADMHKx2deAx/ PZfA== X-Gm-Message-State: ALoCoQlnHu7jK4fIhYxzWVLdB9MbJ82TGSmnf8/JgcaZ0S0RhJO5/exup3ZxvEpgaOz8rQBEWD5P X-Received: by 10.180.206.167 with SMTP id lp7mr3234515wic.37.1397231139075; Fri, 11 Apr 2014 08:45:39 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id hu7sm5152289wib.10.2014.04.11.08.45.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Apr 2014 08:45:38 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org, Olivier MATZ Date: Fri, 11 Apr 2014 17:45:38 +0200 Message-ID: <14708439.90U7M7f90D@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.7-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <2202149.SQVFq2HVaI@platinum> References: <7F861DC0615E0C47A872E6F3C5FCDDBD0109D67F@BPXM14GP.gisp.nec.co.jp> <2202149.SQVFq2HVaI@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [memnic PATCH] pmd: use rte_atomic32_cmpset instead of cmpxchg 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: Fri, 11 Apr 2014 15:44:02 -0000 2014-04-11 11:37, Olivier MATZ: > On Thursday, April 03, 2014 07:34:56 AM Hiroshi Shimamoto wrote: > > From: Hiroshi Shimamoto > > > > Because DPDK has its own compare and set function to optimize to > > dedicated processor type, use that rte_atomic32_cmpset() instead of > > cmpxchg macro which is specially introduced for MEMNIC. > > > > Signed-off-by: Hiroshi Shimamoto > > Reviewed-by: Olivier Matz Applied Thanks -- Thomas