Commit Graph

111 Commits (eec9e77f67db5e8d9075f29b3413e65d713d5b2e)

Author SHA1 Message Date
logwang 61a488cc9b Merge pull request #35 from uvuv/fstack-master
Fix: redis build failed because some files ignored by jemalloc/.gitignore.
2017-06-13 10:52:11 +08:00
Ron 12e31dcff6 Fix: redis build failed 2017-06-13 09:51:19 +08:00
root bed8feab33 fix KNI: Out of memory 2017-06-12 16:12:22 +08:00
logwang 488adaba23 Fix #28: opt_vlan.h is omitted by the previous commit. 2017-06-07 15:39:13 +08:00
derness c9f0232b74 fix memory leak issue. 2017-06-07 13:18:11 +08:00
logwang df6ad73146 Add tool: ifconfig.
Changes:
    Remove directory `ipc`, and add a new directory `compat`.
    Directory `compat` includes some FreeBSD source files to be compatible
        with Linux.
    Port FreeBSD ifconfig to F-Stack.
2017-06-06 16:52:52 +08:00
logwang b40d69985a Merge pull request #23 from travislee8964/master
fix NGX_EXCLUSIVE_EVENT compile error on linux 4.5+ and glibc 2.24+
2017-06-01 13:00:12 +08:00
Travis Lee 0f704af614 fix NGX_EXCLUSIVE_EVENT compile error on linux 4.5+ and glibc 2.24+
if Linux >= 4.5 and glibc >= 2.24, will compile with EPOLLEXCLUSIVE, but FreeBSD does not supported EPOLLEXCLUSIVE.
2017-06-01 12:15:11 +08:00
logwang 34a144bd04 Tools/sysctl: some changes were omitted from the last commit. 2017-05-27 03:44:01 +08:00
logwang 2d99e60c29 Tools/sysctl: make porting more general.
When porting tools, We should change the original codes as few as
possible.
2017-05-27 03:29:29 +08:00
logwang 6e6fd87cff Merge pull request #18 from liwei/master
Fix #17: FreeBSD typo
2017-05-25 20:06:14 +08:00
Li Wei 839295c867 freebsd: fix compiling error with gcc 6.3.1
Fix this misleading indentation according to the upstream of freebsd.

Signed-off-by: Li Wei <liwei@anbutu.com>
2017-05-25 18:57:02 +08:00
logwang 3377ed76b3 Update docs 2017-05-24 15:32:15 +08:00
logwang 91a931fad7 Tools: update README 2017-05-23 23:35:39 +08:00
logwang e4ae9a659b Merge branch 'master' of https://github.com/F-Stack/f-stack 2017-05-23 23:19:31 +08:00
logwang 7abd0fb2a9 Add tool: sysctl.
This commit contains an ipc library implemented by dpdk rte_ring and
sysctl tool ported from FreeBSD.

With this commit we can get and set FreeBSD kernel state in runtime.
2017-05-23 23:13:49 +08:00
johnjiang 87255e88bc Update README.md 2017-05-23 16:05:59 +08:00
johnjiang 8e26089a10 add kni virtural nic config 2017-05-23 16:01:51 +08:00
logwang a6a17f2a57 Merge pull request #11 from Lihuanghe/master
document mistake:  File:Launch F-Stack on AWS EC2 in one minute ,Section: Compile Nginx
2017-05-22 16:55:57 +08:00
Lihuanghe 5c7fa5d0df document mistake 2017-05-22 09:38:39 +08:00
logwang 7d25ffc210 Merge pull request #10 from byronhe/patch-1
fix compile error
2017-05-18 10:52:30 +08:00
byronhe 7991c74543 fix compile error 2017-05-18 00:28:38 +08:00
logwang 9efa5f0af7 Fix typo. 2017-05-17 15:59:07 +08:00
whl739 cd915f5022 Merge branch 'master' of https://github.com/F-Stack/f-stack 2017-05-17 15:18:42 +08:00
whl739 c15aae717a Fix #9: error variable i in loop. 2017-05-17 14:35:52 +08:00
logwang 97d5989cd7 Merge branch 'master' of https://github.com/F-Stack/f-stack 2017-05-16 16:17:01 +08:00
logwang 1fdd2a6e8b Fix typo. 2017-05-16 16:16:10 +08:00
limzhang(张力) 8a0cdb99c3 example:remove printf 2017-05-15 17:55:26 +08:00
limzhang(张力) fd436ff2d2 add example code which use epoll API. 2017-05-15 17:49:25 +08:00
logwang 4d8e77d712 Merge branch 'master' of https://github.com/F-Stack/f-stack 2017-05-15 13:20:12 +08:00
logwang 5e3a4c7748 Fix #7:arp ring lookup called after create. 2017-05-15 13:16:52 +08:00
whl739 50adc53472 Redis: bind to 0.0.0.0 by default. 2017-05-15 11:59:47 +08:00
whl739 bf96e9ee00 Fix #6: Redis compile error.
The previous codes of redis is pushed on Windows, and lost the permission to execute.
2017-05-15 11:44:23 +08:00
logwang 8f57dbbcb5 Fix #4: nb_procs < 0 =====> proc_id < 0 2017-05-15 11:27:44 +08:00
logwang 8745404160 example: remove pkg-config in Makefile.
Because pkg-config(version before 0.28) reordered -Wl,--whole-archive -Wl,--no-whole-archive not to surround the dpdk libraries, so we remove pkg-config and do it ourselves.
2017-05-12 11:06:04 +08:00
whl739 afba4e3b40 Merge branch 'master' of https://github.com/F-Stack/f-stack 2017-05-10 17:21:14 +08:00
whl739 2dfcd880c7 example: remove printf. 2017-05-10 17:20:41 +08:00
logwang 22b81ce8c8 Update .gitignore 2017-05-10 17:01:37 +08:00
logwang fcfbcbe549 Update LICENSE 2017-05-10 17:01:12 +08:00
logwang 47de44efe7 Update README.md 2017-05-09 14:45:03 +08:00
johnjiang 9ca0c07064 Update F-Stack_API_Reference.md 2017-05-09 14:30:26 +08:00
johnjiang da4f19c1df Update F-Stack_API_Reference.md 2017-05-09 14:29:51 +08:00
whl739 82aa761e87 Fix #3: Compiling errors on Ubuntu.
On Ubuntu, you should use gawk instead of the default mawk.And use bash to excute `./configure --prefix=/usr/local/nginx_fstack --with-ff_module`.
2017-05-08 18:15:46 +08:00
johnjiang 8c0855abf9 Update README.md 2017-05-07 17:23:30 +08:00
fengbojiang(姜凤波) a264c356a4 add F-Stack Roadmap 2017-05-07 17:04:30 +08:00
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 3fc788461b Add doc: Launch F-Stack on AWS EC2. 2017-05-02 18:04: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