Commit Graph

310 Commits (afda379ba2a8afa29784907a2b09ed969c1ee95e)

Author SHA1 Message Date
johnjiang afda379ba2
Update config.ini
Modify "idle_sleep" default value to 0.
2018-11-20 16:24:16 +08:00
johnjiang f1af78b0a8
Update Launch_F-Stack_on_AWS_EC2_in_one_minute.md
Add depends to yum install.
2018-11-20 14:01:41 +08:00
fengbojiang 08ff03ff42 Modify config.ini 2018-11-13 22:11:05 +08:00
fengbojiang 4d6c56c565 Merge branch 'master' of https://github.com/F-Stack/f-stack 2018-11-13 22:04:23 +08:00
fengbojiang 1d23c90b23 Sync to github 2018-11-13 21:54:13 +08:00
logwang 387425b16d
Merge pull request #304 from DonBearH/f_stack_aarch64
Support aarch64
2018-11-08 16:36:48 +08:00
DonBearH 31b03876fc
Setting FF_DPDK with MACHINE_CPUARCH 2018-11-08 14:57:44 +08:00
DonBearH e404bd1de6
Update Makefile for reserving FF_DPDK for x86
The former patch, which add compiler option for arm64, removes the FF_DPDK for x86.
That's a mistake.
2018-11-08 10:03:22 +08:00
dongbo4 02744692ce Fix nginx_with_fstack setting up segment faults on arm64 platform 2018-11-07 08:59:23 +00:00
dongbo4 e3636d6024 Fix f_stack -Werror=unused-but-set-variable errors with gcc compilers 2018-11-07 08:56:50 +00:00
dongbo4 c74bbd605e Add arch arm64 compiler options 2018-11-07 08:55:09 +00:00
logwang e427a0977f
Merge pull request #302 from chadwill/master
Nginx: fixbug, stack-buffer-overflow, refer to #286; support "master_process off".
2018-11-06 14:28:38 +08:00
chenwei 014d698cfe Nginx: fixbug, support "master_process off". 2018-11-06 12:51:46 +08:00
chenwei 4c372811c6 Nginx: fixbug, stack-buffer-overflow, refer to #286. 2018-11-06 12:06:29 +08:00
logwang 483c5cf9d1
Merge pull request #294 from luomai/patch-1
Fix typos in API reference.
2018-11-01 15:33:09 +08:00
Luo Mai 15eec4e883
Fix typos and grammars in API reference. 2018-10-25 16:03:45 +01:00
logwang 7533304f48
Merge pull request #292 from jinhao2/master
fstack only support IP_BINDANY,  not support IP_TRANSPARENT.
2018-10-23 16:49:19 +08:00
10077240 98d67ca940 FreeBSD define IP_BINDANY in freebsd/netinet/in.h
Fstack should only support IP_BINDANY.
2018-10-23 15:18:03 +08:00
logwang 5f03949080
Merge pull request #287 from jinhao2/master
Update freebsd/netinet/in_pcb.c
2018-10-23 14:25:29 +08:00
10077240 7836a3b46b Merge branch 'master' of https://github.com/jinhao2/f-stack 2018-10-20 11:01:48 +08:00
10077240 7eeb1e1c00 Update freebsd/netinet/in_pcb.c
BSD's socket can bind the address not belong to local ports, this works well when using as transparent proxy. If fstack check the ip and port whenever new connect, tranparent proxy is not supported.
When using specified local port, it is app's responsibility to make 5-tuple rss hash good.
2018-10-10 07:48:32 +08:00
logwang 4d795407f9
Merge pull request #271 from morishima311/develop
Fix static building path of FF_DPDK
2018-08-24 15:27:49 +08:00
morishima311 aa11ba231f fix static building path of FF_DPDK 2018-08-24 16:03:23 +09:00
root fbd3923c71 Merge branch 'master' of https://github.com/F-Stack/f-stack 2018-08-20 16:46:28 +08:00
root 6d20afb22d add `base_virtaddr` config. 2018-08-20 16:44:33 +08:00
johnjiang e1ac2bde78
Merge pull request #267 from zhanghaisen/issue261
fix for issue 261
2018-08-20 16:35:53 +08:00
zhanghaisen 4e92d9b39f fix for issue 261 2018-08-20 14:54:18 +08:00
fengbojiang c605f59579 add "idle_sleep" to reduce CPU usage when no pkts incomming. 2018-08-18 01:45:11 +08:00
fengbojiang e4983a3d6a Arrange tool directory 2018-08-17 21:16:23 +08:00
fengbojiang 6a4ba90927 fix a traffic bug 2018-08-17 17:42:21 +08:00
fengbojiang 26b8f02738 add traffic tool. 2018-08-16 20:29:12 +08:00
fengbojiang eed3be39c1 fix a typo 2018-08-16 16:25:57 +08:00
johnjiang 1911eac7db
Merge pull request #259 from jinhao2/master
reset cpu affinity when new process forked.
2018-08-15 17:00:49 +08:00
10077240 da6f05a68c replace __linux__ with HAVE_FF_KQUEUE
Only f-stack redis server need bind cpu,  and forked process will inherit it.
2018-08-09 07:16:44 +08:00
10077240 1404f8b66c reset cpu affinity when new process forked.
New forked process should not compete same core with redis server.
2018-08-08 07:40:39 +08:00
fengbojiang 8f525b0ba2 Add the result of reuseport test case. 2018-08-03 18:16:06 +08:00
johnjiang 2ab0068608
Update F-Stack_Binary_Release_Quick_Start.md
Add download f-stack-binary-release.tar.gz
2018-08-03 17:45:03 +08:00
johnjiang 85af57505d
Merge pull request #258 from xklllll/master
add binary release doc
2018-08-03 17:39:39 +08:00
xklllll 5e6936a325
Add a doc link 2018-08-03 16:25:35 +08:00
xklllll 65887fbf9e
add binary-release doc 2018-08-03 16:11:22 +08:00
xklllll b313c47c87
Add Binary Release info to README.md 2018-08-03 16:06:30 +08:00
fengbojiang 63d2acf1c7 Fix #251:Compiling errors on Ubuntu.
On Ubuntu 16.04/18.04, fixed compile error with -Wunused-result
and -Wimplicit-fallthrough.
2018-07-23 18:22:09 +08:00
fengbojiang 141f33b513 fix crash bug of DPDK's driver when working on multi_process with AWS
ena NIC.
2018-07-23 16:39:02 +08:00
fengbojiang(姜凤波) c4219e9b85 Fixed redis' compile error of 'struct timespec' when use gcc7.3.0 on ubuntu 18.04. 2018-07-10 16:08:05 +08:00
whl739 c56c2d6cf3 F-Stack: disable kni module by default.
Some omissions.
2018-06-21 17:51:57 +08:00
whl739 81721b68ac F-Stack: disable kni module by default.
This commit adds a macro `FF_KNI` to determine whether to enable kni.
In Makefile, uncomment the `FF_KNI=1`, kni will be compiled into f-stack.
2018-06-21 17:39:17 +08:00
whl739 3f59e4d37d Nginx: hijack `shutdown`.
Fix typo in previous commit.
2018-06-21 17:25:56 +08:00
whl739 e036d21d68 Nginx: hijack `shutdown`.
In some cases, nginx will call `ngx_shutdown_socket`, so we need to hijack `shutdown`.
2018-06-21 17:22:59 +08:00
whl739 0ed3d39215 Config: if proc-id is not configured, use 0. 2018-06-14 22:50:11 +08:00
logwang 26e7dd84d2
Merge pull request #230 from mscbg/master
F-stack:fix bug, if ff_veth_softc malloc faild, memory should not be read
2018-06-11 11:10:16 +08:00