Re: [ovs-dev] [PATCH v2] ofproto-dpif-ipfix: add support for per-flow drop counters

2017-07-27 Thread Szczerbik, PrzemyslawX
Sent: Friday, July 14, 2017 1:05 PM > To: d...@openvswitch.org > Subject: Re: [ovs-dev] [PATCH v2] ofproto-dpif-ipfix: add support for per-flow > drop counters > > Hi Ben, > > I added code to handle 'clone' action as you suggested. > I'm still not convinced that it's po

Re: [ovs-dev] [PATCH v2] ofproto-dpif-ipfix: add support for per-flow drop counters

2017-07-14 Thread Szczerbik, PrzemyslawX
Hi Ben, I added code to handle 'clone' action as you suggested. I'm still not convinced that it's possible to see 'sample' action during IPFIX upcall, so I didn't include it in this patch. In every test that I run a flow rule with sample action was translated to 'userspace' action in datapath.

[ovs-dev] [PATCH v2] ofproto-dpif-ipfix: add support for per-flow drop counters

2017-07-14 Thread Przemyslaw Szczerbik
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 there isn't