[RFC 1/2] vhost: add ingress API for port mirroring datapath

Stephen Hemminger stephen at networkplumber.org
Sun Aug 14 16:58:26 CEST 2022


On Sun, 14 Aug 2022 12:49:19 +0000
Cheng Jiang <cheng1.jiang at intel.com> wrote:

> From: Wenwu Ma <wenwux.ma at intel.com>
> 
> Similar to the port mirroring function on the switch or router, this
> patch also implements an ingress function on the Vhost lib. When
> data is sent to a front-end, it will also send the data to its mirror
> front-end.
> 
> Signed-off-by: Cheng Jiang <cheng1.jiang at intel.com>
> Signed-off-by: Wenwu Ma <wenwux.ma at intel.com>

We already have rte_flow, packet capture, and rx/tx callbacks.
This seems like re-invention.


More information about the dev mailing list