Commit Graph

16 Commits

Author SHA1 Message Date
fengbojiang b64f360ebc 1. Add main_stack_epoll_kernel.c for helloworld_stack_epoll_kernel that support f-stack and kernel stack at the same time.
2. move all main_stack*.c to adapter directory.
2023-05-03 16:59:40 +08:00
fengbojiang f27d862f85 1. Add kevent demo, need link libff_syscall.so, not LD_PRELOAD.
2. Fix some issues.
2023-04-07 20:39:31 +08:00
fengbojiang e8ed03b521 Modify FF_SOCKET_THREAD disable by default. 2023-04-07 13:44:41 +08:00
fengbojiang c0677726be Add main_stack_epoll_pipeline, and must disable FF_THREAD_SOCKET before build adapter. 2023-04-07 11:27:34 +08:00
fengbojiang 7492bfbcb6 Add helloworld_stack_epoll for demo. 2023-04-06 21:53:02 +08:00
fengbojiang 51c91ab0ad Enable INET6 by default in helloworld. 2022-09-02 20:20:05 +08:00
Aayush Atharva 14a7a2abc3 Fix typo 2021-05-25 13:28:49 +05:30
jfb8856606 5de5f63f0e fix compilation problem of example. 2021-03-06 19:19:02 +08:00
fengbojiang 7b8cf09355 Support DPDK 20.11.0(LTS). 2021-03-06 19:18:57 +08:00
logwang 2bfe3f2e55 DPDK: upgrade to 17.11.2 LTS.
Changes:
1. This version is downloaded from
https://fast.dpdk.org/rel/dpdk-17.11.2.tar.xz.
2. Adapt the new interface `rte_ring_dequeue_burst`.
3. Change the type of `port_id` from uint8_t to uint16_t.
4. Just link libdpdk.a instead of the other libaries.
5. Install libnuma-dev first.
6. Update the documents.
2018-05-15 17:49:22 +08:00
logwang 8cf1d457cb Optimize makefile 2017-09-14 15:25:07 +08:00
Ron 1a78ce8ea6 epoll optimization, add ff_kevent_do_each 2017-06-13 17:50:51 +08:00
logwang df6ad73146 Add tool: ifconfig.
Changes:
    Remove directory `ipc`, and add a new directory `compat`.
    Directory `compat` includes some FreeBSD source files to be compatible
        with Linux.
    Port FreeBSD ifconfig to F-Stack.
2017-06-06 16:52:52 +08:00
logwang 7abd0fb2a9 Add tool: sysctl.
This commit contains an ipc library implemented by dpdk rte_ring and
sysctl tool ported from FreeBSD.

With this commit we can get and set FreeBSD kernel state in runtime.
2017-05-23 23:13:49 +08:00
logwang 8745404160 example: remove pkg-config in Makefile.
Because pkg-config(version before 0.28) reordered -Wl,--whole-archive -Wl,--no-whole-archive not to surround the dpdk libraries, so we remove pkg-config and do it ourselves.
2017-05-12 11:06:04 +08:00
logwang a9643ea85c init 2017-04-21 18:43:26 +08:00