Re: [dpdk-dev] [PATCH v3] hash table: add an iterator over conflicting entries

2018-09-04 Thread Wang, Yipeng1
Thanks for your reply. >-Original Message- >From: Michel Machado [mailto:mic...@digirati.com.br] >Exposing the private fields would bind the interface with the >current implementation of the hash table. In the way we are proposing, >one should be able to replace the underlying algorit

[dpdk-dev] [PATCH] vhost: fix vhost interrupt support

2018-09-04 Thread Tiwei Bie
When VIRTIO_RING_F_EVENT_IDX is negotiated, we need to update the avail event to enable the notification. Fixes: 3f8ff12821e4 ("vhost: support interrupt mode") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie --- lib/librte_vhost/Makefile | 1 + lib/librte_vhost/vhost.c | 18 -- l

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread Tone Zhang (Arm Technology China)
Hi Rami, Yes, I mean “uio_pci_generic” kernel module. I will update the change accordingly. Thanks. Br, Tone From: Rami Rosen Sent: Wednesday, September 5, 2018 3:55 AM To: Tone Zhang (Arm Technology China) Cc: dev@dpdk.org; nd Subject: Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "

Re: [dpdk-dev] [PATCH] eal: force IOVA mode to physical

2018-09-04 Thread Eric Zhang
On 08/30/2018 08:59 AM, santosh wrote: On Thursday 30 August 2018 05:43 PM, Hemant wrote: External Email Hi, On 8/30/2018 3:13 PM, Gaëtan Rivet wrote: Hi, On Thu, Aug 30, 2018 at 10:09:04AM +0100, Burakov, Anatoly wrote: On 29-Aug-18 4:58 PM, eric zhang wrote: This patch adds a configur

[dpdk-dev] [PATCH 1/3] net/virtio-user: fix deadlock in memory events callback

2018-09-04 Thread Tiwei Bie
Deadlock can occur when allocating memory if a vhost-kernel based virtio-user device is in use. To fix the deadlock, we will take memory hotplug lock explicitly in virtio-user when necessary, and always call the _thread_unsafe memory functions. Bugzilla ID: 81 Fixes: 12ecb2f63b12 ("net/virtio-user

[dpdk-dev] [PATCH 0/3] Some fixes/improvements for virtio-user memory table

2018-09-04 Thread Tiwei Bie
This series consists of some fixes and improvements for virtio-user's memory table preparation. This series supersedes below patches: https://patches.dpdk.org/patch/43807/ https://patches.dpdk.org/patch/43918/ The second patch in this series depends on the below patch set: http://patches.dpdk.org

[dpdk-dev] [PATCH 3/3] net/virtio-user: fix memory hotplug support in vhost-kernel

2018-09-04 Thread Tiwei Bie
It's possible to have much more hugepage backed memory regions than what vhost-kernel supports due to the memory hotplug, which may cause problems. A better solution is to have the virtio-user pass all the memory ranges reserved by DPDK to vhost-kernel. Fixes: 12ecb2f63b12 ("net/virtio-user: suppo

[dpdk-dev] [PATCH 2/3] net/virtio-user: avoid parsing process mappings

2018-09-04 Thread Tiwei Bie
Recently some memory APIs were introduced to allow users to get the file descriptor and offset for each memory segment. We can leverage those APIs to get rid of the /proc magic on memory table preparation in vhost-user backend. Signed-off-by: Tiwei Bie --- drivers/net/virtio/virtio_user/vhost_us

[dpdk-dev] [PATCH v2] doc: Clarify IOMMU usage with "uio_pci_generic" kernel module

2018-09-04 Thread tone.zhang
If the devices used for DPDK are bound to the "uio_pci_generic" kernel module, the IOMMU should be disabled in order not to break the IO transmission because of the virtual / physical address mapping. The patch clarifies the IOMMU configurations on both x86_64 and arm64 systems. Signed-off-by: to

[dpdk-dev] [PATCH v3] linuxapp, eal: Fix the memory leak issue of logid

2018-09-04 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 13 - lib/librte_eal/linuxapp/eal/eal_log.c | 12 +

[dpdk-dev] [PATCH v3] doc: Clarify IOMMU usage with "uio_pci_generic" kernel module

2018-09-04 Thread tone.zhang
If the devices used for DPDK are bound to the "uio_pci_generic" kernel module, the IOMMU should be disabled in order not to break the IO transmission because of the virtual / physical address mapping. The patch clarifies the IOMMU configurations on both x86_64 and arm64 systems. Signed-off-by: to

Re: [dpdk-dev] [PATCH v3] doc: Clarify IOMMU usage with "uio_pci_generic" kernel module

2018-09-04 Thread Gavin Hu (Arm Technology China)
> -Original Message- > From: tone.zhang > Sent: Wednesday, September 5, 2018 1:18 PM > To: dev@dpdk.org > Cc: Gavin Hu (Arm Technology China) ; > bruce.richard...@intel.com; bl...@debian.org; roszenr...@gmail.com; nd > > Subject: [PATCH v3] doc: Clarify IOMMU usage with "uio_pci_generi

Re: [dpdk-dev] MLX5 should define the timestamp field in the doc

2018-09-04 Thread Shahaf Shuler
Hi Tom, Tuesday, September 4, 2018 5:26 PM, Tom Barbette: > >Hi all, > >As far as I know, MLX5 is the only driver to support hardware timestamping. > >It would be great to update the doc to explain what the hardware timestamp is >supposed to be. We probably need to update the doc, but the

[dpdk-dev] [PATCH v4] linuxapp, eal: Fix the memory leak issue of logid

2018-09-04 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 21 - lib/librte_eal/linuxapp/eal/eal_log.c |

[dpdk-dev] [PATCH v5] linuxapp, eal: Fix the memory leak issue of logid

2018-09-04 Thread Ziye Yang
From: Ziye Yang This patch is used to fix the memory leak issue of logid. We use the ASAN test in SPDK when intergrating DPDK and find this memory leak issue. Signed-off-by: Ziye Yang --- lib/librte_eal/linuxapp/eal/eal.c | 21 - lib/librte_eal/linuxapp/eal/eal_log.c |

Re: [dpdk-dev] [PATCH v2 3/4] app/test-eventdev: add Tx adapter support

2018-09-04 Thread Rao, Nikhil
On 9/4/2018 7:42 PM, Pavan Nikhilesh wrote: Convert existing Tx service based pipeline to Tx adapter based APIs and simplify worker functions. Signed-off-by: Pavan Nikhilesh --- app/test-eventdev/test_pipeline_atq.c| 269 --- app/test-eventdev/test_pipeline_common.c |

<    1   2