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
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
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
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
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
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
> 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
> -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
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:
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
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
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:
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
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
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(+),
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
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
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
--
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
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
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 +-
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
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
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
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_
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
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
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
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
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
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
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
> >
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
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
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
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
---
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
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
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
>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
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
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
> 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
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
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:
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 +
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
> -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
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
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
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..
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
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
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
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
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
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.
在 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:
./
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
59 matches
Mail list logo