Re: [dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-11 Thread Andrew Rybchenko
On 03/11/2018 03:51 PM, santosh wrote: Hi Andrew, On Saturday 10 March 2018 09:09 PM, Andrew Rybchenko wrote: Size of memory chunk required to populate mempool objects depends on how objects are stored in the memory. Different mempool drivers may have different requirements and a new operation

Re: [dpdk-dev] [PATCH v2 1/2] eventdev: add device stop flush callback

2018-03-11 Thread Jerin Jacob
-Original Message- > When an event device is stopped, it drains all event queues. These events > may contain pointers, so to prevent memory leaks eventdev now supports a > user-provided flush callback that is called during the queue drain process. > This callback is stored in process memory

Re: [dpdk-dev] [PATCH] net/dpaa: prefer defines for link speed values

2018-03-11 Thread Shreyansh Jain
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Friday, March 9, 2018 11:29 PM > To: Hemant Agrawal ; Shreyansh Jain > > Cc: dev@dpdk.org; Ferruh Yigit > Subject: [PATCH] net/dpaa: prefer defines for link speed values > > Use existing defines instead of

Re: [dpdk-dev] [PATCH] eventdev: add timestamping to received packets

2018-03-11 Thread Jerin Jacob
-Original Message- > Date: Tue, 20 Feb 2018 06:30:54 -0500 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com > CC: dev@dpdk.org, gage.e...@intel.com, narender.vang...@intel.com, > abhinandan.guj...@intel.com, nikhil@intel.com > Subject: [PATCH] eventdev: add timestamping to rece

Re: [dpdk-dev] [PATCH 3/4] drivers/net: do not allocate rte_eth_dev_data privately

2018-03-11 Thread Tan, Jianfeng
On 3/7/2018 2:10 PM, Matan Azrad wrote: Yes, we are removing all private rte_eth_dev_data. If I missed some device, welcome to point out. net/ring What is about next PCI device? net/cxgbe Will change these two in next version. Thank you, Matan.

Re: [dpdk-dev] [PATCH 2/4] bus/vdev: bus scan by multi-process channel

2018-03-11 Thread Tan, Jianfeng
On 3/7/2018 10:00 PM, Burakov, Anatoly wrote: On 04-Mar-18 3:30 PM, Jianfeng Tan wrote: To scan the vdevs in primary, we send request to primary process to obtain the names for vdevs. Only the name is shared from the primary. In probe(), the device driver is supposed to locate (or request mor

Re: [dpdk-dev] [PATCH v3] doc: add driver limitation for vhost dequeue zero copy

2018-03-11 Thread Tan, Jianfeng
On 3/9/2018 6:07 PM, Junjie Chen wrote: In vhost-switch example, when binding nic to vfio-pci with iommu enabled, dequeue zero copy cannot work in VM2NIC mode due to no iommu dma mapping is setup for guest memory currently. Signed-off-by: Junjie Chen --- Changes in V3: - update limitation to

Re: [dpdk-dev] [PATCH] vdev: fix name comparison in find_vdev

2018-03-11 Thread Tan, Jianfeng
Hi, On 3/10/2018 6:28 AM, Nachiketa Prachanda wrote: Use strcmp to compare device names as the strncmp in original code causes find_vdev to return -EEXIST for names that are prefix of another. The creation of interfaces fails unpredictably based on the order of their creation. An easy way hit

Re: [dpdk-dev] [PATCH v5 6/6] eal: ignore messages until init is complete

2018-03-11 Thread Tan, Jianfeng
On 3/8/2018 12:56 AM, Anatoly Burakov wrote: If we receive messages that don't have a callback registered for them, and we haven't finished initialization yet, it can be reasonably inferred that we shouldn't have gotten the message in the first place. Therefore, send requester a special message

Re: [dpdk-dev] [PATCH v3 18/18] net/axgbe: moved license headers to SPDX format

2018-03-11 Thread Stephen Hemminger
On Fri, 9 Mar 2018 03:42:34 -0500 Ravi Kumar wrote: > +.. Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. > +SPDX-License-Identifier: BSD-3-Clause > By convention SPDX tag is always first line of the file.

Re: [dpdk-dev] [PATCH] net/octeontx: use the new offload APIs

2018-03-11 Thread santosh
On Friday 09 March 2018 12:37 AM, Pavan Nikhilesh wrote: > Use the new Rx/Tx offload APIs and remove the old style offloads. > > Signed-off-by: Pavan Nikhilesh > --- Acked-by: Santosh Shukla

[dpdk-dev] Mellanox 18.05 roadmap

2018-03-11 Thread Olga Shern
Hi, Sorry for sending it a little bit late. Below is what we are planning to implement in 18.05 release: Support Rx stateless ethdev offloads (RSS, checksum and packet type classification) for various tunnel protocols. Including VXLAN, VXLAN-GPE, MPLSoGRE and MPLSoUDP. This new API will be impl

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix disabling Tx packet inlining

2018-03-11 Thread Shahaf Shuler
Tuesday, February 27, 2018 9:51 AM, NĂ©lio Laranjeiro > On Mon, Feb 26, 2018 at 09:50:57AM -0800, Yongseok Koh wrote: > > Adding 'txq_inline=0' to PMD parameter should disable Tx packet > > inlining but it doesn't work properly for Enhanced Multi-Packet Send. > > > > Fixes: 6ce84bd88919 ("net/mlx5:

Re: [dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-11 Thread santosh
Hi Andrew, On Saturday 10 March 2018 09:09 PM, Andrew Rybchenko wrote: > Size of memory chunk required to populate mempool objects depends > on how objects are stored in the memory. Different mempool drivers > may have different requirements and a new operation allows to > calculate memory size i

[dpdk-dev] Question on AESNI PMD

2018-03-11 Thread Luse, Paul E
Hi, I'm working on an SPDK module that uses the DPDK cryptodev framework, initially I'm using the AESNI PMD and have a few questions. in the doc it says that only in-place is supported however I see code in set_mb_job_params() just after the comment "Mutable crypto operation parameters" it appe

Re: [dpdk-dev] [PATCH v5 5/6] eal: simplify IPC sync request timeout code

2018-03-11 Thread Tan, Jianfeng
On 3/8/2018 12:56 AM, Anatoly Burakov wrote: Signed-off-by: Anatoly Burakov Why I did not find this simple way in the first place :-) Acked-by: Jianfeng Tan Thanks!

Re: [dpdk-dev] [PATCH v5 4/6] eal: lock IPC directory on init and send

2018-03-11 Thread Tan, Jianfeng
On 3/8/2018 12:56 AM, Anatoly Burakov wrote: When sending IPC messages, prevent new sockets from initializing. Signed-off-by: Anatoly Burakov Make sense. Acked-by: Jianfeng Tan Thanks!

Re: [dpdk-dev] [PATCH v5 2/6] eal: abstract away IPC socket path generation

2018-03-11 Thread Tan, Jianfeng
On 3/8/2018 12:56 AM, Anatoly Burakov wrote: Signed-off-by: Anatoly Burakov Acked-by: Jianfeng Tan Thanks, Jianfeng --- Notes: v5: remove lock files, leaving only socket paths code v4: replace lock files with init files lib/librte_eal/common/eal_common_proc.c | 48 ++