Re: [dpdk-dev] [PATCH] net/mlx5: fix representors detection

2018-07-22 Thread Nélio Laranjeiro
On Sun, Jul 22, 2018 at 11:18:34AM +, Shahaf Shuler wrote: > Hi Nelio, > > Friday, July 13, 2018 4:54 PM, Nelio Laranjeiro: > > Subject: [PATCH] net/mlx5: fix representors detection > > > > On systems where the required Netlink commands are not supported but > > Mellanox OFED is installed, r

[dpdk-dev] [PATCH] doc: add tested NICs in i40e guide

2018-07-22 Thread Xiaoyun Li
Add suggested kernel driver and firmware version for i40e PMD. Signed-off-by: Xiaoyun Li --- doc/guides/nics/i40e.rst | 29 + 1 file changed, 29 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index d5b02c9..d377d92 100644 --- a/doc/gui

Re: [dpdk-dev] [PATCH] ethdev: move sanity checks to non-debug paths

2018-07-22 Thread Matan Azrad
Hi Aaron From: Aaron Conole > These checks would have prevented a reported crash in the field. If a user > builds without ETHDEV_DEBUG, it should make their application more stable, > not less. > > Many of these functions immediately dereference arrays based on the passed > in values, so the san

[dpdk-dev] [PATCH] net/ixgbe: fix link status when link is NACK

2018-07-22 Thread Yanglong Wu
Link status should be set as down when link is NACK. Fixes: dc66e5fd01b9 ("net/ixgbe: improve link state check on VF") Signed-off-by: Yanglong Wu --- drivers/net/ixgbe/ixgbe_ethdev.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/

[dpdk-dev] commit 0ad778b39 (app/testpmd: rework softnic forward mode) compromises testpmd CLI

2018-07-22 Thread Mordechay Haimovsky
Hi, When starting testpmd after applying the above patch and pressing CTRL+D in the command prompts, testpmd exits abnormally Whit the following message : PANIC in prompt(): CLI poll error (-1) And a dump trace is displayed. Issue is traced to the following section in your commit: - cmdline

[dpdk-dev] 回复: Re: Does lthread_cond_wait need a mutex?

2018-07-22 Thread wubenqing
I'm really looking forward to it :) Regards, Wubenqing 发件人: Wiles, Keith 发送时间: 2018-07-21 21:49 收件人: 吴本卿(研五 福州) 抄送: dev@dpdk.org 主题: Re: [dpdk-dev] Does lthread_cond_wait need a mut

Re: [dpdk-dev] [RFC 1/1] eventdev: add distributed software (DSW) event device

2018-07-22 Thread Jerin Jacob
-Original Message- > Date: Wed, 11 Jul 2018 23:08:44 +0200 > From: Mattias Rönnblom > To: dev@dpdk.org > CC: jerin.ja...@caviumnetworks.com, bruce.richard...@intel.com, Mattias > Rönnblom > Subject: [RFC 1/1] eventdev: add distributed software (DSW) event device > X-Mailer: git-send-emai

[dpdk-dev] [PATCH] ethdev: move sanity checks to non-debug paths

2018-07-22 Thread Aaron Conole
These checks would have prevented a reported crash in the field. If a user builds without ETHDEV_DEBUG, it should make their application more stable, not less. Many of these functions immediately dereference arrays based on the passed in values, so the sanity checks are quite important. The logs

Re: [dpdk-dev] [PATCH v2 0/6] net/mlx5: add support for switch flow rules

2018-07-22 Thread Shahaf Shuler
Hi Adrien, Friday, July 13, 2018 12:41 PM, Adrien Mazarguil: > Subject: [PATCH v2 0/6] net/mlx5: add support for switch flow rules > > This series adds support for switch flow rules, that is, rte_flow rules > applied > to mlx5 devices at the switch level. > > It allows applications to offload t

Re: [dpdk-dev] [PATCH] net/mlx5: fix representors detection

2018-07-22 Thread Shahaf Shuler
Hi Nelio, Friday, July 13, 2018 4:54 PM, Nelio Laranjeiro: > Subject: [PATCH] net/mlx5: fix representors detection > > On systems where the required Netlink commands are not supported but > Mellanox OFED is installed, representors information must be retrieved > through sysfs. > > Fixes: 4c1014

[dpdk-dev] [PATCH v2] eal: free leaked storage

2018-07-22 Thread Aaron Conole
Previously, the logid variable would be leaked when the function returned. Signed-off-by: Aaron Conole --- lib/librte_eal/linuxapp/eal/eal.c | 71 ++- 1 file changed, 48 insertions(+), 23 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/libr

Re: [dpdk-dev] [PATCH] eal: free leaked logid storage

2018-07-22 Thread Aaron Conole
Aaron Conole writes: > Previously, the logid variable would be leaked when the function > returned. > > Signed-off-by: Aaron Conole > --- Ugh. Ignore this version. I broke it when I manually rebased. v2 soon.

[dpdk-dev] [PATCH] eal: free leaked logid storage

2018-07-22 Thread Aaron Conole
Previously, the logid variable would be leaked when the function returned. Signed-off-by: Aaron Conole --- lib/librte_eal/linuxapp/eal/eal.c | 65 ++- 1 file changed, 44 insertions(+), 21 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/libr

[dpdk-dev] [PATCH v3] examples/flow_filtering: add rte_fdir_conf initialization

2018-07-22 Thread Rosen Xu
Rte_fdir_conf of rte_eth_conf should be initialized before port initialization. It is a workaround solution when working with Intel I40e. Fixes: 4a3ef59a10c8 ("examples/flow_filtering: add simple demo of flow API") Cc: sta...@dpdk.org Signed-off-by: Rosen Xu Acked-by: Ori Kam v3 updates: =

Re: [dpdk-dev] [PATCH v2] examples/flow_filtering: add rte_fdir_conf initialization

2018-07-22 Thread Xu, Rosen
Hi, I have fixed it, thanks. > -Original Message- > From: Ori Kam [mailto:or...@mellanox.com] > Sent: Sunday, July 22, 2018 14:34 > To: Xu, Rosen ; dev@dpdk.org > Cc: Yigit, Ferruh ; Gilmore, Walter E > ; Zhang, Qi Z ; > sta...@dpdk.org > Subject: RE: [PATCH v2] examples/flow_filtering: a

Re: [dpdk-dev] [PATCH] mk: Detect AVX2 capability based on the target CPU architecture

2018-07-22 Thread Ananyev, Konstantin
> -Original Message- > From: Chaeyong Chong [mailto:cych...@gmail.com] > Sent: Saturday, July 21, 2018 3:54 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; Chaeyong Chong ; sta...@dpdk.org > Subject: [PATCH] mk: Detect AVX2 capability based on the target CPU > architecture > > From: