Commit Graph

546 Commits

Author SHA1 Message Date
Björn Svensson 24a9ac3341 Avoid leaks after errors in freebsd config handler
Freeing allocated memory in an error flow. Currently this would
most likely not occure but a safeguard for future changes.
2022-02-11 17:05:02 +01:00
Björn Svensson 2445361818 Renaming vip6_cfg_hander() to vip6_cfg_handler()
Corrected the output of an error log as well.
2022-02-11 17:04:41 +01:00
Björn Svensson 1df9798077 Correcting check of config value for vip_addr6
Updated for code consistency, but checking the IPv4 vip_addr
pointer might have given problems for IPv6 only configs.
2022-02-11 17:03:03 +01:00
johnjiang f684d891ac Merge pull request #634 from F-Stack/revert-630-fix_ff_kni_makefile
Revert "Fix 'FF_KNI' ifdef in Makefile"
2022-01-10 15:40:15 +08:00
johnjiang f35d059e51 Revert "Fix 'FF_KNI' ifdef in Makefile" 2022-01-10 15:39:36 +08:00
johnjiang 33339f3ebe Merge pull request #630 from thegreathir/fix_ff_kni_makefile
Fix 'FF_KNI' ifdef in Makefile
2022-01-04 17:03:13 +08:00
thegreathir dfe277f731 Fix 'FF_KNI' ifdef in Makefile 2021-12-28 13:57:06 +03:30
johnjiang 64b1b821f1 Merge pull request #622 from ibtisam-tariq/feature/set_ifc_name
Add support to set interface name of each port in `config.ini`.
2021-11-17 10:24:57 +08:00
Ibtisam Tariq f4871358c3 Add support to set interface name of each port in `config.ini`. 2021-11-04 09:58:24 +05:00
fengbojiang e091500c32 fix ‘__uintptr_t’ error. 2021-10-18 19:57:01 +08:00
fengbojiang 64c543441e fix kqueue can't add multi event onetime, modify struct event fromm freebsd11 to freebsd13. 2021-10-18 19:36:31 +08:00
fengbojiang f318b88d4e Modify net.inet.tcp.functions_default from bbr to freebsd, because extra
stacks(bbr and rack) can't work normaly now.
2021-10-15 12:52:22 +08:00
fengbojiang da4b496cab Netgraph and ipfw for FreeBSD 13.0. 2021-10-12 18:59:42 +08:00
fengbojiang fae6b93557 Update license of FreeBSD. 2021-09-30 20:09:34 +08:00
fengbojiang 3ae8012231 Merge branch 'dev' into freebsd13 2021-09-30 19:58:08 +08:00
fengbojiang 4067b6e905 ff tools upgrade to support FreeBSD 13.0. 2021-09-30 19:34:02 +08:00
fengbojiang 862303613a modify config.ini. 2021-09-23 15:28:08 +08:00
fengbojiang 21cfeb4372 Support extra tcp stacks, rack and bbr. 2021-09-23 15:16:09 +08:00
fengbojiang a08a136a15 modify licence. 2021-09-18 16:48:25 +08:00
fengbojiang 4093ffd426 Update LICENCE. 2021-09-18 16:05:45 +08:00
fengbojiang 9dcb6a7622 Add lib/ff_subr_epoch.c. 2021-09-18 15:10:42 +08:00
fengbojiang 8fe2bf87f3 FreeBSD13 can simply work. 2021-09-18 14:50:06 +08:00
fengbojiang 63f0426fdf fix some issues. 2021-09-16 15:30:22 +08:00
fengbojiang 81dd6c7a24 If process_dispatch_ring() has data packet to be processed and it is considered non-idle state. 2021-09-02 12:09:09 +08:00
fengbojiang 0508c8b8ec The CPU usage of packet_dispatcher() is modified to usr. 2021-09-02 12:04:32 +08:00
fengbojiang 0b4a084c8a fix a plurality of packets may not statistics in ff_traffic.rx_packets and ff_traffic.rx_bytes. 2021-09-02 11:47:13 +08:00
fengbojiang e7b7fb6cc9 FreeBSD: Upgrade to FreeBSD-releng-13.0 compiled, to be tested. 2021-08-31 19:00:09 +08:00
johnjiang 9d5012a907 Merge pull request #601 from czs108/path-fix
Docs: Fix the path of `igb_uio.c` and line number
2021-06-30 10:57:24 +08:00
Chenzs108 42f4b806a7 Docs: Fix the path of `igb_uio.c` and line number 2021-06-23 13:52:13 +01:00
fengbojiang 8c0a847822 fix config.ini. 2021-06-18 11:04:49 +08:00
fengbojiang 4e3599d820 Support set multi virtual IPv4/IPv6 net addrs in `config.ini`, instead of use `ff_ifconfig`.
Close #421.
2021-06-16 19:26:52 +08:00
fengbojiang 2ea8dd153c modify pcap config. 2021-06-16 19:06:45 +08:00
fengbojiang f404fcca4f Merge branch 'dev' of https://github.com/F-Stack/f-stack into dev 2021-06-15 17:51:55 +08:00
fengbojiang 9eb89b0b82 MLX5: modify `if_indextoname` syscall to support F-Stack tools. 2021-06-15 17:48:26 +08:00
fengbojiang b0e03286ae 1. add `pci_whitelist` config in `config.ini`.
2. remove old pcap config.
2021-06-15 17:47:20 +08:00
johnjiang 9859cdd0e1 Merge pull request #596 from hyperxpro/dev
Fix typo in word `should`.
2021-05-25 19:15:42 +08:00
Aayush Atharva 14a7a2abc3 Fix typo 2021-05-25 13:28:49 +05:30
fengbojiang e426931965 Upgrade f-stack.conf in Nginx. 2021-03-08 15:43:59 +08:00
Hawker 51108f9c2e support `IPV6_RECVPKTINFO` 2021-03-06 19:19:03 +08:00
Hawker d428f7900c Support IPPROTO_IPV6
f-stack中缺乏对`IPPROTO_IPV6`协议相关选项`IPV6_V6ONLY`的支持;无法在ipv6兼容ipv4场景进行网络通信。调用setsockopt时会出现失败。
2021-03-06 19:19:03 +08:00
jfb8856606 64362bc1ac Fix #576, add the code of igb_uio and enable_kmods. 2021-03-06 19:19:02 +08:00
jfb8856606 5de5f63f0e fix compilation problem of example. 2021-03-06 19:19:02 +08:00
jfb8856606 3af48f4831 Remove unnecessary files from DPDK. 2021-03-06 19:19:02 +08:00
jfb8856606 602eedc483 DPDK: upgrade to DPDK 20.11.0(LTS). 2021-03-06 19:19:01 +08:00
fengbojiang 7b8cf09355 Support DPDK 20.11.0(LTS). 2021-03-06 19:18:57 +08:00
fengbojiang 4c0b1abdf1 upgrade F-STACK_VERSION to 1.21. 2021-03-06 19:18:57 +08:00
fengbojiang d96a9d10f4 modify `struct linux_sockaddr` same to `struct sockaddr` in linux. 2021-03-06 19:18:56 +08:00
fengbojiang 9a9b558bbc update doc. 2021-03-06 19:18:56 +08:00
fengbojiang 2e8bedb304 Update release note for 1.21. 2021-03-06 19:18:55 +08:00
fengbojiang 7e3738de16 DPDK: upgrade to DPDK 19.11.6(LTS). 2021-03-06 19:18:54 +08:00