| c36e692a | 25-Oct-2017 |
logwang <[email protected]> |
Use `KMOD_SRCS` to pass extra kernel module sourcs.
For example, if you have an extra FreeBSD kernel module, and want to compile it into F-Stack, you can do it like this: ``` cd f-stack/lib export "
Use `KMOD_SRCS` to pass extra kernel module sourcs.
For example, if you have an extra FreeBSD kernel module, and want to compile it into F-Stack, you can do it like this: ``` cd f-stack/lib export "KMOD_SRCS=/your/kmod/path/a.c /your/kmod/path/b.c" export "CONF_CFLAGS=-I/your/kmod/path" make ```
show more ...
|
| 80a6164c | 14-Sep-2017 |
YuYang <[email protected]> |
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
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
show more ...
|
| 7e048838 | 04-Aug-2017 |
logwang <[email protected]> |
Add API: ff_gettimeofday.
Since f-stack run with polling mode, nginx will call gettimeofday every loop, and cost a lot. With this commit, f-stack will update current timespec periodically in ff_hard
Add API: ff_gettimeofday.
Since f-stack run with polling mode, nginx will call gettimeofday every loop, and cost a lot. With this commit, f-stack will update current timespec periodically in ff_hardclock_job. And ff_gettimeofday will get this value. In nginx, hijack gettimeofday to call ff_gettimeofday.
show more ...
|