[ovs-dev] [PATCH v5] dpcls: Use 32 packet batches for lookups.

2016-10-20 Thread Bhanuprakash Bodireddy
This patch increases the number of packets processed in a batch during a lookup from 16 to 32. Processing batches of 32 packets improves performance and also one of the internal loops can be avoided here. Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Signed-off-by

[ovs-dev] [PATCH v4 4/4] dpcls: Use 32 packet batches for lookups.

2016-10-18 Thread Bhanuprakash Bodireddy
This patch increases the number of packets processed in a batch during a lookup from 16 to 32. Processing batches of 32 packets improves performance and also one of the internal loops can be avoided here. Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Signed-off-by

[ovs-dev] [PATCH v4 1/4] flow: Skip invoking expensive count_1bits() with zero input.

2016-10-18 Thread Bhanuprakash Bodireddy
This patch checks if trash is non-zero and only then resets the flowmap bit and increment the pointer by set bits as found in trash. Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Signed-off-by: Antonio Fischetti Acked-by: Jarno Rajahalme --- lib/flow.h | 11

[ovs-dev] [PATCH v4 2/4] flow: Add comments to mf_get_next_in_map().

2016-10-18 Thread Bhanuprakash Bodireddy
This patch adds comments to mf_get_next_in_map() to make it more comprehensible. Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Jarno Rajahalme Acked-by: Antonio Fischetti --- lib/flow.h | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git

[ovs-dev] [PATCH v4 3/4] cmap: Remove prefetching in cmap_find_batch().

2016-10-18 Thread Bhanuprakash Bodireddy
prefetching the data in to the caches isn't improving the performance in cmap_find_batch(). Moreover its found that there is slight improvement in performance with out prefetching. This patch removes prefetching from cmap_find_batch(). Signed-off-by: Bhanuprakash Bodireddy Co-author

[ovs-dev] [PATCH v3 10/12] ovsdb: Reorder elements in ovsdb_table_schema structure.

2016-10-14 Thread Bhanuprakash Bodireddy
By reordering the elements in ovsdb_table_schema structure, pad bytes can be reduced and also a cache line is saved. Before: structure size:72, holes:2, sum padbytes:10, cachelines:2 After: structure size:64, holes:1, sum padbytes:2, cachelines:1 Signed-off-by: Bhanuprakash Bodireddy Co

[ovs-dev] [PATCH v3 12/12] timeval: Reorder elements in clock structure.

2016-10-14 Thread Bhanuprakash Bodireddy
By reordering the elements in clock structure, pad bytes can be reduced and also a cache line is saved. Before: structure size:136, holes:3, sum padbytes:18, cachelines:3 After: structure size:120, holes:1, sum padbytes:2, cachelines:2 Signed-off-by: Bhanuprakash Bodireddy Co-authored-by

[ovs-dev] [PATCH v3 11/12] netlink-socket: Reorder elements in nl_dump structure.

2016-10-14 Thread Bhanuprakash Bodireddy
By reordering the elements in nl_dump structure, pad bytes can be reduced there by saving a cache line. Before: structure size:72, holes:1, sum padbytes:4, cachelines:2 After: structure size:64, holes:0, sum padbytes:0, cachelines:1 Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio

[ovs-dev] [PATCH v3 09/12] dpif: Reorder elements in dpif_upcall structure.

2016-10-14 Thread Bhanuprakash Bodireddy
, sum padbytes:60, cachelines:12 After: structure size:704, holes:1, sum padbytes:4, cachelines:11 Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Signed-off-by: Antonio Fischetti Acked-by: Jarno Rajahalme --- lib/dpif.h | 5 - 1 file changed, 4 insertions(+), 1

[ovs-dev] [PATCH v3 08/12] dpif-netdev: Reorder elements in dp_netdev_port structure.

2016-10-14 Thread Bhanuprakash Bodireddy
By reordering the data elements in dp_netdev_port structure, pad bytes can be reduced and there by saving a cache line. Before: structure size:136, holes:3, sum padbytes:15, cachelines:3 After: structure size:128, holes:2, sum padbytes:7, cachelines:2 Signed-off-by: Bhanuprakash Bodireddy Co

[ovs-dev] [PATCH v3 07/12] dpif-netdev: Cache align netdev_flow_keys.

2016-10-14 Thread Bhanuprakash Bodireddy
Aligning the 'keys' array seems to have positive performance impact. Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Signed-off-by: Antonio Fischetti Acked-by: Daniele Di Proietto --- lib/dpif-netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[ovs-dev] [PATCH v3 06/12] cmap: Remove prefetching in cmap_find_batch().

2016-10-14 Thread Bhanuprakash Bodireddy
prefetching the data in to the caches isn't improving the performance in cmap_find_batch(). Moreover its found that there is slight improvement in performance with out prefetching. This patch removes prefetching from cmap_find_batch(). Signed-off-by: Bhanuprakash Bodireddy Co-author

