Re: [ovs-discuss] How does OVS ensure only the first packet of a flow is upcalled?

2017-08-08 Thread Ben Pfaff
On Fri, Jul 14, 2017 at 04:14:29PM +0800, 张克尧 wrote:
> The document of ovs says the datapath is a flow-based software
> switch. A flow consists of many packets. Datapath needs to handle
> every packet. When it does't match any datapath flows, it will do
> upcall. Vswitchd needs to handle upcalls and send netlink messages to
> datapath to install the datapath flows. But before the datapath flows
> are added, another packet of the same flow arrived, will the packet be
> upcalled? That means if I send packets at faster rate, more upcalls
> will be expected?

Yes, more than one packet in a flow can go through an upcall.  It's
unusual, though, because most flows start out with a single packet and
do not continue until they receive a response.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] How does OVS ensure only the first packet of a flow is upcalled?

2017-07-14 Thread 张克尧
Hi, All

The document of ovs says the datapath is a flow-based software switch. A flow 
consists of many packets. Datapath needs to handle every packet. When it does't 
match any datapath flows, it will do upcall. Vswitchd needs to handle upcalls 
and send netlink messages to datapath to install the datapath flows. But before 
the datapath flows are added, another packet of the same flow arrived, will the 
packet be upcalled? That means if I send packets at faster rate, more upcalls 
will be expected?

Thank you!

keyaozhang
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss