Hi
On 9/21/22 15:07, Bishal Kumar Nath wrote:
Dear Developers, For research purposes, I need to implement a cache in OVS.
Hence, I need your guidance to locate the exact position in the code of OVS
where i can allocate memory to implement the cache. The details are given below:
1) When a packet arrives in an OVS switch, it should check the cache, whether
the requested data is already present in the cache of the switch.
What you're describing seems to resemble the kernel datapath or the EMC/SMC. Why
is it different to those caches?
2) after
checking the cache only it can move towards the flow entries. Hence I need to
know which part of the OVS source code gets executed when a packet arrives.
In kernel datapath you can start following the code from "ovs_vport_receive". In
DPDK datapath you can look at the pmd's thread function: "pmd_thread_main".
3)
It should be consistent with OpenFlow. So, if there is a need to modify OpenFlow
also, please inform me. If there is any other information required please ask.
Thank you in advance. Bishal Kumar Nath
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
--
Adrián Moreno
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss