Dpdk; Lscpu; Figure 25: The 'Lseth' Command; Figure 26: The 'Lseth' Command Usage - Advantech FWA-T011 Getting Started Manual

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

Advertisement

Dump the 'lseth' command usage:
#lseth -h
[2018.07.16 09:16:05] [INFO] lseth g4 (2015-11-18 14:12:08)
lseth g4 (2015-11-18 14:12:08)
Show System Networking Information
Usage: lseth [-sw] [-hw] [Detail]
Options:
-sw
show System information ( Software )
-hw
show System information ( Hardware )
Detail
show System information ( Detail )
Example:
lseth -sw
lseth -hw
lseth Detail

3.9 DPDK

DPDK is a set of data plan libraries and optimized network interface drivers for fast packet
processing. It provides a programming framework for Intel x86 processors and enables faster
development of high speed data packet networking applications. The DPDK framework
creates a set of libraries for specific hardware/software environments through the creation
of an Environment Abstraction Layer (EAL). The EAL hides the environment specific and
provides a standard interface to libraries, available hardware accelerators and other
hardware and operating system elements. On top of ELA, developers link to the library to
create their applications.
We will not explain too much DPDK technical details here. For more introductions and DPDK
documentation, please visit the following websites:
http://dpdk.org/
http://dpdk.readthedocs.io/

3.9.1 lscpu

Before using DPDK, we need to know platform CPU architecture first. The command 'lscpu'
gathers CPU info such as number of CPUs, threads, cores, sockets, NUMA nodes, CPU caches,
CPU family, model, byte order and stepping from sysfs and /proc/cpuinfo, and then prints
out in a human-readable format.
Here we use an example to analysis the platform CPU architecture.
Use the 'lscpu' command to dump CPU info:
# lscpu
Architecture:
x86_64
CPU op-mode(s):
32-bit, 64-bit
Copyright 2017. All rights reserved. Advantech Co. Ltd.

Figure 25: The 'lseth' Command

Figure 26: The 'lseth' Command Usage

Page 38

Advertisement

Table of Contents
loading

Table of Contents