Re: [dpdk-dev] [PATCH] eal/windows: cleanup virt2phys handle

2021-07-26 Thread Menon, Ranjit
On 7/26/2021 2:36 PM, Dmitry Kozlyuk wrote: eal_mem_virt2phys_init() opens a handle for use by rte_mem_virt2phy(). Close this handle on EAL cleanup. Fixes: 2a5d547a4a9b ("eal/windows: implement basic memory management") Cc: sta...@dpdk.org Signed-off-by: Dmitry Kozlyuk --- lib/eal/windows/ea

[dpdk-dev] [PATCH] net/virtio: fix uninitialized duplex mode

2021-07-26 Thread Chenbo Xia
When virtio front-end initializes, the duplex mode should be set unknown before reading any duplex mode information from configuration space. This patch fixes the issue that duplex mode is by default set to zero, which equals ETH_LINK_HALF_DUPLEX. This will lead to duplex mode being half duplex whe

Re: [dpdk-dev] [PATCH v10] dmadev: introduce DMA device library

2021-07-26 Thread fengchengwen
Thanks The first two point (STATUS_UNKNOWN->STATUS_ERROR_UNKNOWN, INVALID_ADDR) already fix in V11. @Burce @Jerin @Morten In addition, programming guide is added in v11, please take a look, thanks. On 2021/7/26 16:31, Bruce Richardson wrote: > On Mon, Jul 26, 2021 at 02:53:16PM +0800, fengcheng

[dpdk-dev] [PATCH v11 1/2] dmadev: introduce DMA device library

2021-07-26 Thread Chengwen Feng
This patch introduce 'dmadevice' which is a generic type of DMA device. The APIs of dmadev library exposes some generic operations which can enable configuration and I/O with the DMA devices. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup --- MAINTAINERS

[dpdk-dev] [PATCH v11 2/2] doc: add dmadev library guide

2021-07-26 Thread Chengwen Feng
This patch adds dmadev library guide. Signed-off-by: Chengwen Feng --- doc/guides/prog_guide/dmadev.rst | 123 +++ doc/guides/prog_guide/index.rst | 1 + 2 files changed, 124 insertions(+) create mode 100644 doc/guides/prog_guide/dmadev.rst diff --git a/d

[dpdk-dev] [PATCH v11 0/2] support dmadev

2021-07-26 Thread Chengwen Feng
This patch set contains two patch: 1) dmadev library, include header files and implementations. 2) dmadev programming guide. Chengwen Feng (2): dmadev: introduce DMA device library doc: add dmadev library guide --- v11: * rename RTE_DMA_STATUS_UNKNOWN to RTE_DMA_STATUS_ERROR_UNKNOWN. * add RT

Re: [dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-07-26 Thread Long Li
> Subject: [PATCH v2] bus/vmbus: Fix crash when handling packets in > secondary process > > Have secondary processes construct their own copy of primary channel with > own mappings. > > Remove vmbus_channel primary ptr from struct mapped_vmbus_resource > as its not used. > > Populate virtual mem

Re: [dpdk-dev] [PATCH] vhost: fix crash on reconnect

2021-07-26 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Monday, July 26, 2021 3:58 PM > To: dev@dpdk.org; Xia, Chenbo ; Wang, Yinan > ; Ling, WeiX > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH] vhost: fix crash on reconnect > > When the vhost-user frontend like Virtio-user tries

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Xia, Chenbo
Missed R-by of Maxime will also be added when applying. /Chenbo > -Original Message- > From: dev On Behalf Of Xia, Chenbo > Sent: Tuesday, July 27, 2021 9:53 AM > To: Gaoxiang Liu ; dev@dpdk.org; liugaoxi...@huawei.com > Cc: Maxime Coquelin > Subject: Re: [dpdk-dev] [PATCH] net/virtio:

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Xia, Chenbo
Hi Gaoxiang, > -Original Message- > From: Gaoxiang Liu > Sent: Monday, July 26, 2021 10:42 PM > To: Xia, Chenbo ; dev@dpdk.org; liugaoxi...@huawei.com > Cc: Gaoxiang Liu > Subject: [PATCH] net/virtio: fix memory leak of interrupt handle > > Free memory of interrupt handle in virtio_user

[dpdk-dev] [PATCH] eal/windows: cleanup virt2phys handle

