Discussion:
[ovs-discuss] question about xlate
ychen
2014-10-16 09:09:32 UTC
Permalink
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>
Padma Jayasankar
2014-10-16 16:51:45 UTC
Permalink
Hi,
How an op,envswitch identify the link failure?If link failure detection
is set to 'carrier",how will it identify the link failure.Please clarify

Regards,
Padma V
Post by ychen
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?
_______________________________________________
discuss mailing list
discuss at openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141016/17b9aa4b/attachment.html>
Loading...