Advantech FWA-T011 Getting Started Manual page 53

Quickstart linux image
Hide thumbs Also See for FWA-T011:
Table of Contents

Advertisement

transmission.
-l 2,3:CPU cores ID 2,3 are dedicated for the l3fwd program, and how they are
bound to NIC ports will be assigned within parameter "--config".
-n 3: memory channels = 3
-w 03:00.0 -w 04:00.0: i.e. PFA of port 3 and port 4
--socket-mem=512: The huge page was assigned as 2048MB in Step 2. Allocate 512MB for
l3fwd program as the other 512 MB had been reserved for pktgen
program.
--file-prefix=l3fwd: As pktgen and l3fwd use the same DPDK engine, we need to assign a
prefix label to make DPDK engine to differentiate them.
-p 0x3: enabled port mask
--config="(0,0,2),(1,0,3)": Map queue 0 from port 0 to CPU lcore 2, and so on.
Port
0
1
Where lcore is defined by -l <CORELIST> or -c <COREMASK> parameter.
Users shall see the following log if running successfully:
......< only parts of the messages are shown >.....
Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=2... Address:C4:00:AD:A1:11:9C,
Destination:02:00:00:00:00:00,
......< only parts of the messages are shown >.....
Initializing port 1 ... Creating queues: nb_rxq=1 nb_txq=2... Address:C4:00:AD:A1:11:9D,
Destination:02:00:00:00:00:01, txq=2,0,0 txq=3,1,0
......< only parts of the messages are shown >.....
Checking link status.............................done
Port0 Link Up. Speed 1000 Mbps -full-duplex
Port1 Link Up. Speed 1000 Mbps -full-duplex
L3FWD: entering main loop on lcore 3
L3FWD: -- lcoreid=3 portid=1 rxqueueid=0
L3FWD: entering main loop on lcore 2
L3FWD: -- lcoreid=2 portid=0 rxqueueid=0
Step 12: Go back to Pktgen CLI window and configure below settings which already
described in previous section.
Pktgen > set 0 src mac <Port0 Destination>
Pktgen > set 0 dst mac <Port0 Address>
Copyright 2017. All rights reserved. Advantech Co. Ltd.
Queue
0
0
Page 53
lcore
2
3

Advertisement

Table of Contents
loading

Table of Contents