From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id D3ABE2E89 for ; Wed, 5 Nov 2014 10:19:59 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 05 Nov 2014 01:23:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="411714202" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by FMSMGA003.fm.intel.com with ESMTP; 05 Nov 2014 01:20:50 -0800 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 5 Nov 2014 09:28:28 +0000 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.56]) by IRSMSX155.ger.corp.intel.com ([169.254.14.70]) with mapi id 14.03.0195.001; Wed, 5 Nov 2014 09:28:27 +0000 From: "Ananyev, Konstantin" To: "Ouyang, Changchun" , "dev@dpdk.org" Thread-Topic: [PATCH v4 0/3] Fix packet length issue Thread-Index: AQHP+MebeE025TM2Jk6Hmx/FmGrInZxRw9ZA Date: Wed, 5 Nov 2014 09:28:27 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258213A27BD@IRSMSX105.ger.corp.intel.com> References: <1415084708-8192-1-git-send-email-changchun.ouyang@intel.com> <1415171435-24252-1-git-send-email-changchun.ouyang@intel.com> In-Reply-To: <1415171435-24252-1-git-send-email-changchun.ouyang@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 0/3] Fix packet length issue 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: Wed, 05 Nov 2014 09:20:00 -0000 > From: Ouyang, Changchun > Sent: Wednesday, November 05, 2014 7:11 AM > To: dev@dpdk.org > Cc: Xie, Huawei; Ananyev, Konstantin; Cao, Waterman; Ouyang, Changchun > Subject: [PATCH v4 0/3] Fix packet length issue >=20 > This patch set fix packet length issue in vhost app, and enhance code by > extracting a function to replace duplicated codes in one copy and zero co= py > TX function. >=20 > -v4 chang: > Check offset value and extra bytes inside packet buffer cross page bound= ary. >=20 > -v3 change: > Extract a function to replace duplicated codes in one copy and zero copy= TX function. >=20 > -v2 change: > Update data length by plus offset in first segment instead of last segme= nt. >=20 > -v1 change: > Update the packet length by plus offset; > Use macro to replace constant. >=20 > Changchun Ouyang (3): > Fix packet length issue in vhost. > Extract a function to replace duplicated codes in vhost. > Check offset value in vhost >=20 > examples/vhost/main.c | 142 +++++++++++++++++++++++---------------------= ------ > 1 file changed, 65 insertions(+), 77 deletions(-) >=20 > -- > 1.8.4.2 Acked-by: Konstantin Ananyev