[ovs-dev] [PATCH v3 05/12] dpif-netdev: Add comments to dp_netdev_input__().

2016-10-14 Thread Bhanuprakash Bodireddy
Add comments in dp_netdev_input__() to explain the reason behind clearing the flow batches before packet_batch_execute(). Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Signed-off-by: Antonio Fischetti Acked-by: Daniele Di Proietto --- lib/dpif-netdev.c | 9

[ovs-dev] [PATCH v3 04/12] hash: Skip Invoking mhash_add__() with zero input.

2016-10-14 Thread Bhanuprakash Bodireddy
mhash_add__() is expensive and should be only called with valid input. zero-valued 'data' will not affect the 'hash' value and expensive hash computation can be skipped when input is zero. This patch will validate the input in mhash_add__ to save some cpu cycles. Signed-

[ovs-dev] [PATCH v3 03/12] flow: Skip invoking expensive count_1bits() with zero input.

2016-10-14 Thread Bhanuprakash Bodireddy
This patch checks if trash is non-zero and only then resets the flowmap bit and increment the pointer by set bits as found in trash. Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Signed-off-by: Antonio Fischetti Acked-by: Jarno Rajahalme --- lib/flow.h | 15

[ovs-dev] [PATCH v3 01/12] dpcls: Use 32 packet batches for lookups.

2016-10-14 Thread Bhanuprakash Bodireddy
This patch increases the number of packets processed in a batch during a lookup from 16 to 32. Processing batches of 32 packets improves performance and also one of the internal loops can be avoided here. Signed-off-by: Antonio Fischetti Co-authored-by: Bhanuprakash Bodireddy Signed-off-by

[ovs-dev] [PATCH v3 02/12] flow: Add comments to mf_get_next_in_map().

2016-10-14 Thread Bhanuprakash Bodireddy
This patch adds comments to mf_get_next_in_map() to make it more comprehensible. Signed-off-by: Jarno Rajahalme Acked-by: Bhanuprakash Bodireddy Acked-by: Antonio Fischetti --- lib/flow.h | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/lib

[ovs-dev] [PATCH v3 00/12] Improve performance of OVS-DPDK classifier.

2016-10-14 Thread Bhanuprakash Bodireddy
thrashing, memory latency, machine clears and expensive hash computation. This first patch-set improves the dpcls performance by 15% (+1 Mpps) when EMC is disabled and OVS-DPDK built with CFLAGS="-O2 -g". Bhanuprakash Bodireddy (12): dpcls: Use 32 packet batches for lookups. Comm

[ovs-dev] [PATCH v2 10/12] ovsdb: Reorder elements in ovsdb_table_schema structure.

2016-10-13 Thread Bhanuprakash Bodireddy
By reordering the elements in ovsdb_table_schema structure, pad bytes can be reduced and also a cache line is saved. Before: structure size:72, holes:2, sum padbytes:10, cachelines:2 After: structure size:64, holes:1, sum padbytes:2, cachelines:1 Signed-off-by: Bhanuprakash Bodireddy Co

[ovs-dev] [PATCH v2 11/12] netlink-socket: Reorder elements in nl_dump structure.

2016-10-13 Thread Bhanuprakash Bodireddy
By reordering the elements in nl_dump structure, pad bytes can be reduced there by saving a cache line. Before: structure size:72, holes:1, sum padbytes:4, cachelines:2 After: structure size:64, holes:0, sum padbytes:0, cachelines:1 Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio

[ovs-dev] [PATCH v2 09/12] dpif: Reorder elements in dpif_upcall structure.

2016-10-13 Thread Bhanuprakash Bodireddy
, sum padbytes:60, cachelines:12 After: structure size:704, holes:1, sum padbytes:4, cachelines:11 Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Acked-by: Jarno Rajahalme --- lib/dpif.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/dpif.h

[ovs-dev] [PATCH v2 12/12] timeval: Reorder elements in clock structure.

2016-10-13 Thread Bhanuprakash Bodireddy
By reordering the elements in clock structure, pad bytes can be reduced and also a cache line is saved. Before: structure size:136, holes:3, sum padbytes:18, cachelines:3 After: structure size:120, holes:1, sum padbytes:2, cachelines:2 Signed-off-by: Bhanuprakash Bodireddy Co-authored-by

[ovs-dev] [PATCH v2 06/12] cmap: Remove prefetching in cmap_find_batch().

2016-10-13 Thread Bhanuprakash Bodireddy
prefetching the data in to the caches isn't improving the performance in cmap_find_batch(). Moreover its found that there is slight improvement in performance with out prefetching. This patch removes prefetching from cmap_find_batch(). Signed-off-by: Bhanuprakash Bodireddy Co-author

