From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ouyang Changchun Subject: [PATCH v3 0/2] Fix packet length issue Date: Tue, 4 Nov 2014 15:05:06 +0800 Message-ID: <1415084708-8192-1-git-send-email-changchun.ouyang@intel.com> References: <1414681176-13965-1-git-send-email-changchun.ouyang@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1414681176-13965-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@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. -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 (2): Fix packet length issue in vhost. Extract a function to replace duplicated codes in vhost. examples/vhost/main.c | 137 ++++++++++++++++++++++---------------------------- 1 file changed, 61 insertions(+), 76 deletions(-) -- 1.8.4.2