Skip to content

RFC vhost: add port mirroring function in the vhost lib

Cheng Jiang dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost: add ingress API for port mirroring datapathlib/vhost/rte_vhost_async.h lib/vhost/version.map lib/vhost/vhost.h +1 more+679 -64 replies
2/2vhost: add egress API for port mirroring datapathlib/vhost/rte_vhost_async.h lib/vhost/version.map lib/vhost/virtio_net.c+742 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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