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
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
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
Ibtisam Tariq
f4871358c3
Add support to set interface name of each port in `config.ini`.
2021-11-04 09:58:24 +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
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
jin.hao1
a2728d1e67
Update ff_config.h
...
use 4 spaces indent.
2020-01-07 21:10:08 +08:00
jin.hao1
4b75b83d36
Update ff_config.h
...
use 4 spaces indent.
2020-01-07 21:10:08 +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
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(姜凤波)
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(姜凤波)
ad241aff99
Add pkt_tx_delay parameter in config.ini.
...
It should be default while handling large concurrent requests, otherwise
it will reduce the throughput.
But if there are only a little, you can set it to less than 100, even to
0, to reduce the delay of the connection.
2019-06-27 17:44:19 +08:00
fengbojiang(姜凤波)
59bb71f60e
Add pkt_tx_delay parameter in config.ini.
...
It should be default while handling large concurrent requests, otherwise
it will reduce the throughput.
But if there are only a little, you can set it to less than 100, even to
0, to reduce the delay of the connection.
2019-06-27 17:44:19 +08:00
10077240
ef5ab85936
not use mcopy when transmit from bsd to dpdk
2019-03-29 10:42:02 +08:00
fengbojiang
a3bbaff58f
CONTAINER(DOCKER): support aggregation model while running in container with OVS-DPDK, refer to #298 .
2018-11-27 02:02:38 +08:00
fengbojiang
79f0ade329
Sync to github
2018-11-13 21:54:13 +08:00
fengbojiang
c506e4369e
add "idle_sleep" to reduce CPU usage when no pkts incomming.
2018-08-18 01:45:11 +08:00
logwang
7f4229ea8b
Misc: add "extern C" in public header files.
2018-01-02 18:22:40 +08:00
YuYang
80a6164c5c
multiple NIC support
...
In current implementation, cores and ports are one to one mapped, this
PR allowed user to specify the core list used to handle single port. for
example cores 1,2,3 handle port 0 and cores 4,5,6 handle port 1.
- Add `port_list` config to dpdk section (used to specify the enabled port list)
- Add `lcore_list` config to port section(used to specify the core list mapped to that port)
- Delete `nb_ports` config in dpdk section
- Delete `port_mask` config in dpdk section
2017-09-21 12:33:25 +08:00
logwang
64abcf71e3
Add configuration item: vlan_strip
2017-08-09 16:52:16 +08:00
logwang
a02c88d651
Simplify startup arguments and add ff_fdisused.
...
Changes:
1.Simplify f-stack startup arguments:"--conf, --proc-type, --proc-id".
2.add a function `ff_fdisused` to check if fd is used in f-stack.
2017-08-08 22:36:49 +08:00
logwang
213fa7b358
Support RX/TX offload according to HW's capability
...
RX: VLAN strip, CRC strip, IP/TCP/UDP checksum.
TX: IP/TCP/UDP checksum, TSO.
Note that TSO has a problem: when enable TSO,
F-Stack is much slower(Temporarily not resolved).
So TSO is disabled by default.
Edit config.ini to enable it.
2017-05-06 21:52:25 +08:00
logwang
627097dc92
Support VLAN Strip.
...
In some cases such as AWS EC2, we must strip vlan tag.
Edit the config.ini, set port.vlanstrip = 1.
2017-05-02 18:03:38 +08:00
logwang
a9643ea85c
init
2017-04-21 18:43:26 +08:00