Commit Graph

11 Commits

Author SHA1 Message Date
logwang 615f2d3c02 Fix `ff_fdused_range` not work. 2017-08-08 23:47:38 +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
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
byronhe 7991c74543 fix compile error 2017-05-18 00:28:38 +08:00
limzhang(张力) 8a0cdb99c3 example:remove printf 2017-05-15 17:55:26 +08:00
limzhang(张力) fd436ff2d2 add example code which use epoll API. 2017-05-15 17:49:25 +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
whl739 2dfcd880c7 example: remove printf. 2017-05-10 17:20:41 +08:00
logwang a9643ea85c init 2017-04-21 18:43:26 +08:00