From: Thomas Monjalon <thomas@monjalon.net>
To: Igor Ryzhov <iryzhov@nfware.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
dev <dev@dpdk.org>, Ferruh Yigit <ferruh.yigit@intel.com>,
kevin.traynor@redhat.com, "Richardson,
Bruce" <bruce.richardson@intel.com>,
hemant.agrawal@nxp.com, Jerin Jacob <jerinj@marvell.com>,
Olivier Matz <olivier.matz@6wind.com>,
maxime.coquelin@redhat.com
Subject: Re: [dpdk-dev] KNI alternatives
Date: Wed, 13 Jan 2021 19:45:20 +0100 [thread overview]
Message-ID: <2972532.pOxcSfYYoZ@thomas> (raw)
In-Reply-To: <CAF+s_FyTFsDBauBcRXb2CQ9sgD-USwAi57kFGn9Dz=23HzK=og@mail.gmail.com>
13/01/2021 19:17, Igor Ryzhov:
> On Wed, Jan 13, 2021 at 8:10 PM Stephen Hemminger <
> stephen@networkplumber.org> wrote:
> > On Wed, Jan 13, 2021, 9:06 AM Thomas Monjalon <thomas@monjalon.net> wrote:
> >
> > > Hi,
> > >
> > > As discussed today in the techboard meeting, KNI has probably
> > > better alternatives today without using an out-of-tree module.
> > > Virtio-user is a good candidate to replace KNI.
> > > What is the performance of TAP?
> > > Is there a way to leverage af_packet, af_xdp, or even pcap interfaces?
> >
> > Last time I tried.
> > Virtio user was as fast as KNI and consumed less cpu. Was seeing 10mpps
> > Tap was much slower. Like 1mpps.
>
> Performance is not the only question. The advantage of KNI we are currently
> using is
> the ability to control the DPDK interfaces by the kernel.
> For example, to implement bonding in the DPDK application, it is possible
> to create KNI
> pair for each physical interface, create a bond interface in Linux over
> those KNI interfaces
> and just pass LACP packets between the app and the kernel. The kernel
> itself will control
> MACs, MTU, etc. of underlying interfaces. AFAIK it's not possible with
> virtio-user or tap.
> Am I wrong?
I see at least 2 alternatives for bonding with kernel management:
- mlx5 bonding
- af_xdp interface for most of NICs
next prev parent reply other threads:[~2021-01-13 18:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 17:06 Thomas Monjalon
2021-01-13 17:10 ` Stephen Hemminger
2021-01-13 18:17 ` Igor Ryzhov
2021-01-13 18:45 ` Thomas Monjalon [this message]
2021-01-13 19:53 ` Igor Ryzhov
2021-01-14 5:50 ` Stephen Hemminger
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=2972532.pOxcSfYYoZ@thomas \
--to=thomas@monjalon.net \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=hemant.agrawal@nxp.com \
--cc=iryzhov@nfware.com \
--cc=jerinj@marvell.com \
--cc=kevin.traynor@redhat.com \
--cc=maxime.coquelin@redhat.com \
--cc=olivier.matz@6wind.com \
--cc=stephen@networkplumber.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).