Venumadhav Josyula <vjosy...@gmail.com> writes:

Hi Christian,

As mentioned in my previous email, we want to give Intel based ( 10G
) for the our packet processing so we need dpdk. With dpdk being
there i was trying to explore if we can run in non-previlege mode ...

If you are trying to take over PCI HW directly then you need to run privileged. 
You can get away with not running privileged when using virtual devices, but 
not actual physical HW.

Thanks,
Chris.


Thanks,
Regards,
Venu

On Fri, 18 Jun 2021 at 13:49, Christian Hopps <cho...@chopps.org>
wrote:


    Venumadhav Josyula <vjosy...@gmail.com> writes:

    > Hi Damien,
    >
    >>I’m asking because in vpp we have also native 
    >> drivers for some NICs and paravirtualized >devices, and those
    >> drivers are working in the >non-priv mode.

    > You mean to say native NICs  para virtualized drivers ??? If
    yes can
    > share details.

    What HW are you using is what he's asking. You may not need DPDK
    at all, in which case you do not need to run vpp privileged.

    Thanks,
    Chris.

    > So are you also implying that it might not be possible to run
    vpp
    > with dpdk in non-previlege mode ?, Which would be mean that
    that pod
    > need to have previlege mode
    >
    > Thanks
    > Regards
    > Venu
    >
    > On Fri, 18 Jun, 2021, 12:52 pm Damjan Marion, <dmar...@me.com>
    wrote:
    >
    >
    >     I’m asking because in vpp we have also native drivers for
    some
    >     NICs and paravirtualized devices, and those drivers are
    working
    >     in the non-priv mode.
    >
    >     — 
    >     Damjan
    >
    >     On 18.06.2021., at 09:12, Venumadhav Josyula <
    vjosy...@gmail.com>
    >     wrote:
    >
    >
    >
    >         Hi Damjan,
    >
    >         We need dpdk, the reason being that packets from the
    NICs (
    >         pollmode ) need to come inside our packet processing sw
    (
    >         GTPU). So we wanted to use dpdk for the same. Now we
    wanted
    >         to know the pod in which vpp is running in
    non-previleged
    >         mode.
    >
    >         Now we have questions
    >         i) is it possible ?
    >         ii) if yes how ?
    >         Now we were looking at below link for examples, but no
    >         luck... they non-previleged running vpp + dpdk had some
    >         problems.
    >         https://github.com/cncf/cnf-testbed/issues/291
    >
    >         Hence i am trying to check in the community.
    >
    >         Thanks,
    >         Regards,
    >         Venu
    >
    >
    >         On Fri, 18 Jun 2021 at 12:20, Damjan Marion <
    dmar...@me.com>
    >         wrote:
    >
    >
    >
    >             Why do you need dpdk?
    >
    >             — 
    >             Damjan
    >
    >
    >                 On 18.06.2021., at 06:47, Venumadhav Josyula <
    >                 vjosy...@gmail.com> wrote:
    >
    >
    >                 Hi Christian,
    >
    >                 Can you please share the exact steps please ?
    >
    >                 Thanks,
    >                 Regards,
    >                 Venu
    >
    >                 On Thu, 17 Jun 2021 at 21:25, Christian Hopps <
    >                 cho...@chopps.org> wrote:
    >
    >
    >                     "Venumadhav Josyula" <vjosy...@gmail.com>
    writes:
    >
    >                     > Hi All,
    >                     >
    >                     > Can you run vpp + dpdk in non-privileged
    mode ?
    >                     This vpp running
    >                     > inside pod as a cnf
    >
    >                     I did this at one point, IIRC I had to
    disable
    >                     something small bit of code in the
    >                     dpdk_early_init that required root, but as
    this
    >                     code was only required to do something
    directly
    >                     with the HW later, it wasn't needed in the
    >                     container/virtual case.
    >
    >                     Thanks,
    >                     Chris.
    >
    >                     >
    >                     > Thanks,
    >                     > Regards,
    >                     > Venu
    >                     >
    >                     >
    >                     >
    >                     >
    >
    >
    >
    >
    >
    >
    >
    >         
    >
    >


Attachment: signature.asc
Description: PGP signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19614): https://lists.fd.io/g/vpp-dev/message/19614
Mute This Topic: https://lists.fd.io/mt/83551481/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