Hi Ben/Reid,

Thanks for your respective responses.

With respect to drop, are packets always forwarded from the datapath to 
vswitchd to enact the drop, or does the daemon also update the datapath's flow 
table with a corresponding flow entry?

Many thanks again,
Mark


-----Original Message-----
From: Ben Pfaff [mailto:[email protected]] 
Sent: Wednesday, October 09, 2013 11:23 PM
To: Kavanagh, Mark B
Cc: [email protected]
Subject: Re: [ovs-discuss] Drop action behaviour

On Wed, Oct 09, 2013 at 03:54:36PM +0000, Kavanagh, Mark B wrote:
> I have a question regarding the behaviour of the drop action.

There is no drop action.

> The FAQ states:
> 
>         "An empty set of actions causes a packet to be dropped.  You can
>         specify an empty set of actions with "actions=" on the ovs-ofctl 
> command line".
> 
> So, for example if I add a flow using ofctl, specifying the action as 
> 'drop', I assume that a flow table entry, consisting of the flow key 
> and an empty actions field is added to the vswitchd's flow table.

Yes.

> In terms of how the drop action actually works, is there an explicit 
> DROP action that is executed for flows that match this flow entry 
> (similar to the PUSH_VLAN, OUTPUT, SET, etc. actions), and if not, 
> what is the mechanism by which packets are dropped?

No.  There is no drop action.  When a switch "drops" a packet, that just means 
that it doesn't forward it anywhere.  By specifying no actions, the packet is 
not forwarded anywhere and, thus, it is dropped.
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.


_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to