[dpdk-dev] [PATCH 1/2] net/mlx5: modify PMD args process

2017-04-16 Thread Shahaf Shuler
Currently the argument process is done without indication which parameter was forced by the application and which one is on it default value. This becomes problematic when different features requires different defaults. For example, Enhanced multi packet send and TSO. This commit modifies the argu

[dpdk-dev] [PATCH 2/2] net/mlx5: fix PMD specific parameters defaults

2017-04-16 Thread Shahaf Shuler
With the Enhanced multi packet send addition, the defaults were made in order to get the maximum out of the box performance. Features like tso, don't use the enhanced send, however the defaults are still valid. This cause Tx queue creation to fail. Fixes: aea00c008140 ("net/mlx5: add hardware TSO

[dpdk-dev] [PATCH] examples/vhost: fix the use of strnlen()

2017-04-16 Thread jiangg
The return value of strnlen(s, maxlen) is never bigger than maxlen. Signed-off-by: jiangg --- examples/vhost/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index aa88733..e07f866 100644 --- a/examples/vhost/main.c +++ b/ex

[dpdk-dev] [PATCH] examples/performance-thread: add c++ ifdefs

2017-04-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- examples/performance-thread/common/arch/x86/ctx.h | 8 examples/performance-thread/common/lthread.h | 8 examples/performance-thread/common/lthread_api.h | 8 examples/performance-thread/common/lthread_cond.h | 8

[dpdk-dev] [PATCH v2] examples/performance-thread: add c++ ifdefs

2017-04-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- v2 - change ctx.h to be 664 permissions. examples/performance-thread/common/arch/x86/ctx.h | 8 examples/performance-thread/common/lthread.h | 8 examples/performance-thread/common/lthread_api.h | 8 examples/performance

Re: [dpdk-dev] Q on IXGBE and I40E vector Tx processing

2017-04-16 Thread Ravi Kerur
Hi, The reason I am asking I because I have tried different combinations of scalar and vector Tx and Rx processing for both IXGBE and I40E with following results 1. Vector Rx and Vector Tx gives best performance but can only support packet size of less than or equal to 2048 bytes 2. Scalar Rx an

[dpdk-dev] Verbose build output not working

2017-04-16 Thread Wiles, Keith
When I add the V=1 on the make line it should show the compile and linker lines, but this does not seem to work any more. Did the method to show these build lines change? Regards, Keith

Re: [dpdk-dev] Q on IXGBE and I40E vector Tx processing

2017-04-16 Thread Ananyev, Konstantin
Hi Ravi, > > Hi, > > The reason I am asking I because I have tried different combinations of > scalar and vector Tx and Rx processing for both IXGBE and I40E with > following results > > 1. Vector Rx and Vector Tx gives best performance but can only support > packet size of less than or equal

Re: [dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset

2017-04-16 Thread Zhao1, Wei
Hi, Thomas All questions about this patch set has been answered, is it clear or not?And is there anything that I should do for it? Or it is OK for merge into 17.02-RC2? Thank you. > -Original Message- > From: Zhao1, Wei > Sent: Friday, April 14, 2017 4:03 PM > To: Thomas Monjalon >

Re: [dpdk-dev] [PATCH] net/i40e: downgrade unnecessary error print

2017-04-16 Thread Lu, Wenzhuo
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Friday, April 14, 2017 11:54 PM > To: Lu, Wenzhuo; Wu, Jingjing > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: downgrade unnecessary error print > > On 4/14/2017 11:49 AM, Ferruh Yigit wrote: > > On 4/14/2017 2:

Re: [dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset

2017-04-16 Thread Zhao1, Wei
Add Thomas new mail address for this mail. > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhao1, Wei > Sent: Monday, April 17, 2017 10:09 AM > To: 'Thomas Monjalon' > Cc: Ananyev, Konstantin ; Mcnamara, John > ; 'dev@dpdk.org' ; Lu, > Wenzhuo > Subject: Re: [

[dpdk-dev] [PATCH] net/i40e: downgrade error print

2017-04-16 Thread Wenzhuo Lu
When deleting the default MAC VLAN filter, it's expected that it may fail. So downgrade the error print from warning to debug. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/dri