On Fri, Jul 28, 2017 at 07:17:44AM +0100, Przemyslaw Szczerbik wrote: > Patch based on RFC 5102, section 5.10. It implements per-flow drop counters: > - droppedPacketDeltaCount > - droppedPacketTotalCount > - droppedOctetDeltaCount > - droppedOctetTotalCount > > In order to determine if packet is going to be dropped, flow actions > associated > with packet are read. If at least one of the following conditions is met, > packet is not marked as dropped. > > Packet has at least one: > - OVS_ACTION_ATTR_OUTPUT action > - OVS_ACTION_ATTR_CLONE action with nested OVS_ACTION_ATTR_OUTPUT action > - OVS_ACTION_ATTR_SAMPLE action with nested OVS_ACTION_ATTR_OUTPUT action and > sampling probability is set to 100% > > Signed-off-by: Przemyslaw Szczerbik <[email protected]> > --- > v1->v2 > * Prevent segfault when dereferencing ipfix_actions in ipfix_cache_entry_init > * Handle OVS_ACTION_ATTR_CLONE action > > v2->v3 > * Handle OVS_ACTION_ATTR_SAMPLE action
Thanks for the revision! I applied this to master. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
