[dpdk-dev] [PATCH] acl: Improve acl_bld.c sort_rules()

2015-10-24 Thread Thomas Monjalon
> > Replace O(n^2) list sort with an O(n log n) merge sort. > > The merge sort is based on the solution suggested in: > > http://cslibrary.stanford.edu/105/LinkedListProblems.pdf > > Tested sort_rules() improvement: > > 100K rules: O(n^2): 31382 milliseconds; O(n log n): 10 milliseconds > > 259K

[dpdk-dev] [PATCH] librte_eal: Fix wrong header file for old gcc version

2015-10-24 Thread Thomas Monjalon
Please submit a v2 with complete git message including compiler error, Fixes and Acked-by tags. Thanks 2015-10-13 09:54, Bruce Richardson: > On Mon, Aug 24, 2015 at 05:22:57PM +0800, Michael Qiu wrote: > > For __SSE3__, the corresponding header file should be pmmintrin.h, > > tmmintrin.h works

[dpdk-dev] [PATCH] app/test-pmd: Detect NUMA socket count

2015-10-24 Thread Thomas Monjalon
> > Currently, there is a MAX_SOCKET macro which artificially limits the > > number of NUMA sockets testpmd can use. Anything on a higher socket > > ends up using socket zero. This patch replaces this with a variable > > set during set_default_fwd_lcores_config() and uses > > RTE_MAX_NUMA_NODES

[dpdk-dev] [PATCH v7 4/8] vhost: rxtx: use queue id instead of constant ring index

2015-10-24 Thread Michael S. Tsirkin
On Sat, Oct 24, 2015 at 12:34:08AM -0200, Flavio Leitner wrote: > On Thu, Oct 22, 2015 at 02:32:31PM +0300, Michael S. Tsirkin wrote: > > On Thu, Oct 22, 2015 at 05:49:55PM +0800, Yuanhan Liu wrote: > > > On Wed, Oct 21, 2015 at 05:26:18PM +0300, Michael S. Tsirkin wrote: > > > > On Wed, Oct 21,

[dpdk-dev] [PATCH v1] Return ENOMEM during mpipe_devinit failure

2015-10-24 Thread Thomas Monjalon
> >In function rte_pmd_mpipe_devinit, if rte_eth_dev_allocate > >fails return error which is inline with other drivers. > > > >Signed-off-by: Ravi Kerur > > Thanks for fixing this. > Acked-by: Zhigang Lu Applied, thanks

[dpdk-dev] [PATCH] vchost: Notify application of ownership change

2015-10-24 Thread Thomas Monjalon
2015-08-12 03:34, Xie, Huawei: > On 8/8/2015 1:21 AM, Jan Kiszka wrote: > > On VHOST_*_RESET_OWNER, we reinitialize the device but without telling > > the application. That will cause crashes when it continues to invoke > > vhost services on the device. Fix it by calling the destruction hook if >

[dpdk-dev] [PATCH] testpmd: modify the mac of csum forwarding

2015-10-24 Thread Thomas Monjalon
2015-10-13 06:29, Qiu, Michael: > Hi, Thomas > > Any comments on this patch? Is it suitable for DPDK? Please check with the testpmd maintainer. Pablo?

[dpdk-dev] [PATCH 3/5] bnx2x: Add RTE_LIBRTE_BNX2X_REG_ACCESS config option

2015-10-24 Thread Thomas Monjalon
2015-10-23 22:28, Harish Patil: > >2015-09-11 17:42, Rasesh Mody: > >> From: Harish Patil > >> --- a/config/common_linuxapp > >> +++ b/config/common_linuxapp > >> @@ -220,6 +220,7 @@ CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=n > >> CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n > >>

[dpdk-dev] [PATCH v7 4/8] vhost: rxtx: use queue id instead of constant ring index

2015-10-24 Thread Flavio Leitner
On Thu, Oct 22, 2015 at 02:32:31PM +0300, Michael S. Tsirkin wrote: > On Thu, Oct 22, 2015 at 05:49:55PM +0800, Yuanhan Liu wrote: > > On Wed, Oct 21, 2015 at 05:26:18PM +0300, Michael S. Tsirkin wrote: > > > On Wed, Oct 21, 2015 at 08:48:15PM +0800, Yuanhan Liu wrote: > > > > > Please note that

[dpdk-dev] DPDK patch backlog

2015-10-24 Thread Thomas Monjalon
2015-10-21 10:41, Matthew Hall: > On Wed, Oct 21, 2015 at 11:03:41AM +0200, Thomas Monjalon wrote: > > Compilation must be tested with GCC and clang, as static and shared > > libraries > > and for 32-bit and 64-bit targets. > > Is this process scripted somewhere? Yes, I've sent a script:

[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-24 Thread Matthew Hall
On 10/23/15 9:20 AM, Matthew Hall wrote: > On Fri, Oct 23, 2015 at 03:51:48PM +0200, Michal Jastrzebski wrote: >> From: Michal Kobylinski >> >> The current DPDK implementation for LPM for IPv4 and IPv6 limits the >> number of next hops to 256, as the next hop ID is an 8-bit long field. >>