Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Christian Hopps
Venumadhav Josyula 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

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Venumadhav Josyula
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 ... Thanks, Regards, Venu On Fri, 18 Jun 2021 at 13:49, Christian Hopps wrote: >

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Christian Hopps
Venumadhav Josyula 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 y

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Venumadhav Josyula
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. So are you also implying that it might not be po

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Damjan Marion via lists.fd.io
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 wrote: > >  > Hi Damjan, > > We need dpdk, the reason being that packets from the NICs

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Venumadhav Josyula
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

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-17 Thread Damjan Marion via lists.fd.io
Why do you need dpdk? — Damjan > On 18.06.2021., at 06:47, Venumadhav Josyula wrote: > >  > Hi Christian, > > Can you please share the exact steps please ? > > Thanks, > Regards, > Venu > >> On Thu, 17 Jun 2021 at 21:25, Christian Hopps wrote: >> >> "Venumadhav Josyula" writes: >> >>

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-17 Thread Venumadhav Josyula
Hi Christian, Can you please share the exact steps please ? Thanks, Regards, Venu On Thu, 17 Jun 2021 at 21:25, Christian Hopps wrote: > > "Venumadhav Josyula" writes: > > > Hi All, > > > > Can you run vpp + dpdk in non-privileged mode ? This vpp running > > inside pod as a cnf > > I did this

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-17 Thread Christian Hopps
"Venumadhav Josyula" 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 somethin