[ovs-discuss] how to implement "add flow"

Ben Pfaff blp at ovn.org
Thu Apr 28 13:35:27 UTC 2016


On Thu, Apr 28, 2016 at 08:32:32AM +0000, Kai Ma (kaima) wrote:
> I want to implement a HW ASIC switch by porting OVS.
> For ³add flow², I want to use HW ASCI TCAM to set ACL rule for flow, not
> linux CPU.
> 
> How can I porting this part?

Did you read PORTING.md?

> In OVS-ofctl.c line616,  transact_multiple_noreply(), the function will
> send all flow requrest to where?

To the OpenFlow switch specified on the command line.

> Which function call get the request and parse the request?

OpenFlow handling is in ofproto/ofproto.c.



More information about the discuss mailing list