From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed Date: Mon, 22 Jun 2015 18:33:38 +0200 Message-ID: <5707625.FvquhSeuHS@xps13> References: <72a55103-9c65-4f2e-9448-919622dbac81@liw0310-PC.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Ouyang, Changchun" , Wei li Return-path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id A210DC5EE for ; Mon, 22 Jun 2015 18:34:41 +0200 (CEST) Received: by wicnd19 with SMTP id nd19so82058926wic.1 for ; Mon, 22 Jun 2015 09:34:41 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-06-01 06:14, Ouyang, Changchun: > From: Wei li, June 1, 2015 2:12 PM: > > when rte_atomic16_cmpset return 0 in first loop, secure_len should be > > reset to 0 in second loop, otherwise (pkt_len > secure_len) always be false, > > the num of desc maybe not enough > > > > Signed-off-by: Wei li > > Acked-by: Changchun Ouyang Is it already fixed by this commit? http://dpdk.org/browse/dpdk/commit/?id=2927c37ca4e04067