[ovs-dev] [PATCH v2 08/12] dpif-netdev: Reorder elements in dp_netdev_port structure.

2016-10-13 Thread Bhanuprakash Bodireddy
By reordering the data elements in dp_netdev_port structure, pad bytes can be reduced and there by saving a cache line. Before: structure size:136, holes:3, sum padbytes:15, cachelines:3 After: structure size:128, holes:2, sum padbytes:7, cachelines:2 Signed-off-by: Bhanuprakash Bodireddy Co

[ovs-dev] [PATCH v2 07/12] dpif-netdev: Cache align netdev_flow_keys.

2016-10-13 Thread Bhanuprakash Bodireddy
Aligning the 'keys' array seems to have positive performance impact. Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti --- lib/dpif-netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 84aa57

[ovs-dev] [PATCH v2 01/12] dpcls: Use 32 packet batches for lookups.

2016-10-13 Thread Bhanuprakash Bodireddy
This patch increases the number of packets processed in a batch during a lookup from 16 to 32. Processing batches of 32 packets improves performance and also one of the internal loops can be avoided here. Signed-off-by: Antonio Fischetti Co-authored-by: Bhanuprakash Bodireddy --- lib/dpif

[ovs-dev] [PATCH v2 04/12] hash: Skip Invoking mhash_add__() with zero input.

2016-10-13 Thread Bhanuprakash Bodireddy
mhash_add__() is expensive and should be only called with valid input. zero-valued 'data' will not affect the 'hash' value and expensive hash computation can be skipped when input is zero. This patch will validate the input in mhash_add__ to save some cpu cycles. Signed-

[ovs-dev] [PATCH v2 05/12] dpif-netdev: Add comments to dp_netdev_input__().

2016-10-13 Thread Bhanuprakash Bodireddy
Add comments in dp_netdev_input__() to explain the reason behind clearing the flow batches before packet_batch_execute(). Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti --- lib/dpif-netdev.c | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/dpif-netdev.c

[ovs-dev] [PATCH v2 03/12] flow: Skip invoking expensive count_1bits() with zero input.

2016-10-13 Thread Bhanuprakash Bodireddy
This patch checks if trash is non-zero and only then resets the flowmap bit and increment the pointer by set bits as found in trash. Signed-off-by: Bhanuprakash Bodireddy Co-authored-by: Antonio Fischetti Acked-by: Jarno Rajahalme --- lib/flow.h | 15 ++- 1 file changed, 10

[ovs-dev] [PATCH v2 00/12] Improve performance of OVS-DPDK classifier.

2016-10-13 Thread Bhanuprakash Bodireddy
thrashing, memory latency, machine clears and expensive hash computation. This first patch-set improves the dpcls performance by 15% (+1 Mpps) when EMC is disabled and OVS-DPDK built with CFLAGS="-O2 -g". Bhanuprakash Bodireddy (12): dpcls: Use 32 packet batches for lookups. Comm

[ovs-dev] [PATCH v2 02/12] flow: Add comments to mf_get_next_in_map().

2016-10-13 Thread Bhanuprakash Bodireddy
This patch adds comments to mf_get_next_in_map() to make it more comprehensible. Signed-off-by: Jarno Rajahalme Acked-by: Bhanuprakash Bodireddy Acked-by: Antonio Fischetti --- lib/flow.h | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/lib

[ovs-dev] [PATCH 09/12] dpif: Reorder elements in dpif_upcall structure.

2016-10-07 Thread Bhanuprakash Bodireddy
By reordering the data elements in dpif_upcall structure, pad bytes can be reduced and also a cache line. Before: structure size:768, holes:1, sum padbytes:60, cachelines:12 After: structure size:656, holes:1, sum padbytes:4, cachelines:11 Signed-off-by: Bhanuprakash Bodireddy Signed-off-by

[ovs-dev] [PATCH 07/12] dpif-netdev: Cache align netdev_flow_keys.

2016-10-07 Thread Bhanuprakash Bodireddy
Aligning the 'keys' array seems to positively impact performance. Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Antonio Fischetti --- lib/dpif-netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index d0bb191..dfc9

[ovs-dev] [PATCH 12/12] timeval: Reorder elements in clock structure.

2016-10-07 Thread Bhanuprakash Bodireddy
By reordering the elements in clock structure, pad bytes can be reduced and also a cache line is saved. Before: structure size:136, holes:3, sum padbytes:18, cachelines:3 After: structure size:120, holes:1, sum padbytes:2, cachelines:2 Signed-off-by: Bhanuprakash Bodireddy Signed-off-by

[ovs-dev] [PATCH 11/12] netlink-socket: Reorder elements in nl_dump structure.

