qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] Rewrite TCP packet comparison in colo
@ 2017-12-22  9:28 Mao Zhongyi
  2017-12-22  9:28 ` [Qemu-devel] [PATCH v3 1/2] colo: modified the payload compare function Mao Zhongyi
  2017-12-22  9:28 ` [Qemu-devel] [PATCH v3 2/2] colo: compare the packet based on the tcp sequence number Mao Zhongyi
  0 siblings, 2 replies; 7+ messages in thread
From: Mao Zhongyi @ 2017-12-22  9:28 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.

v3:
  p1: merged the patch1 and patch2 from v2 
  p2: -merged the patch3 and patch4 from v2
      -implement the same process flow for tcp, udp and icmp

                                                [Zhang Chen]
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 (2):
  colo: modified the payload compare function
  colo: compare the packet based on the tcp sequence number

 net/colo-compare.c | 411 +++++++++++++++++++++++++++++++++--------------------
 net/colo.c         |   9 ++
 net/colo.h         |  15 ++
 net/trace-events   |   2 +-
 4 files changed, 284 insertions(+), 153 deletions(-)

-- 
2.9.4

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

end of thread, other threads:[~2017-12-25  2:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-22  9:28 [Qemu-devel] [PATCH v3 0/2] Rewrite TCP packet comparison in colo Mao Zhongyi
2017-12-22  9:28 ` [Qemu-devel] [PATCH v3 1/2] colo: modified the payload compare function Mao Zhongyi
2017-12-24 19:03   ` Zhang Chen
2017-12-22  9:28 ` [Qemu-devel] [PATCH v3 2/2] colo: compare the packet based on the tcp sequence number Mao Zhongyi
2017-12-24 19:20   ` Zhang Chen
     [not found]     ` <09987cd3-07d5-ff3a-5298-1a1fcac846a3@cn.fujitsu.com>
2017-12-25  2:12       ` Mao Zhongyi
2017-12-25  2:16       ` Mao Zhongyi

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).