From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id BB00EC524 for ; Tue, 23 Jun 2015 04:24:20 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 22 Jun 2015 19:24:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,663,1427785200"; d="scan'208";a="748559910" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by fmsmga002.fm.intel.com with ESMTP; 22 Jun 2015 19:24:18 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.110.15) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 23 Jun 2015 10:24:16 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.165]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.129]) with mapi id 14.03.0224.002; Tue, 23 Jun 2015 10:24:14 +0800 From: "Ouyang, Changchun" To: Thomas Monjalon , Wei li Thread-Topic: [dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed Thread-Index: AQHQnDHaEUzAWY9ua0WecSx2sBfZXZ2XK9gwgCEoCQCAASrTgA== Date: Tue, 23 Jun 2015 02:24:14 +0000 Message-ID: References: <72a55103-9c65-4f2e-9448-919622dbac81@liw0310-PC.local> <5707625.FvquhSeuHS@xps13> In-Reply-To: <5707625.FvquhSeuHS@xps13> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed 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: Tue, 23 Jun 2015 02:24:21 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Tuesday, June 23, 2015 12:34 AM > To: Ouyang, Changchun; Wei li > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when > rte_atomic16_cmpset failed >=20 > 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 >=20 > Is it already fixed by this commit? > http://dpdk.org/browse/dpdk/commit/?id=3D2927c37ca4e04067 You are right, so no need apply this patch.=20 Thanks Changchun