README revision aa97dd1c
11. OVERVIEW
2
3   TLDK project scope is as follows:
4
5   1) To implement a set of libraries for L4 protocol processing (UDP, TCP etc.)
6   for both IPv4 and IPv6.
7
8   The goal is to provide lightweight, high performance and highly adaptable
9   implementation for L4(UDP, TCP etc.) protocol processing. The provided API
10   are not planned to be compatible with BSD socket API. These libraries are
11   supposed to be built on top of DPDK.
12
13   Note: these libraries are not supposed to be a 'complete' network stack.
14
15   Implementation of ARP, IP, ETHER, etc. layers and related routing tables,
16   code for setup, manage and perform actual IO over underlying devices are
17   all out of scope of these libraries.
18
19   The only information these libraries need to know about the 
20   underlying devices:
21   - supported HW offloads
22   - MTU and L3/L2 addresses
23   That allows the libraries to fill L2/L3 headers and mbuf metadata
24   for the outgoing packets.
25
26   These libraries should be developed in such manner, that they could be used
27   independently from implementations of 2) and 3).
28
29   2) To create VPP graph nodes, plugins etc using those libraries to implement
30   a host stack.
31
32   3) To create such mechanisms (netlink agents, packaging, etc) necessary
33   to make the resulting host stack easily usable by existing non-vpp aware
34   software.
35
362. INSTALLATION GUIDE
37
38   1) Obtain latest DPDK and build it.
39   (refer to http://dpdk.org for information how to download and build it).
40   2) Make sure that RTE_SDK and RTE_TARGET DPDK related environment variables
41   are setup correctly.
42   3) Go to the TLDK root directory and type: 'make all'.
43   4) Run sample applications.
44
45   For enabling unit tests application using GoogleTest please see:
46   ./test/gtest/README
47
48   As an example:
49   export RTE_SDK=/opt/DPDK
50   export RTE_TARGET=x86_64-native-linuxapp-gcc
51
52   cd tldk
53   make all
54   ./x86_64-native-linuxapp-gcc/app/l4fwd ...
55
563. CONTENTS
57
58   $(TLDK_ROOT)
59   |
60   +----lib
61   |      |
62   |      +--libtle_dring - dring library
63   |      |
64   |      +--libtle_l4p - implementation of the TCP/UDP packet processing
65   |      |
66   |      +--libtle_timer - implementation of the timer library
67   |
68   +----examples
69   |      |
70   |      +--l4fwd - sample app to demonstrate and test libtle_l4p TCP/UDP
71   |            usage (refer to examples/l4fwd/README for more information)
72   |
73   +----test - unit-tests
74   |      |
75   |      +--dring - UT for libtle_dring (standalone app)
76   |      |
77   |      +--gtest - UT for libtle_dring, libtle_l4p and libtle_timer
78   |      |     (googletest)
79   |      |
80   |      +--timer - UT for libtle_timer (standalone app)
81