From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 0/3] Fix packet length issue Date: Wed, 05 Nov 2014 23:07:26 +0100 Message-ID: <13227110.0ai4sDARZL@xps13> References: <1415084708-8192-1-git-send-email-changchun.ouyang@intel.com> <1415171435-24252-1-git-send-email-changchun.ouyang@intel.com> <2601191342CEEE43887BDE71AB977258213A27BD@IRSMSX105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Ouyang, Changchun" Return-path: In-Reply-To: <2601191342CEEE43887BDE71AB977258213A27BD-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > 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 copy > > TX function. > > > > -v4 chang: > > Check offset value and extra bytes inside packet buffer cross page boundary. > > > > -v3 change: > > Extract a function to replace duplicated codes in one copy and zero copy TX function. > > > > -v2 change: > > Update data length by plus offset in first segment instead of last segment. > > > > -v1 change: > > Update the packet length by plus offset; > > Use macro to replace constant. > > > > Changchun Ouyang (3): > > Fix packet length issue in vhost. > > Extract a function to replace duplicated codes in vhost. > > Check offset value in vhost > > > > examples/vhost/main.c | 142 +++++++++++++++++++++++--------------------------- > > 1 file changed, 65 insertions(+), 77 deletions(-) > > > > -- > > 1.8.4.2 > > Acked-by: Konstantin Ananyev Applied Thanks -- Thomas