Skip to content

Commit d171499

Browse files
author
bluestar
authored
Update README.md
1 parent df09801 commit d171499

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ANS(accelerated network stack) is porting from [FreeBSD](http://freebsd.org) TCP
1313
- test: Example application with ANS for testing ANS tcp/ip stack
1414

1515
Support environment
16-
- EAL is based on dpdk-16.04
16+
- EAL is based on dpdk-16.07
1717
- Development enviroment is based on x86_64-native-linuxapp-gcc
1818
- TCP/IP stack is based on FreeBSD 10.0-RELEASE
1919
- linux version:
@@ -274,6 +274,14 @@ $ sudo sysctl -w kernel.randomize_va_space=0
274274
- ANS run as dpdk primary process, when startup ANS, shall stop other secondary processes(nginx/redis/http_server).
275275
- Don't run ANS on lcore0, it will effect ANS performance.
276276

277+
- You shall include dpdk libs as below way because mempool lib has __attribute__((constructor, used)) in dpdk-16.07 version, otherwise your application would coredump.
278+
```
279+
$(RTE_ANS)/librte_anssock/librte_anssock.a \
280+
-L$(RTE_SDK)/$(RTE_TARGET)/lib \
281+
-Wl,--whole-archive -Wl,-lrte_mbuf -Wl,-lrte_mempool -Wl,-lrte_ring -Wl,-lrte_eal -Wl,--no-whole-archive -Wl,-export-dynamic \
282+
283+
```
284+
277285
####Support
278286
-------
279287
BSD LICENSE, you may use ANS freely.

0 commit comments

Comments
 (0)