Re: [Qemu-devel] [PATCH V4 07/12] net/colo.c: Make vnet_hdr_len as packet property

2017-05-23 Thread Zhang Chen
On 05/15/2017 04:18 PM, Jason Wang wrote: On 2017年05月15日 16:03, Zhang Chen wrote: On 05/15/2017 12:05 PM, Jason Wang wrote: On 2017年05月12日 09:41, Zhang Chen wrote: We can use this property flush and send packet with vnet_hdr_len. Signed-off-by: Zhang Chen Then I think it's not nece

Re: [Qemu-devel] [PATCH V4 07/12] net/colo.c: Make vnet_hdr_len as packet property

2017-05-15 Thread Jason Wang
On 2017年05月15日 16:03, Zhang Chen wrote: On 05/15/2017 12:05 PM, Jason Wang wrote: On 2017年05月12日 09:41, Zhang Chen wrote: We can use this property flush and send packet with vnet_hdr_len. Signed-off-by: Zhang Chen Then I think it's not necessary to store vnet_hdr_len in SocketReadSta

Re: [Qemu-devel] [PATCH V4 07/12] net/colo.c: Make vnet_hdr_len as packet property

2017-05-15 Thread Zhang Chen
On 05/15/2017 12:05 PM, Jason Wang wrote: On 2017年05月12日 09:41, Zhang Chen wrote: We can use this property flush and send packet with vnet_hdr_len. Signed-off-by: Zhang Chen Then I think it's not necessary to store vnet_hdr_len in SocketReadState? Do you means we keep the patch 05/12 i

Re: [Qemu-devel] [PATCH V4 07/12] net/colo.c: Make vnet_hdr_len as packet property

2017-05-14 Thread Jason Wang
On 2017年05月12日 09:41, Zhang Chen wrote: We can use this property flush and send packet with vnet_hdr_len. Signed-off-by: Zhang Chen Then I think it's not necessary to store vnet_hdr_len in SocketReadState? Thanks --- net/colo-compare.c| 8 ++-- net/colo.c| 3 ++-

[Qemu-devel] [PATCH V4 07/12] net/colo.c: Make vnet_hdr_len as packet property

2017-05-11 Thread Zhang Chen
We can use this property flush and send packet with vnet_hdr_len. Signed-off-by: Zhang Chen --- net/colo-compare.c| 8 ++-- net/colo.c| 3 ++- net/colo.h| 4 +++- net/filter-rewriter.c | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/net/col