Skip to content

Commit 2476073

Browse files
authored
Update README.md
1 parent ef6053f commit 2476073

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,19 @@ Support feature:
3636
- Sync IP/Route from linux kernel;
3737
- Support dynamic routing(OSPF/BGP...);
3838
- Support DHCP client;
39-
- Commands for adding, deleting, showing IP address;
40-
- Commands for adding, deleting, showing static route;
41-
- Commands for showing neigh table;
42-
- Commands for showing interface and statistics;
43-
- Commands for showing IP statistics;
44-
- Commands for adding, deleting, showing ACL;
45-
- Commands for adding, deleting, showing bypass rule;
46-
- Commands for showing port queue lcore mapping;
47-
- Commands for adding, deleting, showing flow filter rule;
39+
- Command Line Interface:
40+
- Adding, deleting, showing IP addres;
41+
- Adding, deleting, showing static route;
42+
- Showing neigh table;
43+
- Showing interface and statistics;
44+
- Showing IP statistics;
45+
- Adding, deleting, showing ACL;
46+
- Adding, deleting, showing bypass rule;
47+
- Showing port queue lcore mapping;
48+
- Adding, deleting, showing flow filter rule;
4849
- UDP protocol;
49-
- Socket layer, share memory;
50-
- Socket API, socket/bind/connect/listen/close/send/recv/epoll/writev/readv/shutdown;
50+
- Socket layer;
51+
- Socket API compatible with BSD, socket/bind/connect/listen/close/send/recv/epoll/writev/readv/shutdown...;
5152
- Support openssl;
5253
- TCP protocol;
5354
- Free lock, hash table;
@@ -97,7 +98,7 @@ ANS | | |
9798
- Each lcore has own TCP stack, free lock.
9899
- IP/ARP/ICMP are shared between lcores.
99100
- APP process runs as a tcp server.
100-
- If App process only creates one listen socket, the listen socket only listens on one lcore and accept tcp connections from the lcore, so the APP process number shall large than the lcore number. The listen sockets of APP processes are created on each lcore averagely. For example: ans(with -c 0x3) run on two lcore, shall run two nginx(only run master ), one nginx listens on lcore0, another nginx listens on lcore1.
101+
- If App process only creates one listen socket, the listen socket only listens on one lcore and accept tcp connections from the lcore, so the APP process number shall large than the lcore number. The listen sockets of APP processes are created on each lcore averagely. For example: ans(with -c 0x3) run on two lcore, shall run two nginx(only run master ), one nginx listens on lcore0, another nginx listens on lcore1.
101102
- APP process can bind the same port if enable reuseport, APP process could accept tcp connection by round robin.
102103
- If NIC don't support multi queue or RSS, shall enhance ans_main.c, reserve one lcore to receive and send packets from NIC, and distribute packets to lcores of ANS tcp stack by software RSS.
103104

0 commit comments

Comments
 (0)