[ovs-discuss] which API handle add-flow finally to configure ASIC

Kai Ma (kaima) kaima at cisco.com
Fri Jun 3 08:24:37 UTC 2016


Dear all,

I want to porting OVS to ASIC basd switch,
When configure flow to OVS, I found ovs-ofctl and controller will
configure ovs in different channel.

I am wondering which c file and which API handle add-flow finally to
configure ASIC?
Please advise, thanks

Regards
Kai Ma

On 6/3/16, 4:16 PM, "discuss on behalf of discuss-request at openvswitch.org"
<discuss-bounces at openvswitch.org on behalf of
discuss-request at openvswitch.org> wrote:

>Send discuss mailing list submissions to
>	discuss at openvswitch.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://openvswitch.org/mailman/listinfo/discuss
>or, via email, send a message with subject or body 'help' to
>	discuss-request at openvswitch.org
>
>You can reach the person managing the list at
>	discuss-owner at openvswitch.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of discuss digest..."
>
>
>Today's Topics:
>
>   1. Re: Packet-in event (Fischetti, Antonio)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 3 Jun 2016 08:16:05 +0000
>From: "Fischetti, Antonio" <antonio.fischetti at intel.com>
>To: Adonis Congaro <5667garlex at gmail.com>, "discuss at openvswitch.org"
>	<discuss at openvswitch.org>
>Subject: Re: [ovs-discuss] Packet-in event
>Message-ID:
>	<BCFD2BB875535045A5368D9ADBF2969909D229A9 at IRSMSX101.ger.corp.intel.com>
>	
>Content-Type: text/plain; charset="utf-8"
>
>Referring to OVS in userspace, the function dp_netdev_process_rxq_port()
>calls
>netdev_rxq_recv()
>which, depending on the type of interface, will call the specific
>function,
>eg
>for a dpdk IF it will call dp_netdev_process_rxq_port()
>for an internal interface it calls netdev_linux_rxq_recv().
>Then
>dp_netdev_input()
>will process the received packet: decode, match against emc,Š
>
>Antonio
>
>From: discuss [mailto:discuss-bounces at openvswitch.org] On Behalf Of
>Adonis Congaro
>Sent: Tuesday, May 31, 2016 11:13 AM
>To: discuss at openvswitch.org
>Subject: [ovs-discuss] Packet-in event
>
>Hi
>
>I'm trying to understand the caching system in ovs, and I'm wondering
>where is the function that handle first packet-in event in the source
>code?
>
>Many thanks
>Ado
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://openvswitch.org/pipermail/discuss/attachments/20160603/fcb95c9e/at
>tachment.html>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>discuss mailing list
>discuss at openvswitch.org
>http://openvswitch.org/mailman/listinfo/discuss
>
>
>------------------------------
>
>End of discuss Digest, Vol 84, Issue 11
>***************************************




More information about the discuss mailing list