Commit Graph

1200 Commits

Author SHA1 Message Date
fengbojiang 865ab0ed63 Add adapter for LD_PRELOAD, TBC. 2023-04-06 15:02:39 +08:00
fengbojiang c0cab32e5f remove some wrong characters. 2023-03-31 10:23:48 +08:00
fengbojiang efd35b83ad Output a extra line. 2023-03-31 10:22:19 +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
johnjiang 7201280ad1
Merge pull request #746 from uvletter/fix_vtoslab
Fix vtoslab doesn't return the correct slab
2023-03-13 12:15:26 +08:00
zhutian 5ed6baeedb fix that vtoslab doesn't return the correct slab 2023-03-03 21:01:53 +08:00
fengbojiang e63c364c3c Modify `pci_whitelist` to `allow` that from DPDK 20.11. Close #745. 2023-03-02 11:03:25 +08:00
fengbojiang 8020e2669c Modify `pci_whitelist` to `allow` that from DPDK 20.11. Close #745. 2023-03-02 10:59:55 +08:00
fengbojiang 9e149018e3 Add header file `#include <sys/ioctl.h>` in `example/mai.c`. 2023-02-17 19:13:42 +08:00
fengbojiang 7b98ccb479 1. Set non blocking in `example/main.c`.
2. Add some description of `ff_socket()` and `ff_write()`.
3. Ref #709.
2023-02-17 19:10:41 +08:00
fengbojiang 06553fe07a Code formatting fine-tuning for `example/main_zc`. 2023-02-17 19:09:53 +08:00
fengbojiang c0a9f536ca Fixed #705. While Adding -DNDEBUG flag will cause the helloworld example
to crash. Because `assert((kq = ff_kqueue()) > 0);` was be ignored and
nevents used usigned type.
2023-02-16 17:17:10 +08: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
fengbojiang 761dee801d Add VERSION file in root dir directory and upgrade version to 1.23. 2023-02-15 19:21:58 +08:00
fengbojiang e14457fdc5 Redis can listen IPv6 address. 2023-02-15 18:18:09 +08:00
fengbojiang a47b734625 Fix the issue that setting `net.inet6.ip6.forwarding=1` does not take effect. 2023-02-14 17:09:00 +08:00
fengbojiang e592cbbfec While use bbr, the `hz` should be set to 1000000, match the bintime and timer of F-Stack. Ref #701 #702. 2023-02-14 17:03:20 +08:00
fengbojiang 5f7fc57d11 While use bbr, the `hz` should be set to 1000000, match the bintime and timer of F-Stack. Ref #701 #702. 2023-02-14 17:01:34 +08:00
johnjiang 74c19adff2
Merge pull request #728 from wenchengji159357/dev
Dev
2023-01-12 11:08:48 +08:00
wenchengji 0f015b3f5d when nginx use setsockopt ON_LINGER, the seq number of the RST packet is error.
Use tcpdump to capture packets and you will find the problem.
See:https://reviews.freebsd.org/D30036.
2023-01-09 06:51:16 +00:00
fengbojiang 3c7b637d18 tcp: Missing mfree in rack and bbr.
See:https://reviews.freebsd.org/D30727.
2023-01-06 10:35:50 +08:00
fengbojiang a816e89636 Fix #702 F-stack rack and BBR both causes PCB memory leak.
Because `net.inet.tcp.hpts.skip_swi=1` takes effect after
`mi_startup()` in `ff_freebsd_init()`.
2023-01-06 04:10:02 +08:00
fengbojiang b7838256ed Fix #702 F-stack rack and BBR both causes PCB memory leak.
Because `net.inet.tcp.hpts.skip_swi=1` takes effect after
`mi_startup()` in `ff_freebsd_init()`.
2023-01-06 03:38:25 +08:00
fengbojiang 0763cdeb7f enable -O2 by default. Ref #711 #721. 2022-12-30 19:59:23 +08:00
johnjiang 131f3b81b7
Merge pull request #721 from renzibei/dev
make it compilable under O2 optimization, pass gcc check
2022-12-21 23:56:46 +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
johnjiang ee9f90daf7
Merge pull request #714 from d06alexandrov/fix_makefile_ipsec
Removed deleted sources from Makefile
2022-11-29 18:52:43 +08:00
Dmitriy Alexandrov 179cc5ed39 Removed deleted sources from Makefile 2022-11-14 17:44:12 +04:00
fengbojiang 5423ff871b Fix DEPRECATED. 2022-11-12 23:51:36 +08:00
fengbojiang a329eaf2c0 vlan_strip support kni. 2022-11-12 23:35:29 +08:00
johnjiang 5857f99fe9
Merge pull request #710 from d06alexandrov/ini_parse_fail_msg
Added more clear error message in case of failed config read.
2022-11-04 12:02:41 +08:00
Dmitriy Alexandrov 4248f58f32 Added more clear error message in case of failed config read. 2022-10-27 12:42:25 +04:00
johnjiang d21361a883
Merge pull request #698 from guhaoyu2005/dev
Added FDIR using general flow rules.
2022-09-21 16:18:12 +08:00
hao 4854315d0d Added FDIR using general flow rules.
Added FDIR functionality that does not use flow in isolation mode. This is a part of the research work at RCSLab, University of Waterloo
2022-09-15 20:56:47 -04:00
fengbojiang 0e1e4adea1 Update Roadmap. 2022-09-07 14:58:58 +08:00
用jfb8856606 4928c630a1 Fix compile error of igb_uio. 2022-09-06 05:04:33 +00:00
用jfb8856606 de0896f670 Add some igrone files of DPDK. 2022-09-06 04:47:39 +00:00
用jfb8856606 1c59c67009 Update igb_uio. 2022-09-06 04:45:51 +00:00
fengbojiang 13c736b9d7 Fix I40E_DEV_ID_10G_BASE_T_X722 issue. 2022-09-06 12:19:40 +08:00
用jfb8856606 ba143ce866 Sync DPDK's modifies. 2022-09-06 12:14:00 +08:00
fengbojiang 0b9105dad3 F-Stack lib and docs support DPDK-21.11. 2022-09-06 12:11:17 +08:00
用jfb8856606 4d39bb9283 DPDK: Upgrade to 21.11.2. 2022-09-06 04:00:10 +00:00
johnjiang a70f11f562
Update F-Stack_Release_Note.md 2022-09-02 20:48:08 +08:00
fengbojiang f596335ec5 Update Release Note of 1.22. 2022-09-02 20:41:51 +08:00
fengbojiang 52292ce2b0 Update LICENSE. 2022-09-02 20:41:20 +08:00
fengbojiang eab31a56da Update LICENSE. 2022-09-02 20:40:27 +08:00
fengbojiang 69c1032524 Fix a typo. `ifc_name` modify to `if_name`. 2022-09-02 20:21:32 +08:00
fengbojiang 51c91ab0ad Enable INET6 by default in helloworld. 2022-09-02 20:20:05 +08:00