Received: from eggs.gnu.org ([2001:4830:134:3::10]:59832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1al4qd-0007Og-L1 for qemu-devel@nongnu.org; Tue, 29 Mar 2016 21:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1al4qZ-0008L0-1k for qemu-devel@nongnu.org; Tue, 29 Mar 2016 21:23:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1al4qY-0008KQ-PQ for qemu-devel@nongnu.org; Tue, 29 Mar 2016 21:22:58 -0400 From: Jason Wang Date: Wed, 30 Mar 2016 09:22:48 +0800 Message-Id: <1459300975-5987-1-git-send-email-jasowang@redhat.com> Subject: [Qemu-devel] [PULL V2 0/7] Net patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org, qemu-devel@nongnu.org Cc: Jason Wang The following changes since commit 553934db664ecee676650fac0330dceff3531736: Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging (2016-03-29 19:54:49 +0100) are available in the git repository at: https://github.com/jasowang/qemu.git tags/net-pull-request for you to fetch changes up to 8e0f7dd25152385711b0224e2d3c65ede0239cd9: Revert "e1000: fix hang of win2k12 shutdown with flood ping" (2016-03-30 08:57:42 +0800) ---------------------------------------------------------------- - mirror/redirector which could mirror or redirct the traffic between netdev and socket chardev - fix e1000 interrupt strom and remove previous hack Changes from V1: - fix build errors ---------------------------------------------------------------- Sameeh Jubran (2): e1000: Fixing interrupts pace. Revert "e1000: fix hang of win2k12 shutdown with flood ping" Zhang Chen (5): net/filter-mirror:Add filter-mirror tests/test-filter-mirror:add filter-mirror unit test net/filter-mirror: Change filter_mirror_send interface net/filter-mirror: implement filter-redirector tests/test-filter-redirector: Add unit test for filter-redirector hw/net/e1000.c | 13 +- net/Makefile.objs | 1 + net/filter-mirror.c | 427 +++++++++++++++++++++++++++++++++++++++++ qemu-options.hx | 14 ++ tests/.gitignore | 2 + tests/Makefile | 4 + tests/test-filter-mirror.c | 93 +++++++++ tests/test-filter-redirector.c | 221 +++++++++++++++++++++ vl.c | 4 +- 9 files changed, 773 insertions(+), 6 deletions(-) create mode 100644 net/filter-mirror.c create mode 100644 tests/test-filter-mirror.c create mode 100644 tests/test-filter-redirector.c