2021-07-26 Thread Dmitry Kozlyuk
eal_mem_virt2phys_init() opens a handle for use by rte_mem_virt2phy(). Close this handle on EAL cleanup. Fixes: 2a5d547a4a9b ("eal/windows: implement basic memory management") Cc: sta...@dpdk.org Signed-off-by: Dmitry Kozlyuk --- lib/eal/windows/eal.c | 1 + lib/eal/windows/eal_memory.c

Re: [dpdk-dev] [PATCH 2/4] doc: specify RTE flow create behaviour

2021-07-26 Thread Ajit Khaparde
On Sun, Jul 25, 2021 at 11:46 PM Ori Kam wrote: > > Hi > > > -Original Message- > > From: Ajit Khaparde > > Sent: Monday, July 26, 2021 6:07 AM > > > > On Wed, Jul 21, 2021 at 11:16 AM Stephen Hemminger > > wrote: > > > > > > On Wed, 21 Jul 2021 17:58:14 +0200 > > > Martin Havlik wrote:

[dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-07-26 Thread Jonathan Erb
Have secondary processes construct their own copy of primary channel with own mappings. Remove vmbus_channel primary ptr from struct mapped_vmbus_resource as its not used. Populate virtual memory address "addr" in struct rte_mem_resource for secondary processes as netvsc will attempt to reference

[dpdk-dev] [PATCH v4] doc: typo in spell check dict

2021-07-26 Thread Henry Nadeau
Signed-off-by: Henry Nadeau --- doc/guides/prog_guide/bbdev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/bbdev.rst b/doc/guides/prog_guide/bbdev.rst index ab2921bfe3..9619280ffc 100644 --- a/doc/guides/prog_guide/bbdev.rst +++ b/doc/guides/prog_gui

[dpdk-dev] [PATCH] crypto/qat: fix illegal access of an array

2021-07-26 Thread Arek Kusztal
Fix possible access of an array by negative index in function qat_sym_qp_setup. Fixes: 8f393c4ffdc1 ("common/qat: support GEN4 devices") Coverity issue: 372131 Coverity issue: 372134 Signed-off-by: Arek Kusztal --- drivers/crypto/qat/qat_sym_pmd.c | 9 + 1 file changed, 5 insertions(+),

[dpdk-dev] [PATCH v3] doc: spell check

2021-07-26 Thread Henry Nadeau
Implimenting automatic documentation spell checking, fixed any spelling errors that were picked up by the spell checker. If any of these corrections are incorrect please let me know so I can update the spell checker. Signed-off-by: Henry Nadeau --- doc/guides/contributing/coding_style.rst

Re: [dpdk-dev] [PATCH 2/2] lib/security: add SA lifetime configuration

2021-07-26 Thread Akhil Goyal
Hi Konstantin, > > There are two options that we considered, > > 1. Extend the enum, rte_crypto_op_status, to cover warnings [1] > > 2. There are reserved fields in rte_cryto_op structure. So we can use bits > > in > them to indicate various cases. [2] > > > > Both the submitted patches follow ap

[dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Gaoxiang Liu
Free memory of interrupt handle in virtio_user_dev_uninit() to avoid memory leak. when virtio user dev closes, memory of interrupt handle is not freed that is allocated in virtio_user_fill_intr_handle(). Fixes: 3d4fb6fd2505 <"net/virtio-user: support Rx interrupt"> Signed-off-by: Gaoxiang Liu --

Re: [dpdk-dev] Question about ARM rte power intrinsics

2021-07-26 Thread Ruifeng Wang
Hi Chengwen, WFE partially support the power intrinsics APIs. It has support to monitor address, but doesn’t support timestamp based trigger. Currently no plan on these APIs from our side. Do you have any suggestions? Thanks, Ruifeng > -Original Message- > From: fengchengwen > Sent: M

[dpdk-dev] [PATCH 6/6] raw/cnxk_bphy: use named value for queue count

2021-07-26 Thread Tomasz Duszynski
From: Jakub Palider Queue counter is used in a few places so it was given some reasonable name. Signed-off-by: Jakub Palider --- drivers/raw/cnxk_bphy/cnxk_bphy.c | 2 ++ drivers/raw/cnxk_bphy/cnxk_bphy_irq.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/ra

[dpdk-dev] [PATCH 5/6] common/cnxk: align function naming

2021-07-26 Thread Tomasz Duszynski
From: Jakub Palider There is an inconsistency in naming interrupt control functions. This patch aligns names accordingly. Signed-off-by: Jakub Palider --- drivers/common/cnxk/roc_bphy_irq.c| 2 +- drivers/common/cnxk/roc_bphy_irq.h| 3 +-- drivers/common/cnxk/version.map | 2 +-

[dpdk-dev] [PATCH 4/6] common/cnxk: reduce function visibility

2021-07-26 Thread Tomasz Duszynski
From: Jakub Palider Some functions are not used outside of local ROC scope. These need updating classifiers and removal from header. Signed-off-by: Jakub Palider --- drivers/common/cnxk/roc_bphy_irq.c | 6 +++--- drivers/common/cnxk/roc_bphy_irq.h | 6 -- drivers/common/cnxk/version.map

[dpdk-dev] [PATCH 3/6] raw/cnxk_bphy: don't include irq header directly

2021-07-26 Thread Tomasz Duszynski
One should only use roc_api.h which exports all internal headers. Signed-off-by: Tomasz Duszynski --- drivers/common/cnxk/roc_bphy.h| 1 + drivers/raw/cnxk_bphy/cnxk_bphy.c | 1 - drivers/raw/cnxk_bphy/cnxk_bphy_irq.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH 2/6] common/cnxk: remove duplicated constant

2021-07-26 Thread Tomasz Duszynski
Drop duplicated constant. Signed-off-by: Tomasz Duszynski --- drivers/common/cnxk/roc_bphy_cgx_priv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/common/cnxk/roc_bphy_cgx_priv.h b/drivers/common/cnxk/roc_bphy_cgx_priv.h index e45a13ef09..6a6b5a7b08 100644 --- a/drivers/common/cnx

[dpdk-dev] [PATCH 1/6] common/cnxk: return saner error codes

2021-07-26 Thread Tomasz Duszynski
If particular LMAC does not exist then it's saner to return ENODEV instead of EINVAL. Signed-off-by: Tomasz Duszynski --- drivers/common/cnxk/roc_bphy_cgx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/common/cnxk/roc_bphy_cgx.c b/drivers/common/cnxk/roc_bphy_

[dpdk-dev] [PATCH 0/6] common/cnxk: sync with local codebase

2021-07-26 Thread Tomasz Duszynski
This series aims to synchronize local codebase with upstream. Jakub Palider (3): common/cnxk: reduce function visibility common/cnxk: align function naming raw/cnxk_bphy: use named value for queue count Tomasz Duszynski (3): common/cnxk: return saner error codes common/cnxk: remove dupl

Re: [dpdk-dev] [PATCH 2/2] lib/security: add SA lifetime configuration

2021-07-26 Thread Ananyev, Konstantin
Hi Anoob, > > Hi Akhil, Declan, Fan, Hemant, Konstantin, > > This patch & and a patch submitted by Archana earlier > (http://patches.dpdk.org/project/dpdk/patch/20210630111248.746-1- > march...@marvell.com/), aims at extending rte_crypto_op so that it can be > used to communicate any warnings

[dpdk-dev] [PATCH v6] crypto/ccp: move device from vdev to PCI

2021-07-26 Thread asomalap
From: Amaranath Somalapuram drop all the code duplicating the PCI bus driver developed for enable IOMMU in vdev. Signed-off-by: Amaranath Somalapuram --- V6: - Address the following comments from Akhil and David: - Spellcheck, Title, Changelog V5: - Fix x86_64-native-linuxapp-clang compilation

Re: [dpdk-dev] RFC: Enahancements to Rx adapter for DPDK 21.11

2021-07-26 Thread Kundapura, Ganapati
A gentle ping for comments. -Original Message- From: dev On Behalf Of Kundapura, Ganapati Sent: 23 July 2021 12:33 To: dpdk-dev ; Jerin Jacob ; Jayatheerthan, Jay Subject: [dpdk-dev] RFC: Enahancements to Rx adapter for DPDK 21.11 Hi dpdk-dev, We would like to submit series of patches

Re: [dpdk-dev] [dpdk-announce] release candidate 21.08-rc1

2021-07-26 Thread Pei Zhang
Hello Thomas, The testing with dpdk 21.08 latest commit(newer than dpdk 21.08-rc1) from Red Hat looks good. We tested below 19 scenarios and all got PASS on RHEL8: (1)Guest with device assignment(PF) throughput testing(1G hugepage size): PASS (2)Guest with device assignment(PF) throughput testing

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Maxime Coquelin
On 7/26/21 1:59 PM, Gaoxiang Liu wrote: > Free memory of interrupt handle in virtio_user_dev_uninit() to > avoid memory leak. > when virtio user dev closes, the "intr_handle" memory is not freed > that is allocated in virtio_user_fill_intr_handle(). > > Fixes: 3d4fb6fd2505 <"net/virtio-user: su

Re: [dpdk-dev] [PATCH] app/test: flush stdout after forking

2021-07-26 Thread John Levon
On Mon, Jul 26, 2021 at 01:27:48PM +0100, Bruce Richardson wrote: > On Mon, Jul 26, 2021 at 01:16:27PM +0100, John Levon wrote: > > meson test was not capturing the intended output from the child > > process; force a flush to ensure it reaches the test log. > > > > Signed-off-by: John Levon > >

Re: [dpdk-dev] [PATCH] app/test: flush stdout after forking

2021-07-26 Thread Bruce Richardson
On Mon, Jul 26, 2021 at 01:16:27PM +0100, John Levon wrote: > meson test was not capturing the intended output from the child > process; force a flush to ensure it reaches the test log. > > Signed-off-by: John Levon > --- > app/test/process.h | 1 + > 1 file changed, 1 insertion(+) > > diff --g

[dpdk-dev] [PATCH] app/test: quieten noise while forking

2021-07-26 Thread John Levon
When closing file descriptors post-fork, ignore "." and ".." directory entries. Signed-off-by: John Levon --- app/test/process.h | 5 + 1 file changed, 5 insertions(+) diff --git a/app/test/process.h b/app/test/process.h index 0ed91a939e..5b10cf64df 100644 --- a/app/test/process.h +++ b/app

[dpdk-dev] [PATCH] app/test: flush stdout after forking

2021-07-26 Thread John Levon
meson test was not capturing the intended output from the child process; force a flush to ensure it reaches the test log. Signed-off-by: John Levon --- app/test/process.h | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test/process.h b/app/test/process.h index a09a088477..0ed91a939e 1006

[dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle

2021-07-26 Thread Gaoxiang Liu
Free memory of interrupt handle in virtio_user_dev_uninit() to avoid memory leak. when virtio user dev closes, the "intr_handle" memory is not freed that is allocated in virtio_user_fill_intr_handle(). Fixes: 3d4fb6fd2505 <"net/virtio-user: support Rx interrupt"> Signed-off-by: Gaoxiang Liu ---

[dpdk-dev] [PATCH v2 2/2] app/acl: add script for automate testing

2021-07-26 Thread Konstantin Ananyev
The purpose of this script is to help automate ACL library functional testing using test-acl app. Sample input files are also provided. Signed-off-by: Konstantin Ananyev --- app/test-acl/input/acl1v4_5_rule | 7 +++ app/test-acl/input/acl1v4_5_trace | 7 +++ app/test-acl/input/acl1v6_1_rule

[dpdk-dev] [PATCH v2 1/2] app/acl: allow comment and empty lines

2021-07-26 Thread Konstantin Ananyev
Allow comment (lines starting with '#') and empty lines in input (rules, traces) files. These lines will be just skipped and shouldn't affect the result anyhow. Signed-off-by: Konstantin Ananyev --- app/test-acl/main.c | 51 + 1 file changed, 42 insert

[dpdk-dev] [PATCH v2 0/2] app/acl: help to automate testing

2021-07-26 Thread Konstantin Ananyev
The purpose of this series is to help automate ACL library functional testing using test-acl app. First patch adds into test-acl ability to skip comment/empty lines. Second patch adds script for automate testing. Sample input files are also provided. v2: - Added ability to skip comment/empty line

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak in dev close

2021-07-26 Thread 刘高翔
>Hi, chen bo >>And I think the fix commit id is not correct. Fix commit id should be the >>first commit that introduces the bug. I think it's: >>3d4fb6fd2505 ("net/virtio-user: support Rx interrupt") > Yes, it should be the commit id. And I will fix other issues right now. > Thanks. At 2021-0

[dpdk-dev] [PATCH v2] net/memif: fix abstract socket addr_len

2021-07-26 Thread Nathan Skrzypczak
This fixes using abstract sockets with memifs. we were not passing the exact addr_len, which requires zeroing the remaining sun_path and doesn't appear well in other utilities (e.g. lsof -U) Signed-off-by: Nathan Skrzypczak --- drivers/net/memif/memif_socket.c | 15 --- 1 file change

Re: [dpdk-dev] [PATCH v10] dmadev: introduce DMA device library

2021-07-26 Thread Jerin Jacob
On Mon, Jul 26, 2021 at 4:34 PM Morten Brørup wrote: > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of fengchengwen > > > > Friendly ping. > > > > On 2021/7/20 20:46, Chengwen Feng wrote: > > > This patch introduce 'dmadevice' which is a generic type of DMA > > > device. > > > > > > The

Re: [dpdk-dev] [PATCH v10] dmadev: introduce DMA device library

2021-07-26 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of fengchengwen > > Friendly ping. > > On 2021/7/20 20:46, Chengwen Feng wrote: > > This patch introduce 'dmadevice' which is a generic type of DMA > > device. > > > > The APIs of dmadev library exposes some generic operations which can > > enab

[dpdk-dev] [PATCH v1 2/2] net/hns3: support set link up/down for PF

2021-07-26 Thread Min Hu (Connor)
From: Huisong Li This patch adds set link up/down feature. RxTx datapath and link status will be disabled when dev_set_link_down() is called, and can be enabled by dev_start() or dev_set_link_up(). Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_ethdev.c | 1

[dpdk-dev] [PATCH v1 1/2] net/hns3: add start/stop Tx datapath request for MP

2021-07-26 Thread Min Hu (Connor)
From: Huisong Li Currently, hns3 PMD has supported start/stop RxTx datapath request message between the primary and secondary processes. However, there are some cases only to start/stop Tx datapath. This patch adds start/stop Tx datapath request for MP. Signed-off-by: Huisong Li Signed-off-by:

[dpdk-dev] [PATCH v1 0/2] Features for hns3 PMD

2021-07-26 Thread Min Hu (Connor)
This patch set contains two features: add start/stop Tx datapath request for MP support set link up/down for PF Huisong Li (2): net/hns3: add start/stop Tx datapath request for MP net/hns3: support set link up/down for PF drivers/net/hns3/hns3_ethdev.c | 107 +

Re: [dpdk-dev] [PATCH 2/4] doc: specify RTE flow create behaviour

2021-07-26 Thread Ori Kam
Hi > -Original Message- > From: Ajit Khaparde > Sent: Monday, July 26, 2021 6:07 AM > > On Wed, Jul 21, 2021 at 11:16 AM Stephen Hemminger > wrote: > > > > On Wed, 21 Jul 2021 17:58:14 +0200 > > Martin Havlik wrote: > > > > > The ability to create RTE flow rules, depending on > > > por

Re: [dpdk-dev] [PATCH] net/mlx5: fix mirror flow split with L3 encapsulation

2021-07-26 Thread Jiawei(Jonny) Wang
> -Original Message- > From: Thomas Monjalon > Sent: Friday, July 23, 2021 10:10 PM > To: Slava Ovsiienko ; Jiawei(Jonny) Wang > > Cc: Matan Azrad ; Ori Kam ; > Shahaf Shuler ; dev@dpdk.org; Raslan Darawsheh > ; sta...@dpdk.org > Subject: Re: [PATCH] net/mlx5: fix mirror flow split wit

[dpdk-dev] [PATCH v2] net/mlx5: fix mirror flow split with L3 encapsulation

2021-07-26 Thread Jiawei Wang
Due to hardware limitations, the decap action (such as VXLAN/NVGRE/RAW decap) can't follow the sample action in the same flow, to keep the original action order of sample and decap actions the flow was internally split into two subflows by PMD, the sample action was moved into prefix subflow in the

Re: [dpdk-dev] [PATCH v4 2/2] ethdev: fix docs of drivers callbacks getting xstats by IDs

2021-07-26 Thread Olivier Matz
On Sat, Jul 24, 2021 at 03:33:14PM +0300, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Update xstats by IDs callbacks documentation in accordance with > ethdev usage of these callbacks. Document valid combinations of > input arguments to make driver implementation simpler. > > Fixes: 79c913

Re: [dpdk-dev] [PATCH v4 1/2] ethdev: fix docs of functions getting xstats by IDs

2021-07-26 Thread Olivier Matz
Hi Andrew, Some comments below. On Sat, Jul 24, 2021 at 03:33:13PM +0300, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Document valid combinations of input arguments in accordance with > current implementation in ethdev. > > Fixes: 79c913a42f0 ("ethdev: retrieve xstats by ID") > Cc: sta..

[dpdk-dev] Question about ARM rte power intrinsics

2021-07-26 Thread fengchengwen
Hi, ARM guys I notice patch "Use WFE for spinlock and ring" was already accepted, and currently lib/eal/arm/rte_power_intrinsics.c still NULL implementation and it seem could use WFE to implement it, so do you have a plan for it ? Thanks

[dpdk-dev] [PATCH v2] net/iavf: fix virtual channel RSS command error handling

2021-07-26 Thread Alvin Zhang
Kernel PF may not respond to virtual channel commands VIRTCHNL_OP_GET_RSS_HENA_CAPS and VIRTCHNL_OP_SET_RSS_HENA, which will cause VF to fail to start. RSS offload type configuration is not a necessary feature for VF, so in order to improve VF compatibility, in this patch the PMD will ignore the e

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak in dev close

2021-07-26 Thread Xia, Chenbo
Hi Gaoxiang, > -Original Message- > From: Gaoxiang Liu > Sent: Sunday, July 25, 2021 10:03 AM > To: Maxime Coquelin ; Xia, Chenbo > > Cc: dev@dpdk.org; liugaoxi...@huawei.com; Gaoxiang Liu > Subject: [PATCH] net/virtio: fix memory leak in dev close I suggest the title: fix memory leak

Re: [dpdk-dev] [PATCH v10] dmadev: introduce DMA device library

2021-07-26 Thread Bruce Richardson
On Mon, Jul 26, 2021 at 02:53:16PM +0800, fengchengwen wrote: > Friendly ping. > > On 2021/7/20 20:46, Chengwen Feng wrote: > > This patch introduce 'dmadevice' which is a generic type of DMA > > device. > > > > The APIs of dmadev library exposes some generic operations which can > > enable confi

Re: [dpdk-dev] [PATCH] vhost: fix crash on reconnect

2021-07-26 Thread Wang, Yinan
Tested-by: Yinan Wang > -Original Message- > From: Maxime Coquelin > Sent: 2021?7?26? 15:58 > To: dev@dpdk.org; Xia, Chenbo ; Wang, Yinan > ; Ling, WeiX > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH] vhost: fix crash on reconnect > > When the vhost-user frontend like Virti

[dpdk-dev] [PATCH] vhost: fix crash on reconnect

2021-07-26 Thread Maxime Coquelin
When the vhost-user frontend like Virtio-user tries to reconnect to the restarted Vhost backend, the Vhost backend segfaults when multiqueue is enabled. This is caused by VHOST_USER_GET_VRING_BASE being called for a virtqueue that has not been created before, causing a NULL pointer dereferencing.

Re: [dpdk-dev] [PATCH v16] app/testpmd: support multi-process

2021-07-26 Thread Min Hu (Connor)
在 2021/7/26 14:30, Thomas Monjalon 写道: 26/07/2021 02:26, Min Hu (Connor): 在 2021/7/24 19:45, Thomas Monjalon 写道: 10/07/2021 05:50, Min Hu (Connor): This patch adds multi-process support for testpmd. For example the following commands run two testpmd processes: * the primary process: ./

Re: [dpdk-dev] [PATCH 2/4] doc: specify RTE flow create behaviour

2021-07-26 Thread Ajit Khaparde
On Wed, Jul 21, 2021 at 11:16 AM Stephen Hemminger wrote: > > On Wed, 21 Jul 2021 17:58:14 +0200 > Martin Havlik wrote: > > > The ability to create RTE flow rules, depending on > > port status, can and does differ between PMDs. > > Now the doc reflects that. > > > > Signed-off-by: Martin Havlik