Hi Damjan,

I have used below CLI's to create rdma interfaces over Mellanox , Can you
suggest what set of CLi's I should use so that packets from rdma will also
have mbuff fields set properly , so that we can directly right on KNI?

create interface rdma host-if ens2f0 name device_9/0/0
create interface rdma host-if ens2f1 name device_9/0/1

Thanks,
Chetan Bhasin

On Fri, Dec 6, 2019 at 9:32 PM Damjan Marion via Lists.Fd.Io <dmarion=
me....@lists.fd.io> wrote:

>
>
> > On 6 Dec 2019, at 07:16, Prashant Upadhyaya <praupadhy...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > I use VPP with DPDK driver for I/O with NIC.
> > For high speed switching of packets to and from kernel, I use DPDK KNI
> > (kernel module and user space API's provided by DPDK)
> > This works well because the vlib buffer is backed by the DPDK mbuf
> > (KNI uses DPDK mbuf's)
> >
> > Now, if I choose to use a native driver of VPP for I/O with NIC, is
> > there a native equivalent in VPP to replace KNI as well ? The native
> > equivalent should not lose out on performance as compared to KNI so I
> > believe the tap interface can be ruled out here.
> >
> > If I keep using DPDK KNI and VPP native non-dpdk driver, then I fear I
> > would have to do a data copy between the vlib buffer and an mbuf  in
> > addition to doing all the DPDK pool maintenance etc. The copies would
> > be destructive for performance surely.
> >
> > So I believe, the question is -- in presence of native drivers in VPP,
> > what is the high speed equivalent of DPDK KNI.
>
> You can use dpdk and native drivers on the same time.
> How KNI performance compares to tap with vhost-net backend?
>
>
> --
> Damjan
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#14826): https://lists.fd.io/g/vpp-dev/message/14826
> Mute This Topic: https://lists.fd.io/mt/67470059/856484
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [
> chetan.bhasin...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14845): https://lists.fd.io/g/vpp-dev/message/14845
Mute This Topic: https://lists.fd.io/mt/67470059/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to