fengbojiang
f069dcdcb7
Support KNI ratelimit.
2024-10-17 16:12:43 +08:00
fengbojiang
f95b80ee63
Support automatic configuration of vlan and vlan ip, routing and the simplest policy routing
...
1. Automatic configuration of multi vlan vip(IPv4 and IPv6).
1.1 And support automatic multi default route for per vlan, via different fib num.
1.2 IPv6 not support set multi route fib now, just use RT_DEFAULT_FIB, And you can set multi fib use tool 'ff_route'.
1.3 If vlan_flag is true, all port's addrs/vips will not to set, just create the iface.
2. Automatic configuration of simple policy routing.
2.1 Only supports the simplest policy routing settings, like:
`ff_ipfw -P 0 add 100 setfib 0 ip from 125.94.59.0/24 to any out`
`from 125.94.59.0/24` need set addr is '125.94.59.0', netmask is '255.255.255.0'
2.2 IPv6 does not support automatic configuration of policy routing. If ipv6 policy routing is required, you still need to use ff_ipfw to manually configure it.
2024-10-17 15:01:51 +08:00
fengbojiang
b61b7363d2
add net.add_addr_allfibs=1 in config.ini.
2023-09-26 11:24:22 +08:00
fengbojiang
ba2a7fe957
Add kni type argument in config.ini and FF_KNI_KNI in lib/Makefile to set exception path type.
...
FF_KNI_KNI disabled by default and then:
type 0 and 1 both use virtio_user.
If enabled FF_KNI_KNI(and you must set meson -Ddisable_libs=flow_classif to re-enable kni driver in DPDK first):
type:0 means use historical kni.
type:1 means use virtio_user(linux only), see https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.html#virtio-user-as-exception-path .
2023-09-19 18:28:57 +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
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
f7da542ada
fix some issue.
2022-09-02 19:41:14 +08:00
fengbojiang
ff8fd2bdc7
Merge branch 'dev'
2022-09-02 16:51:22 +08:00
FireAngell
a7a9a195bb
Now, RACK and BBR can work fine. thanks @FireAngell.
...
Enable `net.inet.tcp.hpts.skip_swi` in `config.ini`.
2022-09-02 15:57:00 +08:00
fengbojiang
ae7ea12bc0
F-Stack support HPTS for rack/bbr, and rack work correctly, but bbr
...
still has some problems when transferring large files, and the
issue with bbr will be attempted to be resolved after FreeBSD is
upgraded to 13.1 in the next release(1.23).
2022-09-01 19:18:12 +08:00
Muhammad Jawad Hussain
b497d0d7ac
alows user to set dpdk log level from config.ini file.
...
Signed-off-by: Muhammad Jawad Hussain <jawad.hussain@emumba.com>
2022-06-08 12:36:38 +05: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
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
fengbojiang
d1b5277cc0
Fix a typo of netmask in config.ini.
2022-04-08 14:54:34 +08:00
fengbojiang
0b7ce76652
Enable net.inet.tcp.delayed_ack by default to improve concurrent performance.
2022-04-08 14:52:25 +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
Ibtisam Tariq
f4871358c3
Add support to set interface name of each port in `config.ini`.
2021-11-04 09:58:24 +05:00
Ibtisam Tariq
a7826598d4
Add support for multiple `pci_whitelist` in `config.ini`.
2021-11-04 08:54:30 +05: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
3ae8012231
Merge branch 'dev' into freebsd13
2021-09-30 19:58:08 +08:00
fengbojiang
862303613a
modify config.ini.
2021-09-23 15:28:08 +08: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
b0e03286ae
1. add `pci_whitelist` config in `config.ini`.
...
2. remove old pcap config.
2021-06-15 17:47:20 +08:00
zengyi1001
d53ebd8f3c
Add IPv6 net addr parameters in config
...
Co-authored-by: fengbojiang <fengbojiang@tencent.com>
2021-03-06 19:18:52 +08:00
zengyi1001
0f2a196b68
Add IPv6 net addr parameters in config
...
Co-authored-by: fengbojiang <fengbojiang@tencent.com>
2021-03-06 19:04:46 +08:00
fengbojiang
1b5649a396
Add configuration options `symmetric_rss` to set whether to use symmetric RSS.
2020-08-30 00:55:08 +08:00
fengbojiang
f41205e9f3
Add configuration options `symmetric_rss` to set whether to use symmetric RSS.
2020-08-30 00:55:08 +08:00
jinhao2
80d23aa1da
update indent size
2020-01-08 21:13:12 +08:00
jinhao2
4dfcdbcc8d
update indent size
2020-01-08 21:13:12 +08:00
jin.hao1
53219bba43
update config.ini
2020-01-07 21:07:57 +08:00
jin.hao1
16caa0bf6b
update config.ini
2020-01-07 21:07:57 +08:00
jinhao2
49055fa472
update config.ini
2020-01-08 20:38:15 +08:00
jinhao2
64a2908183
update config.ini
2020-01-08 20:38:15 +08:00
fengbojiang(姜凤波)
f654b818fc
Add `net.inet.ip.forwarding=0` in `config.ini`, defalut disable.
2019-12-11 20:23:47 +08:00
fengbojiang(姜凤波)
156135da39
Add `net.inet.ip.forwarding=0` in `config.ini`, defalut disable.
2019-12-11 20:23:47 +08:00
Jayath Sathyanarayana
316f2a31b4
Merge patch of Configuration param to skip "TX checksum offload", refer #448 .
2019-11-04 13:10:27 +08:00
Jayath Sathyanarayana
3a3642c7f7
Merge patch of Configuration param to skip "TX checksum offload", refer #448 .
2019-11-04 13:10:27 +08:00
fengbojiang(姜凤波)
5433d0d7a2
Fix a typo.
2019-09-04 21:56:15 +08:00
fengbojiang(姜凤波)
d0f17d5b35
Fix a typo.
2019-09-04 21:56:15 +08:00
fengbojiang(姜凤波)
5fbf4a15eb
Bonding: supported. but it can't work in multi-processes, to be fix.
2019-09-04 21:17:10 +08:00
fengbojiang(姜凤波)
c0f666848d
Bonding: supported. but it can't work in multi-processes, to be fix.
2019-09-04 21:17:10 +08:00
fengbojiang
1da26298b3
IPv6: disable `net.inet.tcp.nolocaltimewait` in `config.ini` by default.
...
If enable it, and F-Stack app use `ff_close` to close the connection first while the IPv6 client and sever ips in the same prefix scope, the F-Stack app will not respond the last_ack while receiced `fin+ack` package.
2019-08-11 18:28:07 +08:00
fengbojiang
aa174b6e9a
IPv6: disable `net.inet.tcp.nolocaltimewait` in `config.ini` by default.
...
If enable it, and F-Stack app use `ff_close` to close the connection first while the IPv6 client and sever ips in the same prefix scope, the F-Stack app will not respond the last_ack while receiced `fin+ack` package.
2019-08-11 18:28:07 +08:00
fengbojiang(姜凤波)
adfdf56113
IPv6: FreeBSD stack and f-stack support ipv6.
2019-07-12 20:56:01 +08:00
fengbojiang(姜凤波)
d7140ab746
IPv6: FreeBSD stack and f-stack support ipv6.
2019-07-12 20:56:01 +08:00