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: "mc36" <>
  • To: ,
  • Subject: Re: [RARE-users] [freertr] Enabling DPDK on a whitebox
  • Date: Wed, 21 Dec 2022 16:59:15 +0100
  • List-id: <freertr.groups.io>
  • Mailing-list: list ; contact

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 (#890): https://groups.io/g/freertr/message/890
Mute This Topic: https://groups.io/mt/95808049/6413194
Group Owner:
Unsubscribe: https://groups.io/g/freertr/unsub []
-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.19.

Top of Page