2016-10-07 Thread Bhanuprakash Bodireddy
By reordering the elements in nl_dump structure, pad bytes can be reduced there by saving a cache line. Before: structure size:72, holes:1, sum padbytes:4, cachelines:2 After: structure size:64, holes:0, sum padbytes:0, cachelines:1 Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Antonio

[ovs-dev] [PATCH 10/12] ovsdb: Reorder elements in ovsdb_table_schema structure.

2016-10-07 Thread Bhanuprakash Bodireddy
By reordering the elements in ovsdb_table_schema structure, pad bytes can be reduced and also a cache line is saved. Before: structure size:72, holes:2, sum padbytes:10, cachelines:2 After: structure size:64, holes:1, sum padbytes:2, cachelines:1 Signed-off-by: Bhanuprakash Bodireddy Signed-off

[ovs-dev] [PATCH 08/12] dpif-netdev: Reorder elements in dp_netdev_port structure.

2016-10-07 Thread Bhanuprakash Bodireddy
By reordering the data elements in dp_netdev_port structure, pad bytes can be reduced and there by saving a cache line. Before: structure size:136, holes:3, sum padbytes:15, cachelines:3 After: structure size:128, holes:1, sum padbytes:7, cachelines:2 Signed-off-by: Bhanuprakash Bodireddy

[ovs-dev] [PATCH 06/12] cmap: Remove prefetching in cmap_find_batch().

2016-10-07 Thread Bhanuprakash Bodireddy
prefetching the data in to the caches isn't improving the performance in cmap_find_batch(). Moreover its found that there is slight improvement in performance with out prefetching. This patch removes prefetching from cmap_find_batch(). Signed-off-by: Bhanuprakash Bodireddy Signed-o

[ovs-dev] [PATCH 05/12] dpif-netdev: Clear flow batches inside packet_batch_execute.

2016-10-07 Thread Bhanuprakash Bodireddy
inside the packet_batch_per_flow_execute(). Also the vtune analysis showed that the overall no. of instructions retired for dp_netdev_input__ reduced by 1,273,800,000 with this patch. Fixes: 603f2ce04d00 ("dpif-netdev: Clear flow batches before execute.") Signed-off-by: Bhanuprakash Bodired

[ovs-dev] [PATCH 04/12] hash: Skip invoking mhash_add__() with zero input.

2016-10-07 Thread Bhanuprakash Bodireddy
mhash_add__() is expensive and should be only called with valid input. This patch will validate the input before invoking the mhash_add__ and there by saving some cpu cycles. Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Antonio Fischetti --- lib/hash.h | 2 +- 1 file changed, 1

[ovs-dev] [PATCH 03/12] flow: Skip invoking expensive count_1bits() with zero input.

2016-10-07 Thread Bhanuprakash Bodireddy
This patch checks if trash is non-zero and only then resets the flowmap bit and increment the pointer by set bits as found in trash. Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Antonio Fischetti --- lib/flow.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[ovs-dev] [PATCH 00/12] Improve performance of OVS-DPDK classifier

2016-10-07 Thread Bhanuprakash Bodireddy
thrashing, memory latency, machine clears and expensive hash computation. This first patch-set improves the dpcls performance by 15% (~1 Mpps) when EMC is disabled and OVS-DPDK built with CFLAGS="-O2 -g". Bhanuprakash Bodireddy (12): dpcls: Use 32 packet batches for lookups. Comm

[ovs-dev] [PATCH 02/12] flow: Add comments to mf_get_next_in_map()

2016-10-07 Thread Bhanuprakash Bodireddy
Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Antonio Fischetti --- lib/flow.h | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/lib/flow.h b/lib/flow.h index ea24e28..4eb19ae 100644 --- a/lib/flow.h +++ b/lib/flow.h @@ -570,15 +570,27 @@ struct

[ovs-dev] [PATCH 01/12] dpcls: Use 32 packet batches for lookups.

2016-10-07 Thread Bhanuprakash Bodireddy
This patch increases the number of packets processed in a batch during a lookup from 16 to 32. Processing batches of 32 packets improves performance and also one of the internal loops can be avoided here. Signed-off-by: Antonio Fischetti Signed-off-by: Bhanuprakash Bodireddy --- lib/dpif

[ovs-dev] [PATCH V7] netdev-dpdk: Increase pmd thread priority

2016-08-22 Thread Bhanuprakash Bodireddy
Increase the DPDK pmd thread scheduling priority by lowering the nice value. This will advise the kernel scheduler to prioritize pmd thread over other processes. Signed-off-by: Bhanuprakash Bodireddy --- v6->v7: * Remove realtime scheduling policy logic. * Increase pmd thread scheduling prior

[ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-15 Thread Bhanuprakash Bodireddy
be pinned to same core ('dpdk-lcore-mask','pmd-cpu-mask' should be non-overlapping). If dpdk-lcore-mask is set same as pmd-cpu-mask the pmd thread is not spawned on lowest core of the dpdk-lcore-mask. Also other processes with same affinity as PMD thread will be unresponsi

[ovs-dev] [PATCH 3/3] acinclude: Use SSE4.2 instruction set

2016-08-14 Thread Bhanuprakash Bodireddy
line 21027: ${ovs_cv__msse4.2+:}: bad substitution Signed-off-by: Bhanuprakash Bodireddy --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index aa57b47..93c7a5a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -280,7 +280

[ovs-dev] [PATCH 2/3] FAQ: Add question on Packet loss with RFC2544 tests

2016-08-14 Thread Bhanuprakash Bodireddy
Signed-off-by: Bhanuprakash Bodireddy --- FAQ.md | 13 + 1 file changed, 13 insertions(+) diff --git a/FAQ.md b/FAQ.md index 2f50b96..22345c3 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1051,6 +1051,19 @@ A: The short answer is that this is a misuse of a "tap" device. Use

[ovs-dev] [PATCH 1/3] INSTALL.DPDK-ADVANCED: Fix number and indentation in jumbo frames

2016-08-14 Thread Bhanuprakash Bodireddy
Fix numbering in jumbo frames subsection and indentation for markdown editor viewer. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/INSTALL.DPDK-ADVANCED.md b

[ovs-dev] [PATCH v2] ovs-appctl: Fix potential crash with missing timeout value

2016-08-08 Thread Bhanuprakash Bodireddy
ovs-appctl can crash with missing timeout value on --timeout. # ovs-appctl --timeout= dpif-netdev/pmd-stats-show Fix by using strtol and validate the timeout input. Signed-off-by: Bhanuprakash Bodireddy --- v1->v2: * Validate all input cases and tested below conditions. #ovs-app

[ovs-dev] [PATCH 2/2] ovs-appctl: Fix potential crash with timeout argument

2016-08-07 Thread Bhanuprakash Bodireddy
ovs-appctl can crash with missing timeout argument. # ovs-appctl --timeout= dpif-netdev/pmd-stats-show Fix by using strtol and validating the timeout value. Signed-off-by: Bhanuprakash Bodireddy --- utilities/ovs-appctl.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff

[ovs-dev] [PATCH 1/2] netdev-dpdk: Fix dead initialization reported by clang.

2016-08-07 Thread Bhanuprakash Bodireddy
Clang reports that value stored to 'tok' during initialization is never read. Signed-off-by: Bhanuprakash Bodireddy --- lib/netdev-dpdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index f37ec1c..dd79e4b 100644 --- a/

[ovs-dev] [PATCH] INSTALL.DPDK: Update documentation for DPDK 16.07 support

2016-08-07 Thread Bhanuprakash Bodireddy
ry' to 'set fwd mac retry'. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index 253d022..c0686ce 100644 --- a/INSTALL.DPDK.md +++ b/INSTALL.

[ovs-dev] [PATCH] INSTALL.DPDK-ADVANCED: Add vhost multiqueue loopback testcase.

2016-07-28 Thread Bhanuprakash Bodireddy
Add steps for loopback test using vhost-user configured with multiqueue doing packet forwarding in kernel. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 86 1 file changed, 86 insertions(+) diff --git a/INSTALL.DPDK

[ovs-dev] [PATCH v2] FAQ: Add contents section and enable internal links.

2016-07-27 Thread Bhanuprakash Bodireddy
Add contents section to FAQ and enable internal links in doc for pretty printing on GitHub. Signed-off-by: Bhanuprakash Bodireddy --- v1->v2 * Rebase. * Change link handling to titles. FAQ.md | 56 +++- 1 file changed, 27 insertions(+),

[ovs-dev] [PATCH] FAQ: Add contents section and enable internal links.

2016-07-27 Thread Bhanuprakash Bodireddy
Add contents section to FAQ and enable internal links in doc for pretty printing on GitHub. Signed-off-by: Bhanuprakash Bodireddy --- Reviewers can review the rendered form here https://github.com/bbodired/ovs/blob/master/FAQ.md FAQ.md | 52

[ovs-dev] [PATCH 1/3] INSTALL.md: Update missing hyperlink for Windows install guide.

2016-07-27 Thread Bhanuprakash Bodireddy
Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/INSTALL.md b/INSTALL.md index 47126a3..591f924 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -779,6 +779,7 @@ Please report problems to b...@openvswitch.org. [INSTALL.RHEL.md]:INSTALL.RHEL.md

[ovs-dev] [PATCH 2/3] INSTALL.RHEL: Update missing hyperlink for Fedora install guide.

2016-07-27 Thread Bhanuprakash Bodireddy
Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.RHEL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/INSTALL.RHEL.md b/INSTALL.RHEL.md index 82f3efd..3c3f1a7 100644 --- a/INSTALL.RHEL.md +++ b/INSTALL.RHEL.md @@ -167,4 +167,5 @@ Reporting Bugs Please report problems to b

[ovs-dev] [PATCH 3/3] INSTALL.md: Update configure section for built-in intrinsics.

2016-07-27 Thread Bhanuprakash Bodireddy
Built-in CRC32 intrinsics can be used for efficient hash computation on processors with SSE4.2 support. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.md | 15 +++ 1 file changed, 15 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 591f924..6fbf9ea 100644 --- a

[ovs-dev] [PATCH] FAQ: Update performance section regarding CRC32 intrinsics.

2016-07-27 Thread Bhanuprakash Bodireddy
Signed-off-by: Bhanuprakash Bodireddy --- FAQ.md | 16 1 file changed, 16 insertions(+) diff --git a/FAQ.md b/FAQ.md index 35e1cac..6218feb 100644 --- a/FAQ.md +++ b/FAQ.md @@ -688,6 +688,22 @@ A: The OVS kernel datapath may have been updated to a newer version than

[ovs-dev] [PATCH v5] netdev-dpdk: Set pmd thread priority

2016-07-27 Thread Bhanuprakash Bodireddy
ed to same core ('dpdk-lcore-mask','pmd-cpu-mask' should be non-overlapping). Also other processes with same affinity as PMD thread will be unresponsive. Signed-off-by: Bhanuprakash Bodireddy --- v4->v5: * Reword Note section in DPDK-ADVANCED.md v3->v4: * Document updat

[ovs-dev] [PATCH v4] netdev-dpdk: Set pmd thread priority

2016-07-26 Thread Bhanuprakash Bodireddy
mask','pmd-cpu-mask' should be non-overlapping). Also other processes with same affinity as PMD thread will be unresponsive. Signed-off-by: Bhanuprakash Bodireddy --- v3->v4: * Document update * Use ovs_strerror for reporting errors in lib-numa.c v2->v3: * Move set_priori

[ovs-dev] [PATCH] INSTALL.DPDK: Remove the experimental tag for OVS DPDK

2016-07-26 Thread Bhanuprakash Bodireddy
it removes experimental tag for OVS DPDK. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index 5407794..d3f6359 100644 --- a/INSTALL.DPDK.md +++ b/INSTALL.DPDK.md @@ -17,8 +17,6 @@ This file provides info

[ovs-dev] [PATCH v3] netdev-dpdk: Set pmd thread priority

2016-07-18 Thread Bhanuprakash Bodireddy
mask','pmd-cpu-mask' should be non-overlapping). Also other processes with same affinity as PMD thread will be unresponsive. Signed-off-by: Bhanuprakash Bodireddy --- v2->v3: * Move set_priority() function to lib/ovs-numa.c * Apply realtime scheduling policy and priority t

[ovs-dev] [PATCH v5] Makefile.am: Add clang static analysis support

2016-07-15 Thread Bhanuprakash Bodireddy
'scan-view ' command to examine the bug report. Signed-off-by: Bhanuprakash Bodireddy Acked-By: Lance Richardson --- v4->v5: Minor fixes in INSTALL.md v3->v4: * Add "Static Code Analysis" to INSTALL.md * Remove redundant --use-analyzer option v2->v3: * Refactor the co

[ovs-dev] [RFC PATCH] netdev-dpdk: Add OVS DPDK keep-alive functionality

2016-07-07 Thread Bhanuprakash Bodireddy
ing app to detect and report the core status inplace of collectd. collectd: Enabling dpdk plugin in collectd is WIP and under review here, https://github.com/collectd/collectd/pull/1649/commits Please note that to test this functionality RFC patch support DPDK 16.07 be applied first, http://ope

[ovs-dev] [PATCH v9 2/2] INSTALL.DPDK: Refactor DPDK install guide, add ADVANCED doc

2016-07-06 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy Acked-by: Flavio Leitner --- INSTALL.DPDK-ADVANCED.md | 858

[ovs-dev] [PATCH v9 1/2] INSTALL.DPDK: Refactor DPDK install documentation

2016-07-06 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy Acked-by: Flavio Leitner --- INSTALL.DPDK.md | 1309 ++- 1 file changed, 432 insertions(+), 877 deletions(-) diff --git a/INSTALL.DPDK.md b

[ovs-dev] [PATCH v9 0/2] INSTALL.DPDK: Refactor DPDK install documentation

2016-07-06 Thread Bhanuprakash Bodireddy
rts * General formatting changes, enable hyperlinks and wording changes v2->v3: * Rebased v1->v2: * Rebased * Update DPDK version to 16.04 * Add vsperf section in ADVANCED Guide Bhanuprakash Bodireddy (2): INSTALL.DPDK: Refactor DPDK install documentation INSTALL.DPDK: Refacto

[ovs-dev] [PATCH v2] netdev-dpdk: Set pmd thread priority

2016-07-05 Thread Bhanuprakash Bodireddy
ef and introduced dummy function "pmd_thread_setpriority" in netdev-dpdk.h * Rebase Signed-off-by: Bhanuprakash Bodireddy --- lib/dpif-netdev.c | 8 lib/netdev-dpdk.c | 14 ++ lib/netdev-dpdk.h | 7 +++ 3 files changed, 29 insertions(+) diff --git a/lib/dpif-

[ovs-dev] [PATCH v4] Makefile.am: Add clang static analysis support

2016-07-05 Thread Bhanuprakash Bodireddy
ed. * Add --use-cc to scan-build. v1->v2: * Change the output directory to tests/clang-analyzer-results * Remove '-j' make option, This might potentially hang some system while spawning infinite jobs. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.md | 21 +++

[ovs-dev] [PATCH v3] Makefile.am: Add clang static analysis support

2016-07-03 Thread Bhanuprakash Bodireddy
lts * Remove '-j' make option, This might potentially hang some system while spawning infinite jobs. Signed-off-by: Bhanuprakash Bodireddy --- Makefile.am | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Makefile.am b/Makefile.am index 8cb8523..df95f90 100644 --- a/Makefile.am +++

[ovs-dev] [PATCH v8 2/2] INSTALL.DPDK: Refactor DPDK install guide, add ADVANCED doc

2016-07-03 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy Acked-by: Flavio Leitner --- INSTALL.DPDK-ADVANCED.md | 883

[ovs-dev] [PATCH v8 1/2] INSTALL.DPDK: Refactor DPDK install documentation

2016-07-03 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy Acked-by: Flavio Leitner --- INSTALL.DPDK.md | 1315 +++ 1 file changed, 440 insertions(+), 875 deletions(-) diff --git a/INSTALL.DPDK.md b

[ovs-dev] [PATCH v8 0/2] INSTALL.DPDK: Refactor DPDK install guide

2016-07-03 Thread Bhanuprakash Bodireddy
* Refactor hugepage section in Beginner and Advanced guides * Added Guest libvirt configuration for vhostuser ports * General formatting changes, enable hyperlinks and wording changes v2->v3: * Rebased v1->v2: * Rebased * Update DPDK version to 16.04 * Add vsperf section in ADVANCED Guide

[ovs-dev] [PATCH v2] Makefile.am: Add clang static analysis support

2016-06-28 Thread Bhanuprakash Bodireddy
-dd-114251-1027-1> --allow-all-hosts Results can be viewed on browser: http://:/ v1->v2: * Change the output directory to tests/clang-analyzer-results * Remove '-j' make option, This might potentially hang some system while spawning infinite jobs. Signed-off-by: Bha

[ovs-dev] [PATCH] Makefile.am: Add clang static analysis support

2016-06-27 Thread Bhanuprakash Bodireddy
-mm-dd-114251-1027-1> --allow-all-hosts Results can be viewed on browser: http://:/ Signed-off-by: Bhanuprakash Bodireddy --- Makefile.am | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Makefile.am b/Makefile.am index 8cb8523..ac96be6 100644 --- a/Makefile.am +++ b/Makef

[ovs-dev] [PATCH] acinclude: check for numa library

2016-06-18 Thread Bhanuprakash Bodireddy
resence of numa library and output an appropriate error message "error: unable to find libnuma, install the dependency package" in case of missing package. Signed-off-by: Bhanuprakash Bodireddy --- acinclude.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acinclude.m4 b/acincl

[ovs-dev] [PATCH v7 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-06-14 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 868

[ovs-dev] [PATCH v7 0/2] doc: Refactor DPDK install guide

2016-06-14 Thread Bhanuprakash Bodireddy
: * Rebased v1->v2: * Rebased * Update DPDK version to 16.04 * Add vsperf section in ADVANCED Guide Bhanuprakash Bodireddy (2): doc: Refactor DPDK install documentation doc: Refactor DPDK install guide, add ADVANCED doc INSTALL.DPDK-ADVANCED.md | 868 +

[ovs-dev] [PATCH v7 1/2] doc: Refactor DPDK install documentation

2016-06-14 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 1303 ++- 1 file changed, 430 insertions(+), 873 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index

[ovs-dev] [PATCH v6 0/2] doc: Refactor DPDK install guide

2016-06-07 Thread Bhanuprakash Bodireddy
section in ADVANCED Guide Bhanuprakash Bodireddy (2): doc: Refactor DPDK install documentation doc: Refactor DPDK install guide, add ADVANCED doc INSTALL.DPDK-ADVANCED.md | 868 +++ INSTALL.DPDK.md | 1295 +++--- 2

[ovs-dev] [PATCH v6 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-06-07 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 868

[ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-07 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 1295 ++- 1 file changed, 420 insertions(+), 875 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index

[ovs-dev] [PATCH 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-05-26 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 863

[ovs-dev] [PATCH 1/2] doc: Refactor DPDK install documentation

2016-05-26 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 1299 ++- 1 file changed, 429 insertions(+), 870 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index

[ovs-dev] [PATCH v5 0/2] doc: Refactor DPDK install guide

2016-05-26 Thread Bhanuprakash Bodireddy
ks and wording changes v2->v3: * Rebased v1->v2: * Rebased * Update DPDK version to 16.04 * Add vsperf section in ADVANCED Guide Bhanuprakash Bodireddy (2): doc: Refactor DPDK install documentation doc: Refactor DPDK install guide, add ADVANCED doc INSTALL.DPDK-ADVANC

[ovs-dev] [PATCH 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-05-17 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 840

[ovs-dev] [PATCH 1/2] doc: Refactor DPDK install documentation

2016-05-17 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 1277 ++- 1 file changed, 425 insertions(+), 852 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index

[ovs-dev] [PATCH v4 0/2] doc: Refactor DPDK install guide

2016-05-17 Thread Bhanuprakash Bodireddy
in Beginner and Advanced guides * Added Guest libvirt configuration for vhostuser ports * General formatting changes, enable hyperlinks and wording changes v2->v3: * Rebased v1->v2: * Rebased * Update DPDK version to 16.04 * Add vsperf section in ADVANCED Guide Bhanuprakash Bodireddy (2): doc:

[ovs-dev] [PATCH 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-05-08 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 809

[ovs-dev] [PATCH 1/2] doc: Refactor DPDK install documentation

2016-05-08 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 1193 +++ 1 file changed, 331 insertions(+), 862 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index

[ovs-dev] [PATCH v3 0/2] doc: Refactor DPDK install guide

2016-05-08 Thread Bhanuprakash Bodireddy
, performance tuning, vhost walkthrough are moved to DPDK-ADVANCED guide. v1->v2: - Rebased - Update DPDK version to 16.04 - Add vsperf section in ADVANCED Guide v2->v3: - Rebased Bhanuprakash Bodireddy (2): doc: Refactor DPDK install documentation doc: Refactor DPDK install guide, add ADVANC

[ovs-dev] [PATCH] netdev-dpdk: Set pmd thread priority

2016-04-21 Thread Bhanuprakash Bodireddy
ore(s) in the mask and real time scheduling policy SCHED_RR and highest static priority is applied to the pmd thread(s). To reproduce use following commands: ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=6 taskset 0x2 cat /dev/zero > /dev/null & Signed-off-by: Bhanup

[ovs-dev] [PATCH 1/2] doc: Refactor DPDK install documentation

2016-04-16 Thread Bhanuprakash Bodireddy
running dpdk datapath. This commit updates INSTALL.DPDK.md document. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK.md | 1120 +++ 1 file changed, 291 insertions(+), 829 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index

[ovs-dev] [PATCH v2 0/2] doc: Refactor DPDK install guide

2016-04-16 Thread Bhanuprakash Bodireddy
, performance tuning, vhost walkthrough are moved to DPDK-ADVANCED guide. v1->v2: - Rebase - Update DPDK version to 16.04 - Add vsperf section in ADVANCED Guide Bhanuprakash Bodireddy (2): doc: Refactor DPDK install documentation doc: Refactor DPDK install guide, add ADVANCED doc INSTALL.D

[ovs-dev] [PATCH 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-04-16 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 804

[ovs-dev] [PATCH v5] acinclude: Autodetect DPDK location when configuring OVS

2016-04-12 Thread Bhanuprakash Bodireddy
sources for dpdk datapath. If the install location is manually specified in "--with-dpdk" autodiscovery shall be skipped. v4->v5 - Minor code fixes and indentation changes as suggested by Ben Signed-off-by: Bhanuprakash Bodireddy --- acin

[ovs-dev] [PATCH v4] acinclude: Autodetect DPDK location when configuring OVS

2016-03-31 Thread Bhanuprakash Bodireddy
sources for dpdk datapath. If the install location is manually specified in "--with-dpdk" autodiscovery shall be skipped. Signed-off-by: Bhanuprakash Bodireddy --- acinclude.m4 | 67 +--- 1 file changed, 46 insertions(+), 21 deletion

[ovs-dev] [PATCH v3] acinclude: Autodetect DPDK when configuring OVS

2016-03-25 Thread Bhanuprakash Bodireddy
sources for dpdk datapath. If the install location is manually specified in "--with-dpdk" autodiscovery shall be skipped Signed-off-by: Bhanuprakash Bodireddy --- acinclude.m4 | 61 1 file changed, 37 insertions(+), 24 deletion

  1   2   >