ovs 代码笔记

Posted Hi,云计算!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ovs 代码笔记相关的知识,希望对你有一定的参考价值。

                                      ofconn_run
|
handle_openflow
|
handle_packet_out
/ \
(2) / \(1)
/ \
ofproto_packet_out_finish ofproto_packet_out_start
| |
packet_execute packet_xlate
| |
dpif_execute xlate_actions
| |
dpif_operate rule_dpif_lookup_from_table
| |
dpif_netlink_operate rule_dpif_lookup_in_table
| / \
dpif_netlink_encode_execute (2) / \(1)
| / \
nl_msg_put_genlmsghdr do_xlate_actions classifier_lookup
| |
xlate_output_action find_match_wc
|
compose_output_action
|
nl_msg_put_odp_port





Userspace
construct
|
|
open_dpif_backer(*)
/ \
(dpif-netdev) / \(dpif-net-link)
/ \
udpif_create udpif_set_threads
| |
dpif_register_upcall_cb udpif_start_threads
| |
dpif_netdev_register_upcall_cb ovs_thread_create
|
udpif_upcall_handler
|
recv_upcalls
/ \
(2) / \ (1)
/ \
upcall_receive dpif_recv
| |
flow_extract dpif_netlink_recv
|
process_upcall
|
upcall_xlate
|
xlate_actions
------------------------------------------------------------------------------------------------------
Kernel
netdev_frame_hook
|
netdev_port_receive
|
ovs_vport_receive
|
ovs_dp_process_packet
/ \
(Normal match) / \ (Non-normal Match)
/ \
ovs_execute_actions ovs_dp_upcall
|
queue_userspace_packet
|
genlmsg_unicast

以上是关于ovs 代码笔记的主要内容,如果未能解决你的问题,请参考以下文章

野火 ov7725 学习笔记 (fifo)

QT开发笔记(Camera)

Camera | 1.Camera基础知识

Camera | 1.Camera基础知识

崔希凡JavaWeb笔记day25-day27(11月11日22:02:34)

C# 与 Go 的互通代码笔记