Advantech FWA-T011 Getting Started Manual page 47

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

Advertisement

#lseth
[2018.07.17 07:32:25] [INFO] lseth g4 (2015-11-18 14:12:08)
OS:Linux 4.15.0-23-generic x86_64
Detect System Ethernet Device Number :6
eth0_1 0000:01:00.0 c4:00:ad:a1:11:9a
eth0_2 0000:02:00.0 c4:00:ad:a1:11:9b
eth0_3 0000:03:00.0 c4:00:ad:a1:11:9c
eth0_4 0000:04:00.0 c4:00:ad:a1:11:9d
......< only parts of the messages are shown >.....
Step 7: Configure the NIC ports which will be managed by DPDK
# ip link set <PORT 1> down
# ip link set <PORT 2>down
# ip link set <PORT 3> down
# ip link set <PORT 4> down
# dpdk-devbind-atom-latest.py -b igb_uio < PORT 1 PFA >
# dpdk-devbind-atom-latest.py -b igb_uio < PORT 2 PFA >
# dpdk-devbind-atom-latest.py -b igb_uio < PORT 3 PFA >
# dpdk-devbind-atom-latest.py -b igb_uio < PORT 4 PFA >
Step 8: Make a soft link to current folder as running binary 'pktgen-dpdk-wr-atom-latest'
requires this link
# ln -sf /root/bin/Pktgen-atom-latest.lua `pwd`/Pktgen.lua
Step 9: Start Pktgen program
# pktgen-dpdk-wr-atom-latest --master-lcore <ID> -c < COREMASK > -n <CHANNELS > -w <
PORT 1 PFA > -w < PORT 2 PFA > --socket-mem=<MEM SIZE> --file-prefix=dpdk_pktgen -- -P -
T -m <MATRIX >
If the program runs successfully, users shall end up with Pktgen CLI (c.f. Figure 2934: Pktgen
CLI)
Step 10: Open another SSH connection
Step 11: start l2fwd program
# l2fwd-atom-latest --master-lcore <ID> -c < COREMASK > -n <CHANNELS > -w < PORT 3
PFA > -w < PORT 4 PFA > --socket-mem=<MEM SIZE> --file-prefix=l2fwd -- -p <PORTMASK>
Considering the command above is relatively complicate we use a dual Cpu sockets platform
as an example,
# l2fwd-atom-latest --master-lcore 2 -c 0000000c -n 3 -w 03:00.0 -w 04:00.0 --socket-
mem=512 --file-prefix=l2fwd -- -p 0x3
Parameters setting:
th
--master-lcore 2:The 3
running l2fwd master process. Please note that the selected master core
Copyright 2017. All rights reserved. Advantech Co. Ltd.
2018-07-17 07:32:25
xx.xx.xx.xx
xx.xx.xx.xx
xx.xx.xx.xx
xx.xx.xx.xx
logical CPU core (CPU ID 2) in NUMA node 0 is selected for
Page 47
1000Mb/s
1000Mb/s
1000Mb/s
1000Mb/s

Advertisement

Table of Contents
loading

Table of Contents