qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] Rewrite TCP packet comparison in colo
@ 2017-12-06  9:57 Mao Zhongyi
  2017-12-06  9:57 ` [Qemu-devel] [PATCH v2 1/4] colo: remove the incorrect if conditions in colo_compare_packet_tcp() Mao Zhongyi
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Mao Zhongyi @ 2017-12-06  9:57 UTC (permalink / raw)
  To: qemu-devel; +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 <zhangckid@gmail.com>
Cc: Li Zhijian <lizhijian@cn.fujitsu.com>
Cc: Jason Wang <jasowang@redhat.com>

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-12-15  6:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06  9:57 [Qemu-devel] [PATCH v2 0/4] Rewrite TCP packet comparison in colo Mao Zhongyi
2017-12-06  9:57 ` [Qemu-devel] [PATCH v2 1/4] colo: remove the incorrect if conditions in colo_compare_packet_tcp() Mao Zhongyi
2017-12-12 15:19   ` Zhang Chen
2017-12-13  5:32     ` Mao Zhongyi
2017-12-13  8:11       ` Zhang Chen
2017-12-06  9:57 ` [Qemu-devel] [PATCH v2 2/4] colo: modified the payload compare function Mao Zhongyi
2017-12-12 15:19   ` Zhang Chen
2017-12-13  5:35     ` Mao Zhongyi
2017-12-06  9:57 ` [Qemu-devel] [PATCH v2 3/4] colo: compare the packet based on the tcp sequence number Mao Zhongyi
2017-12-12 15:21   ` Zhang Chen
2017-12-13  6:25     ` Mao Zhongyi
2017-12-13  9:08       ` Zhang Chen
2017-12-15  6:09         ` Mao Zhongyi
2017-12-06  9:57 ` [Qemu-devel] [PATCH v2 4/4] colo: add trace for the tcp packet comparison Mao Zhongyi
2017-12-12 15:22   ` Zhang Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).