From: Cheng Jiang <cheng1.jiang@intel.com>
To: maxime.coquelin@redhat.com, chenbo.xia@intel.com
Cc: dev@dpdk.org, jiayu.hu@intel.com, xuan.ding@intel.com,
wenwux.ma@intel.com, yuanx.wang@intel.com,
yvonnex.yang@intel.com, Cheng Jiang <cheng1.jiang@intel.com>
Subject: [RFC 0/2] vhost: add port mirroring function in the vhost lib
Date: Sun, 14 Aug 2022 12:49:18 +0000 [thread overview]
Message-ID: <20220814124920.14338-1-cheng1.jiang@intel.com> (raw)
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
next reply other threads:[~2022-08-14 13:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-14 12:49 Cheng Jiang [this message]
2022-08-14 12:49 ` [RFC 1/2] vhost: add ingress API for port mirroring datapath Cheng Jiang
2022-08-14 14:58 ` Stephen Hemminger
2022-08-18 6:58 ` Jiang, Cheng1
2022-08-18 8:16 ` Morten Brørup
2022-08-25 13:53 ` Jiang, Cheng1
2022-08-14 12:49 ` [RFC 2/2] vhost: add egress " Cheng Jiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220814124920.14338-1-cheng1.jiang@intel.com \
--to=cheng1.jiang@intel.com \
--cc=chenbo.xia@intel.com \
--cc=dev@dpdk.org \
--cc=jiayu.hu@intel.com \
--cc=maxime.coquelin@redhat.com \
--cc=wenwux.ma@intel.com \
--cc=xuan.ding@intel.com \
--cc=yuanx.wang@intel.com \
--cc=yvonnex.yang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).