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
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
efd35b83ad
Output a extra line.
2023-03-31 10:22:19 +08:00
fengbojiang
8020e2669c
Modify `pci_whitelist` to `allow` that from DPDK 20.11. Close #745 .
2023-03-02 10:59:55 +08:00
Dmitriy Alexandrov
4248f58f32
Added more clear error message in case of failed config read.
2022-10-27 12:42:25 +04:00
fengbojiang
69c1032524
Fix a typo. `ifc_name` modify to `if_name`.
2022-09-02 20:21:32 +08:00
fengbojiang
ff8fd2bdc7
Merge branch 'dev'
2022-09-02 16:51:22 +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
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
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
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
4093ffd426
Update LICENCE.
2021-09-18 16:05:45 +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
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
zhangxiang10
eff1a060f0
解析file_prefix&pci-whitelist配置
2020-11-17 19:19:19 +08:00
zhangxiang10
199154d90d
解析file_prefix&pci-whitelist配置
2020-11-17 19:19:19 +08:00
zhangxiang10
c661338e72
解析file_prefix&pci-whitelist配置
2020-11-17 19:04:23 +08:00
zhangxiang10
838bd0fa9c
解析file_prefix&pci-whitelist配置
2020-11-17 19:04:23 +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
johnjiang
e27c5f4e3a
Merge branch 'dev' into feature-knictl
2020-05-21 10:56:12 +08:00
johnjiang
632c79327e
Merge branch 'dev' into feature-knictl
2020-05-21 10:56:12 +08:00
pengtian
0b1e7c031e
#add knictl support
2020-05-14 18:30:34 +08:00
pengtian
47507c1510
#add knictl support
2020-05-14 18:30:34 +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
6d051c0454
update config.c
...
use 4 space other than tab.
2020-01-07 21:04:17 +08:00
jinhao2
ce40395e0c
dump packets by core, instead of by ports;without fopen/fclose while dumping
2020-01-08 12:09:40 +08:00
jin.hao1
bb6dcc1c33
update config.c
...
use 4 space other than tab.
2020-01-07 21:04:17 +08:00
jinhao2
819aafb684
dump packets by core, instead of by ports;without fopen/fclose while dumping
2020-01-08 12:09:40 +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(姜凤波)
b99e7124e8
Fixed #426 , F-stack compile error in Red Hat 8.0 with gcc 8.2.1.
2019-10-31 15:58:26 +08:00
fengbojiang(姜凤波)
b8b4b7b9d7
Fixed #426 , F-stack compile error in Red Hat 8.0 with gcc 8.2.1.
2019-10-31 15:58:26 +08:00
fengbojiang(姜凤波)
7abbdf7aa5
Fix crash of `netstat -n`, refer #438 .
2019-10-29 15:31:14 +08:00
fengbojiang(姜凤波)
73e135b80c
Fix crash of `netstat -n`, refer #438 .
2019-10-29 15:31:14 +08:00
johnjiang
a36df1e44e
Merge pull request #441 from open-estuary/dev
...
lib/ff_config.c : Fix data overflow in more than 64 cores
2019-10-24 20:58:16 +08:00
johnjiang
59e841c5a2
Merge pull request #441 from open-estuary/dev
...
lib/ff_config.c : Fix data overflow in more than 64 cores
2019-10-24 20:58:16 +08:00
beard-627
868cca5674
lib/ff_config.c
2019-09-18 17:01:54 +08:00
beard-627
813e23e238
lib/ff_config.c
2019-09-18 17:01:54 +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(姜凤波)
7e4b7a1537
Merge branch 'master' into dev
2019-07-26 17:37:02 +08:00
fengbojiang(姜凤波)
86a4dcb0fe
Merge branch 'master' into dev
2019-07-26 17:37:02 +08:00