ychen
2014-10-16 09:09:32 UTC
hi,
when I am reading openvswitch code, there are some codes puzzled me, can you give some help?
1. in function read_upcalls(), we use xlate_receive() to retrieve the flow from dupcall->key,
but why we still need flow_extract(packet, &md, &miss->flow) to retrieve flow?
can we just use xlate_receive() to store information in miss->flow?
2. we already have struct ofport_dpif, why we still need struct xport, stuct xbridge and struct xbundle?
what's the difference between them?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141016/e1e28702/attachment.html>
when I am reading openvswitch code, there are some codes puzzled me, can you give some help?
1. in function read_upcalls(), we use xlate_receive() to retrieve the flow from dupcall->key,
but why we still need flow_extract(packet, &md, &miss->flow) to retrieve flow?
can we just use xlate_receive() to store information in miss->flow?
2. we already have struct ofport_dpif, why we still need struct xport, stuct xbridge and struct xbundle?
what's the difference between them?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141016/e1e28702/attachment.html>