From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMWWp-000822-P0 for qemu-devel@nongnu.org; Wed, 06 Dec 2017 05:02:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMWWg-0004By-Ib for qemu-devel@nongnu.org; Wed, 06 Dec 2017 05:02:11 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:59003 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMWWg-00046x-4J for qemu-devel@nongnu.org; Wed, 06 Dec 2017 05:02:02 -0500 From: Mao Zhongyi Date: Wed, 6 Dec 2017 17:57:24 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 0/4] Rewrite TCP packet comparison in colo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Zhang Chen , Li Zhijian , Jason Wang In this series, mainly rewrite the tcp packet comparison based on the tcp sequence number instead of original method that compare the packet based on the payload size. v2: p1: a new patch p2: a new patch p3: -rename the fill_pkt_seq to fill_pkt_tcp_info -rename pdsize & hdsize to payload_size & header_size -reuse duplicated code -modified colo_packet_compare_common() to suit the tcp packet comparison instead of build a new function service for tcp. -add more comments for the 'max_ack' [Zhang Chen] Cc: Zhang Chen Cc: Li Zhijian Cc: Jason Wang Mao Zhongyi (4): colo: remove the incorrect if conditions in colo_compare_packet_tcp() colo: modified the payload compare function colo: compare the packet based on the tcp sequence number colo: add trace for the tcp packet comparison net/colo-compare.c | 353 ++++++++++++++++++++++++++++++++++------------------- net/colo.c | 9 ++ net/colo.h | 15 +++ net/trace-events | 2 +- 4 files changed, 250 insertions(+), 129 deletions(-) -- 2.9.4