Hi,
I recently started looking into the open switch code. I am a novice here
so your guidance is highly appreciated.
I am trying to understand the open Vswitchd code. My query is regarding
the execution of actions of a flow on a packet in the 'userspace'
According to my understanding if a packet dosent match a flow entry in
datapath ,
1. It is queued in userspace by queue_userspace_packets.
2. dpif routine run gets this packet from step 1 and call
handle_upcall routine.
3. handle_upcall routine calls handle_miss_upcall
4. handle_miss_upcall looks for facet matching this packet and if
gets it it calls facet_execute.
5. this facet_execute routine calls vport_send .
6. vport_send simply send the packet to a port.
Now as per above flow I have following queries
1. I did not find any routine which executes action in userspace.
Only action performed is output packet to a port. Enqueue action or
modifly vlan tag actions are not handle in userspace.
2. all modify actions are visible in datapath/actions.c only. That
means all actions are performed in datapath only.
Please let me know how action structure is parsed and executes ?
Amit.
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of NECHCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss