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

2017-07-28 Thread Przemyslaw Szczerbik
probability is set to 100% Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczer...@intel.com> --- 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 ofproto/ofproto-

[ovs-dev] [PATCH 1/2] netdev-dpdk: extend netdev_dpdk_get_status to include if_type and if_descr

2017-07-26 Thread Przemyslaw Szczerbik
This commit extends netdev_dpdk_get_status API to include additional driver-related information: if_type and if_descr. Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczer...@intel.com> --- lib/netdev-dpdk.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/lib/netdev-dp

[ovs-dev] [PATCH 2/2] ofproto-dpif-ipfix: add interface Information Elements to flow key

2017-07-26 Thread Przemyslaw Szczerbik
upcalls. Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczer...@intel.com> --- v1->v2 * Add interfaceType and interfaceDescription * Rework ipfix_get_iface_data_record function ofproto/ofproto-dpif-ipfix.c | 356 +++ ofproto/ofproto-dpif-ipfi

[ovs-dev] [PATCH] ofproto-dpif-ipfix: add interface Information Elements to flow key

2017-07-24 Thread Przemyslaw Szczerbik
flow will include egressInterface information element. With this change, dpif_ipfix_exporter stores every port in hmap rather than only tunnel ports. It allows to easily retrieve required information about interfaces during sampling upcalls. Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szc

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

2017-07-14 Thread Przemyslaw Szczerbik
at least one OVS_ACTION_ATTR_OUTPUT action we assume that packet is going to be dropped. Packet can have direct OVS_ACTION_ATTR_OUTPUT action or one that is nested in OVS_ACTION_ATTR_CLONE action. Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczer...@intel.com> --- v1->v2 * Prevent

[ovs-dev] [PATCH] ofproto-dpif-ipfix: add Exporting Process Reliability Statistics

2017-07-05 Thread Przemyslaw Szczerbik
. the frequency of the (Options) Template transmissions MUST be configurable. OvS doesn't comply to this requirement. Therefore, it seems to be a good idea to make both intervals configurable at the same time. Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczer...@intel.com> --- ofproto/o

[ovs-dev] [PATCH] ofproto-dpif-ipfix: Multicast/Broadcast/Unicast counters.

2017-06-26 Thread Przemyslaw Szczerbik
gli...@intel.com> Signed-off-by: Michal Weglicki <michalx.wegli...@intel.com> Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczer...@intel.com> --- ofproto/ofproto-dpif-ipfix.c | 142 --- 1 file changed, 135 insertions(+), 7 deletions(-) diff --git

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

2017-05-11 Thread Przemyslaw Szczerbik
This patch implements support for per-flow TCP IPFIX counters. It's based on RFC 5102, section 5.10. Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczer...@intel.com> --- ofproto/ofproto-dpif-ipfix.c | 144 +-- 1 file changed, 126 insertions(