wenchengji
306b685796
Update kern_event.c
...
modify gcc build error
2024-05-30 23:37:56 +08:00
wenchengji
89ec8d70e5
Merge branch 'F-Stack:dev' into dev
2024-05-28 22:54:01 +08:00
wenchengji
880fddc324
Update kern_event.c
...
Change the code style guide.
2024-05-23 23:03:49 +08:00
wenchengji
3a242c1379
For f-stack to support QAT accelerator cards.
2024-05-23 14:52:25 +00:00
fengbojiang
5de047f19a
Fiexd some build errors of freebsd with gcc-12.2.0.
2023-10-19 15:57:24 +08:00
fengbojiang
8e683b405b
Add atomic_fcmpset_int32 and some comments.
...
Because `atomic_fcmpset_int` maybe run not correctly sometimes, and then loop long time, But no reason found yet.
2023-09-15 15:19:08 +08:00
wenchengji
fd994c50c8
Merge branch 'F-Stack:dev' into dev
2023-03-24 18:19:20 +08:00
wenchengji
e12daec8ec
When entering the softclock function for the first time,ticks is 2147423648,cc_softticks is 0.
...
Approximately 30 seconds later, ticks and cc_softticks become equal, allowing the while loop to be exited.
2023-03-24 09:56:31 +00:00
fengbojiang
c35e5fda17
Fix Compile Error with gcc 11.3.0(in Ubuntu 22.04). Close #736 .
2023-02-16 15:14:27 +08:00
renzibei
fb832ef92f
delete useless comments in last commit
2022-12-01 22:12:33 +00:00
renzibei
7fe40f937e
make it compilable under O2 optimization, pass gcc check
2022-12-01 22:02:45 +00:00
fengbojiang
021aaded2c
Support zero copy while call `ff_write`, you can enable it by modify ‘FF_ZC_SEND=1' in `lib/Makefile`.
...
`FF_ZC_SEND` is same as `FF_USE_PAGE_ARRAY`, it will improve performance slightly in some scenarios, need to be tested in combination with real applications.
You can enable both compilation options at the same time or separately.
2022-05-07 12:02:49 +08:00
fengbojiang
e7b7fb6cc9
FreeBSD: Upgrade to FreeBSD-releng-13.0 compiled, to be tested.
2021-08-31 19:00:09 +08:00
fengbojiang(姜凤波)
d53a2d2032
FreeBSD: upgrad to FreeBSD-releng-11.0 for some bugs.
2019-11-20 20:41:29 +08:00
ouliuquan
744da4ea50
Update vnode_if.src
...
Missing end-of-line ; in " IN struct task *task; ".
2018-04-27 17:42:22 +08:00
chenwei
70bb2888cb
Nginx: support kernel network stack, so we can do what fstack can't do,
...
e.g. unix socket, ipc (with APP on kernel network stack), packet from kernel network stack.
1. Add a new directive kernel_network_stack :
Syntax: kernel_network_stack on | off;
Default: kernel_network_stack off;
Context: http, server
This directive is available only when NGX_HAVE_FF_STACK is defined.
Determines whether server should run on kernel network stack or fstack.
2. Use a simpler and more effective solution to discriminate fstack fd(file descriptor, only socket for now) from kernel fd.
2017-12-08 18:32:08 +08:00
logwang
0e1bd6da1b
Fix bug: dead loop when destroy a network interface.
2017-11-10 18:52:10 +08:00
logwang
406002113b
Support nginx reload.
...
close #12 .
For more details, see doc/F-Stack_Nginx_APP_Guide.md.
2017-08-23 16:54:32 +08:00
logwang
5825eee0c3
Optimize ngx_ff_module
2017-08-09 14:50:21 +08:00
logwang
615f2d3c02
Fix `ff_fdused_range` not work.
2017-08-08 23:47:38 +08:00
logwang
a02c88d651
Simplify startup arguments and add ff_fdisused.
...
Changes:
1.Simplify f-stack startup arguments:"--conf, --proc-type, --proc-id".
2.add a function `ff_fdisused` to check if fd is used in f-stack.
2017-08-08 22:36:49 +08:00
logwang
a9643ea85c
init
2017-04-21 18:43:26 +08:00