1. L3 Forwarding with Access Control Sample Application
http://dpdk.org/doc/guides/sample_app_ug/l3_forward_access_ctrl.html
Source Code
http://dpdk.org/doc/api/examples_2l3fwd-acl_2main_8c-example.html
librte_net.c >> rte_ip.h
http://dpdk.org/doc/api/rte__ip_8h_source.html
line93 >> struct ipv4_hdr
line96>> unit16_t total_length
line102>> unit32_t src_addr
2. DPDK Latency
http://www.evernote.com/l/ANs3NHytp5NJHoSsy-ShA37ZWm_ORaJLXSY/
3. 順利產生C program Call Graph >> Source Code要自行編譯
若太大不能產生圖或報錯.
4.複習C語言, 我真的有學過嗎?
初始化(ovs thread >> R/W lock / MUTEX互斥鎖 LINK, vport初始化)
netdev_registered_class
netdev_class (控制netdev, 針對虛擬dpdk, 實體NIC都有不同的netdev_class)
cmp_node
ovs_refcount
netdev_dpdk()
allocate
mbufs (memory buffer)
mempool (放在hugepage內)
QoS (QoS Type如何處理等等)
rte_eth / rte_vhost
NIC Driver allocate RX Buffer
dpdk_eth_dev_init
定義RX / TX Queue 的number 跟 size