Re: [vpp-dev] [DPDK] AF_XDP PMD
> I’m not very familiar with DPDK AF_XDP pmd, but my guess is that if it is > not working, likely it is because it needs to do something special with > buffer memory (i.e. register regions trough AFXDP APIs) and that memory is > handled by VPP. Damjan is correct, we rely on AF_XDP unaligned memory support, I do not know whether DPDK initializes it or not. Did you try to use AF_XDP DPDK PMD and is it failing? ben > > On 18.05.2021., at 11:25, Catalin Vasile wrote: > > > > So shouldn't this hack for also using the vpp buffer manager be > generally usable with all PMDs? > > From: Damjan Marion > > Sent: Tuesday, May 18, 2021 1:17 > > To: Catalin Vasile > > Cc: vpp-dev@lists.fd.io > > Subject: Re: [vpp-dev] [DPDK] AF_XDP PMD > > > > > > No, dpdk PMDs are also using vpp buffer manager, we are cheating a bit > by registering fake mempool. > > > > — > > Damjan > > > > > On 17.05.2021., at 23:40, Catalin Vasile wrote: > > > > > > �쏜㷃�쏜㷃�쏜㋢鹋ᢢ燨꽹ꥥ駫ⱪެ뇩譡諈⮢觬㽅죩瞵皆�돿쭬緘ꣾꚗ庿咽닆ꁻﵽ�貺 > 힓蘫Ꭲ颜蛛榳¥請汽�﹫翳漷㛿껹蚮让㬉�響痫ﺣ깘겶쟝誅➲犸魺᭭ꛏヨ⬭뇷抣뺚嵺○黋魶暫誉 > 쨦�쏜㷃�쏜㷃�쏜 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19397): https://lists.fd.io/g/vpp-dev/message/19397 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] [DPDK] AF_XDP PMD
Our preference is to have native drivers, that is what we did already for many devices. DPDK is not modular so each time you want ot use some DPDK feature end up with sub optimal solution. Notable exception is DPDK crypto which allows use of crypto PMDs without being forced to use mbufs, etc... I’m not very familiar with DPDK AF_XDP pmd, but my guess is that if it is not working, likely it is because it needs to do something special with buffer memory (i.e. register regions trough AFXDP APIs) and that memory is handled by VPP. > On 18.05.2021., at 11:25, Catalin Vasile wrote: > > So shouldn't this hack for also using the vpp buffer manager be generally > usable with all PMDs? > From: Damjan Marion > Sent: Tuesday, May 18, 2021 1:17 > To: Catalin Vasile > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] [DPDK] AF_XDP PMD > > > No, dpdk PMDs are also using vpp buffer manager, we are cheating a bit by > registering fake mempool. > > — > Damjan > > > On 17.05.2021., at 23:40, Catalin Vasile wrote: > > > > �쏜㷃�쏜㷃�쏜㋢鹋ᢢ燨꽹ꥥ駫ⱪެ뇩譡諈⮢觬㽅죩瞵皆�돿쭬緘ꣾꚗ庿咽닆ꁻﵽ�貺힓蘫Ꭲ颜蛛榳¥請汽�﹫翳漷㛿껹蚮让㬉�響痫ﺣ깘겶쟝誅➲犸魺᭭ꛏヨ⬭뇷抣뺚嵺○黋魶暫誉쨦�쏜㷃�쏜㷃�쏜 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19396): https://lists.fd.io/g/vpp-dev/message/19396 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] [DPDK] AF_XDP PMD
So shouldn't this hack for also using the vpp buffer manager be generally usable with all PMDs? From: Damjan Marion Sent: Tuesday, May 18, 2021 1:17 To: Catalin Vasile Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] [DPDK] AF_XDP PMD No, dpdk PMDs are also using vpp buffer manager, we are cheating a bit by registering fake mempool. — Damjan > On 17.05.2021., at 23:40, Catalin Vasile wrote: > > �쏜㷃�쏜㷃�쏜㋢鹋ᢢ燨꽹ꥥ駫ⱪެ뇩譡諈⮢觬㽅죩瞵皆�돿쭬緘ꣾꚗ庿咽닆ꁻﵽ�貺힓蘫Ꭲ颜蛛榳¥請汽�﹫翳漷㛿껹蚮让㬉�響痫ﺣ깘겶쟝誅➲犸魺᭭ꛏヨ⬭뇷抣뺚嵺○黋魶暫誉쨦�쏜㷃�쏜㷃�쏜 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19395): https://lists.fd.io/g/vpp-dev/message/19395 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] [DPDK] AF_XDP PMD
No, dpdk PMDs are also using vpp buffer manager, we are cheating a bit by registering fake mempool. — Damjan > On 17.05.2021., at 23:40, Catalin Vasile wrote: > > �쏜㷃�쏜㷃�쏜㋢鹋ᢢ燨꽹ꥥ駫ⱪެ뇩譡諈⮢觬㽅죩瞵皆�돿쭬緘ꣾꚗ庿咽닆ꁻﵽ�貺힓蘫Ꭲ颜蛛榳¥請汽�﹫翳漷㛿껹蚮让㬉�響痫ﺣ깘겶쟝誅➲犸魺᭭ꛏヨ⬭뇷抣뺚嵺○黋魶暫誉쨦�쏜㷃�쏜㷃�쏜 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19393): https://lists.fd.io/g/vpp-dev/message/19393 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] [DPDK] AF_XDP PMD
Aren't the other PMDs using dpdk buffer manager? How are they getting the packages out from DPDK to VPP differently? From: Damjan Marion Sent: Saturday, May 15, 2021 3:14 To: Catalin Vasile Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] [DPDK] AF_XDP PMD Probably nobody tried, and knowing that vpp doesn’t use dpdk buffer manager, i would be very surprised if it works. What is wrong with using VPP native AF_XDP? — Damjan On 15.05.2021., at 01:26, Catalin Vasile wrote: Hi, I know VPP has an AF_XDP plugin, but I'm trying to use the AF_XDP PMD driver from DPDK. It's not clear to me: does VPP have a way to use the DPDK AF_XDP PMD driver? I tried looking through the code, but I'm not sure yet. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19392): https://lists.fd.io/g/vpp-dev/message/19392 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] [DPDK] AF_XDP PMD
I'm trying to see if it's worth porting AF_XDP PMD mode back to a version of DPDK that works with VPP that still implements the HQoS From: Damjan Marion Sent: Saturday, May 15, 2021 3:14 To: Catalin Vasile Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] [DPDK] AF_XDP PMD Probably nobody tried, and knowing that vpp doesn’t use dpdk buffer manager, i would be very surprised if it works. What is wrong with using VPP native AF_XDP? — Damjan On 15.05.2021., at 01:26, Catalin Vasile wrote: Hi, I know VPP has an AF_XDP plugin, but I'm trying to use the AF_XDP PMD driver from DPDK. It's not clear to me: does VPP have a way to use the DPDK AF_XDP PMD driver? I tried looking through the code, but I'm not sure yet. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19387): https://lists.fd.io/g/vpp-dev/message/19387 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] [DPDK] AF_XDP PMD
Probably nobody tried, and knowing that vpp doesn’t use dpdk buffer manager, i would be very surprised if it works. What is wrong with using VPP native AF_XDP? — Damjan > On 15.05.2021., at 01:26, Catalin Vasile wrote: > > > Hi, > > I know VPP has an AF_XDP plugin, but I'm trying to use the AF_XDP PMD driver > from DPDK. > It's not clear to me: does VPP have a way to use the DPDK AF_XDP PMD driver? > I tried looking through the code, but I'm not sure yet. > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19386): https://lists.fd.io/g/vpp-dev/message/19386 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] [DPDK] AF_XDP PMD
Hi, I know VPP has an AF_XDP plugin, but I'm trying to use the AF_XDP PMD driver from DPDK. It's not clear to me: does VPP have a way to use the DPDK AF_XDP PMD driver? I tried looking through the code, but I'm not sure yet. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19385): https://lists.fd.io/g/vpp-dev/message/19385 Mute This Topic: https://lists.fd.io/mt/82836782/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-