DPDK usage discussions
 help / color / mirror / Atom feed
From: Myth Ren <email4myth@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Fwd: use VF in promiscuous mode in dpdk to receive all traffic received by PF
Date: Thu, 14 Jan 2021 13:59:58 +0800	[thread overview]
Message-ID: <CAHygEmDCOG6v=09uRhe6H1Oitg4oxqegZVgbuXhQsNS-C+VNkA@mail.gmail.com> (raw)
In-Reply-To: <CAHygEmDMi9rsi23EVJ+=Aw2XwyVfD73cYdti7PtZwVyLjjkZdw@mail.gmail.com>

Hi, all
    is it possible we are mirror traffic from switch/router to PF, then a
program based on DPDK
read packet from a VF related to the PF, presume we are mirror the traffic
from PF to the VF (promiscuous),
while the PF device still managed by the kernel driver(if it's possible),
or managed by UIO driver.
at least, restart the DPDK based program will not influence the PF device
state.

    i have already read the the VFIO doc (
https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#vfio) and
test it, but not see what i want (maybe i mis-understood or take wrong
steps).

    if VFIO can do what i want? which device i should use, which version
kernel i should use, which driver i
should use?

    thank you

  reply	other threads:[~2021-01-14  6:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 11:18 [dpdk-users] " Myth Ren
2021-01-14  5:59 ` Myth Ren [this message]
2021-01-14 18:11   ` [dpdk-users] Fwd: " David Christensen

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='CAHygEmDCOG6v=09uRhe6H1Oitg4oxqegZVgbuXhQsNS-C+VNkA@mail.gmail.com' \
    --to=email4myth@gmail.com \
    --cc=users@dpdk.org \
    /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).