mbox series

[V2,0/7] Bypass specific network traffic in COLO

Message ID 20210303041539.1032415-1-chen.zhang@intel.com
Headers show
Series Bypass specific network traffic in COLO | expand

Message

Zhang, Chen March 3, 2021, 4:15 a.m. UTC
From: Zhang Chen <chen.zhang@intel.com>

Since the real user scenario does not need to monitor all traffic.
This series give user ability to bypass kinds of network stream.

  V2:
    - Add some qapi definitions.
    - Support multi colo-compare objects.
    - Support setup each rules for each objects individually.
    - Clean up COLO compare definition to .h file.
    - Rebase HMP command for stable tree.
    - Add redundant rules check.

Zhang Chen (7):
  qapi/net.json: Add IP_PROTOCOL definition
  qapi/net.json: Add L4_Connection definition
  qapi/net: Add new QMP command for COLO passthrough
  hmp-commands: Add new HMP command for COLO passthrough
  net/colo-compare: Move data structure and define to .h file.
  net/colo-compare: Add passthrough list to CompareState
  net/net.c: Add handler for COLO passthrough connection

 hmp-commands.hx       |  26 +++++++
 include/monitor/hmp.h |   2 +
 monitor/hmp-cmds.c    |  34 +++++++++
 net/colo-compare.c    | 131 +++++++----------------------------
 net/colo-compare.h    | 116 +++++++++++++++++++++++++++++++
 net/net.c             | 157 ++++++++++++++++++++++++++++++++++++++++++
 qapi/net.json         |  96 ++++++++++++++++++++++++++
 7 files changed, 456 insertions(+), 106 deletions(-)