Skip to content

Commit 763f946

Browse files
committed
Added README
Signed-off-by: Ondřej Hlavatý <[email protected]>
1 parent 3ae6bf4 commit 763f946

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Match-Action Tables
2+
3+
This is a demonstration implementation of the subsystem proposed in my Master
4+
thesis, under working title Match-Action Tables, MAT for short.
5+
6+
The code is written in a kernel-like way, in an environment that simulates the
7+
Linux kernel. The subsystem code is therefore similar to what it would look
8+
like if implemented as a module, but can be run and tested in userspace.
9+
10+
### Usage
11+
12+
First, you have to compile the sources. On Linux, it should be fairly easy:
13+
14+
```bash
15+
$ make
16+
````
17+
18+
Then, several testcases are created under the `tests/` directory. To run them
19+
all and check whether everything is OK:
20+
21+
```bash
22+
$ ./test.sh
23+
```
24+
25+
The source code of the tests should be the starting point of your journey
26+
through the implementation. They are written as scenarios, showing the expected
27+
usage of the subsystem.

0 commit comments

Comments
 (0)