标签:encode queue str prot ESS match tde process ast
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
标签:encode queue str prot ESS match tde process ast
原文地址:https://www.cnblogs.com/gaozhengwei/p/9021124.html