jin.hao1
a81a8ea13d
Merge pull request #1 from F-Stack/master
...
update from fstack branch
2018-10-24 12:53:30 +08:00
logwang
9899541599
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
37324d912f
FreeBSD define IP_BINDANY in freebsd/netinet/in.h
...
Fstack should only support IP_BINDANY.
2018-10-23 15:18:03 +08:00
logwang
7bc656d149
Merge pull request #287 from jinhao2/master
...
Update freebsd/netinet/in_pcb.c
2018-10-23 14:25:29 +08:00
10077240
85d1417658
Merge branch 'master' of https://github.com/jinhao2/f-stack
2018-10-20 11:01:48 +08:00
10077240
61467f3e8d
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
e4c4feb9aa
Merge pull request #271 from morishima311/develop
...
Fix static building path of FF_DPDK
2018-08-24 15:27:49 +08:00
morishima311
7230b27cf0
fix static building path of FF_DPDK
2018-08-24 16:03:23 +09:00
root
dfbc4ac350
Merge branch 'master' of https://github.com/F-Stack/f-stack
2018-08-20 16:46:28 +08:00
root
5523938c5b
add `base_virtaddr` config.
2018-08-20 16:44:33 +08:00
johnjiang
2891b80e1a
Merge pull request #267 from zhanghaisen/issue261
...
fix for issue 261
2018-08-20 16:35:53 +08:00
zhanghaisen
a8636dd5c0
fix for issue 261
2018-08-20 14:54:18 +08:00
fengbojiang
c506e4369e
add "idle_sleep" to reduce CPU usage when no pkts incomming.
2018-08-18 01:45:11 +08:00
fengbojiang
65a9b49842
Arrange tool directory
2018-08-17 21:16:23 +08:00
fengbojiang
5a73eef15f
fix a traffic bug
2018-08-17 17:42:21 +08:00
fengbojiang
03df98dea2
add traffic tool.
2018-08-16 20:29:12 +08:00
fengbojiang
1c1eafbf32
fix a typo
2018-08-16 16:25:57 +08:00
johnjiang
f17946dce3
Merge pull request #259 from jinhao2/master
...
reset cpu affinity when new process forked.
2018-08-15 17:00:49 +08:00
10077240
b43e0dde49
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
9518765b1f
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
dc5b2a9e54
Add the result of reuseport test case.
2018-08-03 18:16:06 +08:00
johnjiang
c416c79feb
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
5077af62b8
Merge pull request #258 from xklllll/master
...
add binary release doc
2018-08-03 17:39:39 +08:00
xklllll
cd0419529d
Add a doc link
2018-08-03 16:25:35 +08:00
xklllll
ba50df9649
add binary-release doc
2018-08-03 16:11:22 +08:00
xklllll
ae4ba62299
Add Binary Release info to README.md
2018-08-03 16:06:30 +08:00
fengbojiang
efb6796dac
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
74860237dd
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(姜凤波)
5c6bf25f18
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
7b9d3e8700
F-Stack: disable kni module by default.
...
Some omissions.
2018-06-21 17:51:57 +08:00
whl739
dc42d452ae
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
524e801cfb
Nginx: hijack `shutdown`.
...
Fix typo in previous commit.
2018-06-21 17:25:56 +08:00
whl739
a29bb116db
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
86036c745d
Config: if proc-id is not configured, use 0.
2018-06-14 22:50:11 +08:00
logwang
5f219b2cad
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
yanya
b0c07b2440
F-stack:fix bug, if ff_veth_softc malloc faild, memory should no be read.
2018-06-11 10:53:38 +08:00
logwang
ee889fa71c
Merge pull request #228 from boat0/master
...
make use of numa when setting up rx/tx queues
2018-06-10 22:01:56 +08:00
Xiaozhou Liu
c2eceaad4c
make use of numa when setting up rx/tx queues
2018-06-10 20:48:48 +08:00
whl739
867abe45fa
Misc: some updates.
...
1.add interface `ff_dup` and `ff_dup2`.
2.add interface `ff_ioctl_freebsd`/`ff_getsockopt_freebsd`/`ff_setsockopt_freebsd` for tools.
3.initial parameter `proc-type` can be NULL, default "auto".
2018-06-10 20:41:48 +08:00
johnjiang
1fefb4f686
Release-1.12 tag.
2018-06-01 19:52:59 +08:00
logwang
5ad310a18e
Merge pull request #220 from chadwill/master
...
libfstack: fixbug, bad checksum would lead to memleak of dpdk mbuf
2018-05-30 10:48:02 +08:00
chenwei
968058581b
Fstack: fixbug, bad checksum would lead to memleak of dpdk mbuf
2018-05-30 10:36:16 +08:00
whl739
52f89a8872
Fix the permission of dpdk's shell files
2018-05-28 22:07:28 +08:00
whl739
4095213e96
Update .gitignore.
2018-05-28 21:46:53 +08:00
whl739
b3aff0ba02
Fix compling error in the newer version of gcc and openssl.
...
`RAND_pseudo_bytes` is deprecated in the newer version of openssl.
Use `RAND_bytes` instead.
2018-05-28 21:05:36 +08:00
unknown
2abe29f7f6
Update redis document.
2018-05-28 17:11:06 +08:00
logwang
1cb22d0a41
Merge pull request #214 from chadwill/master
...
Nginx: fixbug, hijack `getpeername` and `getsockname`.
2018-05-28 12:03:07 +08:00
chenwei
4e4a28b584
Nginx: fixbug, hijack `getpeername` and `getsockname`.
2018-05-27 12:29:26 +08:00
logwang
deed089a75
travis-ci:fix the permission of dpdk's shell files.
2018-05-15 20:43:22 +08:00
logwang
5150e168ac
travis-ci: update the dependences and clean cache.
2018-05-15 20:17:42 +08:00