Commit Graph

7 Commits (82aa761e878b48eec8061a0900533304cfa5019c)

Author SHA1 Message Date
logwang 213fa7b358 Support RX/TX offload according to HW's capability
RX: VLAN strip, CRC strip, IP/TCP/UDP checksum.
TX: IP/TCP/UDP checksum, TSO.

Note that TSO has a problem: when enable TSO,
F-Stack is much slower(Temporarily not resolved).
So TSO is disabled by default.
Edit config.ini to enable it.
2017-05-06 21:52:25 +08:00
logwang c590631e7e Merge branch 'master' of https://github.com/F-Stack/f-stack 2017-05-02 18:27:43 +08:00
logwang f47e38d9dd Fix kni bug.
BUG:
When set config.ini:
[kni]
enable=1
method=reject
tcp_port=80

Packets that not belond to tcp port 80 will not be transmitted to kernel.
2017-05-02 18:05:26 +08:00
logwang 627097dc92 Support VLAN Strip.
In some cases such as AWS EC2, we must strip vlan tag.
Edit the config.ini, set port.vlanstrip = 1.
2017-05-02 18:03:38 +08:00
logwang 5f3825effd Disable DEBUG mode by default 2017-05-02 17:45:25 +08:00
root 1ab1bbefe2 update README.md and file to Execution 2017-04-24 04:12:53 +00:00
logwang a9643ea85c init 2017-04-21 18:43:26 +08:00