Skip to Content.

rare-users - Re: [RARE-users] [freertr] Enabling DPDK on a whitebox

Subject: RARE user and assistance email list

List archive


Re: [RARE-users] [freertr] Enabling DPDK on a whitebox


Chronological Thread 
  • From: "Edgard" <>
  • To: , cs <>
  • Subject: Re: [RARE-users] [freertr] Enabling DPDK on a whitebox
  • Date: Wed, 21 Dec 2022 15:05:06 -0300
  • List-id: <freertr.groups.io>
  • Mailing-list: list ; contact

Hi Csaba!

Thanks for answering me.

rtr#show p4lang p4 port-names                                  
num  name
0    0000:01:00.0
1    0000:02:00.0
2    0000:03:00.0
3    0000:04:00.0
4    net_af_packet4
5    net_af_packet5
I'm going to check what limitations I still have with this box.

Thanks for sharing this topic. I will read and apply as much as I can.

Em qua., 21 de dez. de 2022 12:59, mc36 <> escreveu:
but if you succeeded, you still have some work to do:
https://lists.geant.org/sympa/arc/rare-users/2022-08/msg00106.html
please read the replies as i added a lot of corrections after the reread cycles :)
br,
cs

On 12/21/22 16:53, mc36 wrote:
> hi,
> /sbin/ifconfig should not show you the physical interfaces!
> moreover sho p4 p4 port-names should give you pcie slot ids:
>
> mchome#show p4lang p4 port-names
> num   name
> 0       0000:00:1f.6
> 1       0000:01:00.0
> 2       0000:01:00.1
> 3       net_af_packet0
> 4       net_af_packet1
> 5       net_af_packet2
> 6       net_af_packet3
> 7       net_af_packet4
> 8       net_af_packet5
> 9       net_af_packet6
> 10     net_af_packet7
>
> mchome#
>
> but be aware that celerons can break as dpdk requires i7 compiler knob:
> https://github.com/rare-freertr/freeRtr/blob/master/misc/native/c.sh#L18
>
> br,
> cs
>
>
>
> On 12/21/22 16:27, Edgard wrote:
>> Hello everybody!
>> I have a question about what is the easiest way to check if everything went well in activating the dataplane with p4dpdk in a whitebox with Intel Celeron J4125.
>> After running these commands:
>> rtr#write
>> rtr#test hwext path /rtr/rtr- dataplane p4dpdk
>> rtr#reload cold
>> With output:
>> % externalizing forwarding
>> % found 5 interfaces
>> % ifc 0: sdn1 ethernet1 enp1s0 00:e2:69:5c:2a:57
>> % ifc 1: sdn2 ethernet2 enp2s0 00:e2:69:5c:2a:58
>> % ifc 2: sdn3 ethernet3 eno1 00:e2:69:5c:2a:59
>> % ifc 3: sdn4 ethernet4 enp4s0 00:e2:69:5c:2a:5a
>> % ifc 4: sdn5 ethernet20001 veth1b -
>> % found 2 vrfs
>> % vrf 0: inet
>> % vrf 1: sdwan
>>
>> Unfortunately, for now I only have this box.
>>
>> As I've been doing tests with dataplanes for a short time, I still haven't found a way to do performance tests correctly.
>>
>> ---
>> Edgard
>>
>
>
>
>
>

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#891) | | | Mute This Topic | New Topic
Your Subscription | | Unsubscribe []

_._,_._,_



Archive powered by MHonArc 2.6.19.

Top of Page