Re: [dpdk-dev] [PATCH] net/mlx5: fix order of items in neon scatter func

2019-05-26 Thread Dekel Peled
PSB, thanks. > -Original Message- > From: Shahaf Shuler > Sent: Sunday, May 26, 2019 9:49 PM > To: Dekel Peled ; Yongseok Koh > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] net/mlx5: fix order of items in neon scatter > func > > Wednesday, May 15, 2019 1:08 PM, D

[dpdk-dev] [PATCH] doc: change linuxapp to linux

2019-05-26 Thread Yong Wang
Since linuxapp in build configs has been changed to linux, change it in the bluefield doc. Fixes: 22d1d1ccc357("doc: add Mellanox BlueField platform guide") Signed-off-by: Yong Wang --- doc/guides/platform/bluefield.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc

[dpdk-dev] [RFC] app/testpmd: add profiling for Rx/Tx burst routines

2019-05-26 Thread Viacheslav Ovsiienko
There is the testpmd configuration option called RTE_TEST_PMD_RECORD_CORE_CYCLES, if this one is turned on the testpmd application measures the CPU clocks spent within forwarding loop. This time is the sum of execution times of rte_eth_rx_burst(), rte_eth_tx_burst(), rte_delay_us(), rte_pktmbuf_fr

[dpdk-dev] [PATCH v2] net/mlx5: fix event handler uninstall

2019-05-26 Thread Viacheslav Ovsiienko
When device is being closed and tries to unregister interrupt callback, there is a chance the handler is still active (called in context of eal_intr_thread_main thread). If so the rte_intr_callback_unregister returns -EAGAIN and keeps the handler registered, causing crash when underlaying resourse

[dpdk-dev] [PATCH] kni: fix build on RHEL8

2019-05-26 Thread michael . luo
From: Luo Gaoliang Build error was seen on RHEL8 when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled. Build error log: /root/kni/dpdk-19.05/kernel/linux/kni/ethtool/igb/kcompat.h:3928:25: error: 'const struct net_device_ops' has no member named 'extended' #define ndo_set_vf_vlan extended.ndo_set_vf_vla

Re: [dpdk-dev] [PATCH] net/mlx5: match on TCP flags via DV/DR engine

2019-05-26 Thread Jack Min
On Mon, 19-05-27, 03:20, Shahaf Shuler wrote: > From: Jack Min > > >Add support to match all TCP control bits (flags) > >except "NS (ECN-nonce)" via Direct Verbs (DV) or Direct Rule (DR) > >engine. > > > >Signed-off-by: Xiaoyu Min > >Acked-by: Ori Kam > > Applied to next-net-mlx, with few poin

Re: [dpdk-dev] [PATCH] net/i40e: i40e rework for ipn3ke

2019-05-26 Thread Pei, Andy
Hi, Ferruh Thanks a lot. Your tips is really helpful, and I will follow this in the future. -Original Message- From: Yigit, Ferruh Sent: Friday, May 24, 2019 9:12 PM To: Xu, Rosen ; Pei, Andy ; dev@dpdk.org Cc: Zhang, Roy Fan ; Zhang, Qi Z ; Wu, Jingjing ; Xing, Beilei Subject: Re: [P

Re: [dpdk-dev] [PATCH 1/2] mk: add Marvell ARMADA architecture based on armv8-a

2019-05-26 Thread Ruifeng Wang (Arm Technology China)
> -Original Message- > From: Ferruh Yigit > Sent: Friday, May 24, 2019 21:07 > To: Ruifeng Wang (Arm Technology China) ; Liron > Himi ; tho...@monjalon.net > Cc: dev@dpdk.org; nd ; Gavin Hu (Arm Technology China) > > Subject: Re: [dpdk-dev] [PATCH 1/2] mk: add Marvell ARMADA architecture

Re: [dpdk-dev] [PATCH v2] net/mlx4: use dynamic log type

2019-05-26 Thread Shahaf Shuler
Friday, May 24, 2019 8:13 PM, Ferruh Yigit: > Subject: Re: [dpdk-dev] [PATCH v2] net/mlx4: use dynamic log type > > On 5/24/2019 5:03 PM, Stephen Hemminger wrote: > > From: Stephen Hemminger > > > > This driver should use dynamic log level not RTE_LOGTYPE_PMD. > > Other drivers were converted ba

Re: [dpdk-dev] [PATCH] net/mlx5: fix memory free on queue create error

2019-05-26 Thread Shahaf Shuler
Monday, May 20, 2019 8:42 PM, Ori Kam: > Subject: RE: [dpdk-dev] [PATCH] net/mlx5: fix memory free on queue create > error > > > > > -Original Message- > > From: dev On Behalf Of Dekel Peled > > Sent: Monday, May 20, 2019 11:07 AM > > To: Yongseok Koh ; Shahaf Shuler > > > > Cc: dev@dp

Re: [dpdk-dev] [PATCH] net/mlx5: fix event handler uninstall

2019-05-26 Thread Shahaf Shuler
Hi Slava, Saturday, May 25, 2019 12:26 PM, Of Viacheslav Ovsiienko: > Subject: [dpdk-dev] [PATCH] net/mlx5: fix event handler uninstall > > When device is being closed and tries to unregister interrupt callback, there > is > a chance the handler is still active (called in context of > eal_intr_

Re: [dpdk-dev] [PATCH] net/mlx5: fix order of items in neon scatter func

2019-05-26 Thread Shahaf Shuler
Wednesday, May 15, 2019 1:08 PM, Dekel Peled: > Subject: [dpdk-dev] [PATCH] net/mlx5: fix order of items in neon scatter > func > > Previous patch added handling of metadata for multi-segment packet. > Function txq_scatter_v in file mlx5_rxtx_vec_neon.h was updated > incorrectly, items were insert

Re: [dpdk-dev] [PATCH v1 1/5] vhost: fix add a missing include

2019-05-26 Thread Matan Azrad
From: Noa Ezra > Add a missing include with the defines for vhost-user driver features. > > Fixes: 5fbb3941da9f ("vhost: introduce driver features related APIs") > Cc: sta...@dpdk.org > > Signed-off-by: Noa Ezra Reviewed-by: Matan Azrad For all the series. > --- > lib/librte_vhost/rte_vh

[dpdk-dev] [PATCH] [RFC] ethdev: support flow aging

2019-05-26 Thread Matan Azrad
One of the reasons to destroy a flow is the fact that no packet matches the flow for "timeout" time. For example, when TCP\UDP sessions are suddenly closed. Currently, there is no any dpdk mechanism for flow aging and the applications use there own ways to detect and destroy aged-out flows. This