From: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
To: qemu devel <qemu-devel@nongnu.org>, Jason Wang <jasowang@redhat.com>
Cc: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>,
zhanghailiang <zhang.zhanghailiang@huawei.com>,
weifuqiang <weifuqiang@huawei.com>,
"eddie . dong" <eddie.dong@intel.com>,
bian naimeng <biannm@cn.fujitsu.com>,
Li Zhijian <lizhijian@cn.fujitsu.com>
Subject: [Qemu-devel] [PATCH V6 00/10] Add COLO-proxy virtio-net support
Date: Wed, 7 Jun 2017 17:55:12 +0800 [thread overview]
Message-ID: <1496829322-17099-1-git-send-email-zhangchen.fnst@cn.fujitsu.com> (raw)
If user use -device virtio-net-pci, virtio-net driver will add a header
to raw net packet that colo-proxy can't handle it. COLO-proxy just
focus on the packet payload, so we skip the virtio-net header to compare
the sent packet that primary guest's to secondary guest's.
V6:
- p1: Remove the using_vnet_hdr, I will send a independent
patchset about it.
- p2: Change option input way from vnet_hdr=on/off to vnet_hdr_support.
Use nf->direction to decide check nf->netdev->vnet_hdr_len or nf->netdev->peer->vnet_hdr_len.
- p3: Change option input way from vnet_hdr=on/off to vnet_hdr_support.
- p4: No change.
- p5: No change.
- p6: Change option input way from vnet_hdr=on/off to vnet_hdr_support.
Fix commit log.
- p7: No change.
- p8: No change.
- p9: Change option input way from vnet_hdr=on/off to vnet_hdr_support.
Use nf->direction to decide check nf->netdev->vnet_hdr_len or nf->netdev->peer->vnet_hdr_len.
- p10: New patch to add new example for the case needs vnet hdr.
V5:
- patch1: No change.
- patch2: Keep the long line in qemu-option.hx.
Squash patch2 into old patch3.
Add more comments.
Fix the return value.
- patch3: Add more comments in commit log.
- patch4: Add Suggested-by tag.
Fix commit log.
Move vnet_hdr to SocketReadState.
- patch5: No change.
- patch6: Squash old patch6 into this patch.
- patch7: No change.
- patch8: Remove the offset_all.
- patch9: Squash old patch11 and the patch12.
V4:
- Add vnet_hdr option for filter-mirror, filter-redirector,
filter-rewriter,colo-compare.
- Use new design to impliment virtio-net support for colo-proxy.
- Fix codestyle.
- Remove unused option for filter-rewriter.
- Add filter-rewriter virtio-net support.
- Address other comments.
Zhang Chen (10):
net: Add vnet_hdr_len arguments in NetClientState
net/filter-mirror.c: Make filter mirror support vnet support.
net/filter-mirror.c: Add new option to enable vnet support for
filter-redirector
net/net.c: Add vnet_hdr support in SocketReadState
net/colo.c: Make vnet_hdr_len as packet property
net/colo-compare.c: Make colo-compare support vnet_hdr_len
net/colo.c: Add vnet packet parse feature in colo-proxy
net/colo-compare.c: Add vnet packet's tcp/udp/icmp compare
net/filter-rewriter.c: Make filter-rewriter support vnet_hdr_len
docs/colo-proxy.txt: Update colo-proxy usage of net driver with
vnet_header
docs/colo-proxy.txt | 26 ++++++++++++++
include/net/net.h | 7 +++-
net/colo-compare.c | 86 +++++++++++++++++++++++++++++++++++++-------
net/colo.c | 9 ++---
net/colo.h | 4 ++-
net/filter-mirror.c | 98 ++++++++++++++++++++++++++++++++++++++++++++++++---
net/filter-rewriter.c | 51 ++++++++++++++++++++++++++-
net/net.c | 34 ++++++++++++++++--
qemu-options.hx | 19 +++++-----
9 files changed, 296 insertions(+), 38 deletions(-)
--
2.7.4
next reply other threads:[~2017-06-07 9:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-07 9:55 Zhang Chen [this message]
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 01/10] net: Add vnet_hdr_len arguments in NetClientState Zhang Chen
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 02/10] net/filter-mirror.c: Make filter mirror support vnet support Zhang Chen
2017-06-09 6:08 ` Jason Wang
2017-06-12 9:27 ` Zhang Chen
2017-06-13 9:14 ` Jason Wang
2017-06-14 8:04 ` Zhang Chen
2017-06-15 4:31 ` Jason Wang
2017-06-15 8:10 ` Zhang Chen
2017-06-16 2:17 ` Jason Wang
2017-06-16 8:36 ` Zhang Chen
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 03/10] net/filter-mirror.c: Add new option to enable vnet support for filter-redirector Zhang Chen
2017-06-09 6:09 ` Jason Wang
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 04/10] net/net.c: Add vnet_hdr support in SocketReadState Zhang Chen
2017-06-09 6:15 ` Jason Wang
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 05/10] net/colo.c: Make vnet_hdr_len as packet property Zhang Chen
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 06/10] net/colo-compare.c: Make colo-compare support vnet_hdr_len Zhang Chen
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 07/10] net/colo.c: Add vnet packet parse feature in colo-proxy Zhang Chen
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 08/10] net/colo-compare.c: Add vnet packet's tcp/udp/icmp compare Zhang Chen
2017-06-09 6:17 ` Jason Wang
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 09/10] net/filter-rewriter.c: Make filter-rewriter support vnet_hdr_len Zhang Chen
2017-06-09 6:20 ` Jason Wang
2017-06-07 9:55 ` [Qemu-devel] [PATCH V6 10/10] docs/colo-proxy.txt: Update colo-proxy usage of net driver with vnet_header Zhang Chen
2017-06-09 6:22 ` Jason Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496829322-17099-1-git-send-email-zhangchen.fnst@cn.fujitsu.com \
--to=zhangchen.fnst@cn.fujitsu.com \
--cc=biannm@cn.fujitsu.com \
--cc=eddie.dong@intel.com \
--cc=jasowang@redhat.com \
--cc=lizhijian@cn.fujitsu.com \
--cc=qemu-devel@nongnu.org \
--cc=weifuqiang@huawei.com \
--cc=zhang.zhanghailiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).