Commit Graph

1014 Commits

Author SHA1 Message Date
Fidaullah Noonari b3fc40d0d7 Add IP_MINTTL flag in ff_syscall_wrapper.c. 2022-06-02 10:07:06 +05:00
johnjiang 4f02579eda Merge pull request #666 from GlareR/port-redis6
port redis-6.2.6
2022-06-01 11:08:38 +08:00
johnjiang c4b2517935 Merge pull request #667 from guhaoyu2005/dev
Added F-Stack FreeBSD support
2022-06-01 11:06:42 +08:00
hao 9f7a1423a0 Added F-Stack FreeBSD support (This is a part of the research work at RCSLab, University of Waterloo) 2022-05-31 19:46:09 -04:00
glarer 59c3d3f07f port redis-6.2.6 2022-05-28 09:34:09 +08:00
fengbojiang 2ffc055166 Add net.inet.tcp.rfc1323 in `config.ini` for tcp timestamps, default 1. 2022-05-16 15:50:42 +08:00
fengbojiang 791e096154 Set lib/ DEBUG mode default. 2022-05-16 15:49:24 +08:00
fengbojiang 73cf01b51d Merge branch 'dev' of https://github.com/F-Stack/f-stack into dev 2022-05-07 12:11:47 +08:00
fengbojiang 28b5c667ac Compatible compilation error of ff_netstat. 2022-05-07 12:09:45 +08:00
fengbojiang b874712e25 FF_USE_PAGE_ARRAY compatible DPDK 20.11. 2022-05-07 12:05:35 +08: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
johnjiang 3c0f130ecf Merge pull request #660 from FidaullahNoonari-emumba/feature/add_support_for_IP_RECVTTL_and_IP_RECVTOS
Feature/add support for IP_RECVTTL and IP_RECVTOS
2022-04-29 16:12:37 +08:00
Fidaullah Noonari f159b88fa6 remove for loop 2022-04-25 12:55:15 +05:00
Fidaullah Noonari 7aaa203ad6 remove cmsg_len error 2022-04-22 12:03:55 +05:00
Fidaullah Noonari 584a11ee03 ff_syscall_wrapper.c: add linux_cmsghdr and its support in recvmsg
add support for IP_RECVTTL and IP_RECVTOS
2022-04-22 11:22:44 +05:00
fengbojiang 782d5777bd Update annotations for zero-copy API. 2022-04-17 21:05:32 +08:00
fengbojiang f211ded4ff Merge branch 'master' of https://github.com/F-Stack/f-stack into master 2022-04-15 18:15:22 +08:00
fengbojiang 6d3b0f831a Merge branch 'master' of https://github.com/F-Stack/f-stack into master 2022-04-15 18:15:22 +08:00
fengbojiang 9b5a2ec642 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-04-15 18:00:49 +08:00
fengbojiang e12886c02c 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-04-15 18:00:49 +08:00
fengbojiang fb4e62428e Fix a typo of netmask in config.ini. 2022-04-08 15:08:17 +08:00
fengbojiang 818dd780ab Enable net.inet.tcp.delayed_ack by default to improve concurrent performance. 2022-04-08 15:07:55 +08:00
dingyuan c974c5bfbb Optimize random function in ff_compat.c 2022-04-08 15:06:40 +08:00
fengbojiang b963106775 FF_USE_PAGE_ARRAY compatible DPDK 19.11. 2022-04-08 15:05:46 +08:00
fengbojiang 070b224a03 Fix a typo of netmask in config.ini. 2022-04-08 14:54:34 +08:00
fengbojiang d1b5277cc0 Fix a typo of netmask in config.ini. 2022-04-08 14:54:34 +08:00
fengbojiang 1bd0bf3be2 Enable net.inet.tcp.delayed_ack by default to improve concurrent performance. 2022-04-08 14:52:25 +08:00
fengbojiang 0b7ce76652 Enable net.inet.tcp.delayed_ack by default to improve concurrent performance. 2022-04-08 14:52:25 +08:00
johnjiang e4a461939a Merge pull request #653 from yuanding53/master
Optimize random function in ff_compat.c
2022-04-08 14:47:16 +08:00
johnjiang 73760ead54
Merge pull request #653 from yuanding53/master
Optimize random function in ff_compat.c
2022-04-08 14:47:16 +08:00
dingyuan cd92171a0f Optimize random function in ff_compat.c 2022-04-07 13:08:04 +08:00
dingyuan e27a576b2a Optimize random function in ff_compat.c 2022-04-07 13:08:04 +08:00
fengbojiang 2151a33ebb Merge branch 'master' of https://github.com/F-Stack/f-stack into master 2022-04-06 11:26:58 +08:00
fengbojiang 93b7ff1c3f Merge branch 'master' of https://github.com/F-Stack/f-stack into master 2022-04-06 11:26:58 +08:00
fengbojiang 1a945e3b22 FF_USE_PAGE_ARRAY compatible DPDK 19.11. 2022-04-06 11:25:02 +08:00
fengbojiang 6faaf06c20 FF_USE_PAGE_ARRAY compatible DPDK 19.11. 2022-04-06 11:25:02 +08:00
johnjiang 148ee2809b Merge pull request #652 from agerguo/patch-3
Update sockbuf.h
2022-03-25 14:42:47 +08:00
johnjiang c693ae49fc Merge pull request #651 from agerguo/patch-2
Update socketvar.h
2022-03-25 14:42:11 +08:00
agerguo ea8aa54cfc Update sockbuf.h
copy from file "freebsd/sys/sockbuf.h"
2022-03-25 14:37:19 +08:00
agerguo 85a2b77b4f Update socketvar.h
copy from file "freebsd/sys/socketvar.h"
2022-03-25 14:34:02 +08:00
fengbojiang db0a1d59e9 Fix a typo. 2022-03-05 11:52:12 +08:00
johnjiang 405496bac1 Merge pull request #621 from ibtisam-tariq/feature/multiple_pci_whitelist
Add support for multiple `pci_whitelist` in `config.ini`.
2022-03-05 11:50:01 +08:00
fengbojiang 428d816d3b Fix #643. Fix a VXLAN issue. Thanks @agerguo 2022-02-26 21:28:12 +08:00
fengbojiang 7dba406844 Fix #643. Fix a VXLAN issue. Thanks @agerguo 2022-02-26 21:28:12 +08:00
johnjiang 53dfa0c4e5 Merge pull request #639 from Nordix/config-corrections
Corrections in config code
2022-02-26 14:34:50 +08:00
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