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 (#19609): https://lists.fd.io/g/vpp-dev/message/19609
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