mbox series

[RFC,0/2] vhost: add port mirroring function in the vhost lib

Message ID 20220814124920.14338-1-cheng1.jiang@intel.com (mailing list archive)
Headers show
Series vhost: add port mirroring function in the vhost lib | expand

Message

Cheng Jiang Aug. 14, 2022, 12:49 p.m. UTC
Similar to the port mirroring function on the switch or router, this
patch set also implements such function on the Vhost lib. When
data is sent to a front-end, it will also send the data to its mirror
front-end. When data is received from a front-end, it will also send
the data to its mirrorfront-end.

Cheng Jiang (1):
  vhost: add egress API for port mirroring datapath

Wenwu Ma (1):
  vhost: add ingress API for port mirroring datapath

 lib/vhost/rte_vhost_async.h |   26 +-
 lib/vhost/version.map       |    5 +
 lib/vhost/vhost.h           |    3 +-
 lib/vhost/virtio_net.c      | 2755 ++++++++++++++++++++++++++---------
 4 files changed, 2101 insertions(+), 688 deletions(-)

--
2.35.1