Advanced LAN Bypass User Manual
18
Advantech provides a static Linux library (liblbpcu.a) and corresponding header file
(liblbpcu.h) so you can integrate Advanced LAN Bypass control into your applica-
tions.
3.1
Supported Distributions
Liblbpcu is a generic Linux user space library and thus should work with most Linux
distributions.
Advantech uses up-to-date CentOS distributions to perform SW quality assurance
and release testing. For more details, please refer to the release notes delivered as
part of LBPCU.
3.2
The lbpcu.cfg File
Per library instance, one configuration file (default name: lbpcu.cfg) is used to define
the bypass segment(s) and related resources to be controlled by this specific
instance.
Basically, the configuration file consists of one or multiple segment definitions.
Using different configuration files for different segments allows for the use of parallel
library instances (e.g., individual applications or application instances controlling indi-
vidual network segments).
The configuration file is a plain text file and consists of one or multiple blocks that
start with the keyword "SEGMENT" followed by a segment number. This number is
user-defined and can be anything in the range of 0~255, as long as each number is
unique to each configuration file.
While the numbering scheme is local to each liblbpcu instance, in practical use, seg-
ment numbers typically follow the physical ports definition on a platform for ease of
use. Within the SEGMENT block, the physical access parameters for the specific
segment are defined. These are:
PCIe BUS:DEV:FUN in case of a PCIe device (NMC or PCIe NIC)
Please see Section 3.3 for further details on the exact assignment.
CHIP:SITE:SEG in case of FlowNIC
Summary of Contents for LAN Bypass
Page 1: ...User Manual Advantech Advanced LAN Bypass...
Page 4: ...Advanced LAN Bypass User Manual iv...
Page 10: ...Advanced LAN Bypass User Manual x...
Page 11: ...Chapter 1 1 ADVANCED LAN BYPASS...
Page 14: ...Advanced LAN Bypass User Manual 4...
Page 15: ...Chapter 2 2 OVERVIEW...
Page 26: ...Advanced LAN Bypass User Manual 16...
Page 27: ...Chapter 3 3 LIBLBPCU ADVANCED LAN BYPASS LIBRARY...
Page 51: ...Chapter 4 4 LBPCU...
Page 79: ...Appendix A A OS limitation...
Page 81: ...71 Advanced LAN Bypass User Manual Appendix A OS limitation...