Re: [ovs-dev] [PATCH ovs V6 00/24] Introducing HW offload support for openvswitch

2017-04-01 Thread Roi Dayan
On 31/03/2017 01:11, Marcelo Ricardo Leitner wrote: On Thu, Mar 30, 2017 at 03:43:36PM -0300, Marcelo Ricardo Leitner wrote: On Wed, Mar 29, 2017 at 03:43:10PM +0300, Roi Dayan wrote: This patch series introduces rule offload functionality to dpif-netlink via netdev ports new flow offloading

[ovs-dev] [PATCH] datapath: Avoid struct copy on conntrack labels.

2017-04-01 Thread Jarno Rajahalme
Older kernels have variable sized labels, and the struct itself contains only the length, so we must memcpy the bits explicitly. The modified system test fails on older kernels without this change. VMware-BZ: #1841876 Fixes: 09aa98ad496d ("datapath: Inherit master's labels.") Signed-off-by: Jarno

[ovs-dev] [PATCH 7/7] Documentation: Update DPDK doc with Keepalive feature.

2017-04-01 Thread Bhanuprakash Bodireddy
Signed-off-by: Bhanuprakash Bodireddy --- Documentation/howto/dpdk.rst | 95 1 file changed, 95 insertions(+) diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst index dc63f7d..26f702c 100644 --- a/Documentation/howto/dpdk.rst +++

[ovs-dev] [PATCH 6/7] vswitch.xml: Add keepalive support.

2017-04-01 Thread Bhanuprakash Bodireddy
Add support for keepalive functionality to DPDK datapath. By default, the keepalive is OFF and can be enabled/disabled either at start time. For eg: To enable keepalive feature. 'ovs-vsctl --no-wait set Open_vSwitch . other_config:keepalive=true' To set timer interval of 50ms for monitoring

[ovs-dev] [PATCH 5/7] utils: Introduce xusleep for subsecond granularity.

2017-04-01 Thread Bhanuprakash Bodireddy
This will be used by KA framework that needs millisecond granularity. Signed-off-by: Bhanuprakash Bodireddy --- lib/util.c | 12 lib/util.h | 1 + 2 files changed, 13 insertions(+) diff --git a/lib/util.c b/lib/util.c index 1c06ce0..889ebd8 100644 --- a/lib/util.c +++ b/lib/util.c

[ovs-dev] [PATCH 4/7] process: Retrieve process status.

2017-04-01 Thread Bhanuprakash Bodireddy
Implement function to retrieve the process status. This will be used by Keepalive monitoring thread for detecting false alarms. Signed-off-by: Bhanuprakash Bodireddy --- lib/process.c | 60 +++ lib/process.h | 10 ++ 2 files changed

[ovs-dev] [PATCH 2/7] dpif-netdev: Register packet processing cores for keepalive.

2017-04-01 Thread Bhanuprakash Bodireddy
This commit registers the packet processing cores for keepalive monitoring. Also the pmd threads respond to heartbeats by marking themselves alive. When the pmd thread is teared down due to datapath reconfiguration the core state is marked as 'sleep'. Signed-off-by: Bhanuprakash Bodireddy --- li

[ovs-dev] [PATCH 3/7] netdev-dpdk: Add support for keepalive functionality.

2017-04-01 Thread Bhanuprakash Bodireddy
This commit initializes the keepalive subsystem and spawns keepalive thread that wakes up at regular intervals to update the timestamp and status of pmd cores in shared memory. This patch implements POSIX shared memory object for storing the events that will be read by monitoring framework. Also i

[ovs-dev] [PATCH 1/7] dpdk: Add helper functions for DPDK keepalive.

2017-04-01 Thread Bhanuprakash Bodireddy
Introduce helper functions in 'dpdk' module that are needed for keepalive functionality. Also add dummy functions in 'dpdk-stub' module that are needed when DPDK is not available. Signed-off-by: Bhanuprakash Bodireddy --- lib/dpdk-stub.c | 30 +++ lib/dpdk.c | 92 +++

[ovs-dev] [PATCH 0/7] Add OVS DPDK keep-alive functionality

2017-04-01 Thread Bhanuprakash Bodireddy
This patch is aimed at achieving Fastpath Service Assurance in OVS-DPDK deployments. This commit adds support for monitoring the packet processing cores(pmd thread cores) by dispatching heartbeats at regular intervals. Incase of heartbeat miss the failure shall be detected & reported to higher leve