+CC Olivier Matz , Network Headers maintainer
> -Original Message-
> From: Morten Brørup
> Sent: den 15 juni 2022 16:41
> To: Emil Berg ; bugzi...@dpdk.org
> Cc: dev@dpdk.org
> Subject: RE: [Bug 1035] __rte_raw_cksum() crash with misaligned pointer
>
> > From: bugzi...@dpdk.org [mailto:b
Hi Jaeeun,
See my responses inline below.
-Jay
From: Jaeeun Ham
Sent: Monday, June 13, 2022 5:51 AM
To: dev@dpdk.org
Cc: Jerin Jacob ; Jayatheerthan, Jay
Subject: ask for TXA_FLUSH_THRESHOLD change
Hi,
There were latency delay when I increase dpdk(20.11.1) core. (one worker core
was okay.)
+CC Olivier Matz , Network Headers maintainer
> From: Morten Brørup
> Sent: den 15 juni 2022 16:41
>
> > From: bugzi...@dpdk.org [mailto:bugzi...@dpdk.org]
> > Sent: Wednesday, 15 June 2022 09.16
> >
> > https://protect2.fireeye.com/v1/url?k=31323334-501d5122-313273af-
> 45444
> > 731-2e92ae
Looks good.
Acked-by: Jay Jayatheerthan
-Jay
> -Original Message-
> From: Naga Harish K, S V
> Sent: Thursday, June 16, 2022 10:45 AM
> To: Naga Harish K, S V ; Jayatheerthan, Jay
> ; jer...@marvell.com
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: [PATCH v2] eventdev/eth_tx: fix a
During adapter create, memory is allocated for storing event port
configuration which is freed during adapter free. The following
error is seen during free "EAL: Error: Invalid memory"
The service data pointer storage for txa_service_data_array is
allocated during adapter create with incorrect siz
During adapter create, memory is allocated for storing event port
configuration which is freed during adapter free. The following
error is seen during free "EAL: Error: Invalid memory"
The service data pointer storage for txa_service_data_array is
allocated during adapter create with incorrect siz
HE-HSSI is one of the host exerciser modules in OFS FPGA,
which is used to test HSSI (High Speed Serial Interface).
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source files to ifpga and rename, ref
HE-MEM is one of the host exerciser modules in OFS FPGA,
which is used to test local memory with built-in traffic
generator.
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source files to ifpga and re
HE-LPBK and HE-MEM-LPBK are host exerciser modules in OFS FPGA,
HE-LPBK is used to test PCI bus and HE-MEM-LPBK is used to test
local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source fil
N3000 AFU includes NLB0 and DMA modules, NLB0 is used to test PCI bus
and DMA is used to test local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source files to ifpga and rename, refine cod
AFU (Acceleration Function Unit) is part of FPGA and enumerated
by ifpga driver.
This driver implements common AFU device interfaces and exposes
them to application as standard raw device APIs.
Normally application can operate specified AFU as below,
1. call rte_rawdev_pmd_get_named_dev() to find A
The first patch implements the framework of the AFU PMD driver based on raw
device interfaces.
The subsequent patches implement the driver of some AFUs.
Changes from v7:
1. move driver description to ifpga.rst per Rosen comment.
2. rename function name according to DPDK program guide per Rosen com
> -Original Message-
> From: Zeng, ZhichaoX
> Sent: Wednesday, June 15, 2022 15:39
> To: dev@dpdk.org
> Cc: Yang, Qiming ; Zeng, ZhichaoX
> ; Guo, Junfeng ; Su,
> Simei
> Subject: [PATCH] net/igc: fix segmentation fault in secondary dpdk-
> symmetric_mp
>
> From: Zhichao Zeng
>
> In
Now NFP NIC support two type of RSS logic, NFP_NET_CFG_CTRL_RSS and
NFP_NET_CFG_CTRL_RSS2, use NFP_NET_CFG_CTRL_RSS2 if NIC capability
support, otherwise use NFP_NET_CFG_CTRL_RSS.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-b
Implement NFP3800 card packet transmit function for firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 3 +-
drivers/net/nfp/nfp_ethdev_vf.c | 3 +-
Move macro __round_mask, round_up and round_down from C file to
corresponding head file, will be used by TX function of nfp net
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
driver
This commit does not introduce new features, just integrate some common
logic into helper functions to reduce the same logic and increase code
reuse, include queue stop and queue close logic, will be used when NFP
net stop and close.
queue stop: reset queue
queue close: reset and release queue
Mo
Add ethdev option for firmware with NFDk, implement tx_queue setup
function for firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 32 -
drive
Add and modify the nfp PMD struct and macro that will be used by firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_rxtx.h | 58 +
Modify nfp driver logic, add firmware version (NFD3 or NFDK) judgment, will
according to the firmware version, mount different driver functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/n
Add support for a new type of NIC NFP3800 card, and update some
network card data acquisition interface functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.h |
Add 'nfd3' into the firmware with NFD3 eth driver function name,
preparation for the next work, as we will support another version
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
dri
The NFP eth driver function name start with 'nfp_net', but set_mac
function start with 'nfp' only, rename it, be consistent with others.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/n
Multiple writes cause intermediate pointer values that do not
end on complete TX descriptors.
The QCP peripheral on the NFP provides a number of access
modes. In some access modes, the maximum amount to add must
be restricted to a 6bit value. The particular access mode
used by _nfp_qcp_ptr_add() h
This commit remove some unnecessary forward function
declarations.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 22 --
drivers/net/nfp/nfp_ethdev_vf.c | 12
drivers/net/nfp/nfp_rxtx.c
Change the coding style of some logics, to make it more
compatible with the DPDK coding style.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 149
drivers/net/nfp/nfp_ethdev_vf.c | 8 +-
This set patches add support for a new type of NFP nic NFP3800 and
the firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc/guides/nics/nfp.rst | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/guides/nic
Add support for a new type NFP NIC NFP3800 and firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc/guides/rel_notes/release_22_07.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_22_07.rst
b/doc/g
NFD is part of NFP firmware, and there only exist a NFD3 version
before this patch series.
This patch series mainly add the support of the new NFP3800 chip
use firmware with NFD3/NFDk.
* Changes since v1
- Added updated documentation for NFP to cover NFD.
- Documented the addition of NFD in the re
Split the virtqs device close tasks after
stopping virt-queue between the configuration threads.
This accelerates the LM process and
reduces its time by 50%.
Signed-off-by: Li Zhang
Acked-by: Matan Azrad
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 56 +--
drivers/vdpa/ml
The configuration threads tasks need a container to
support multiple tasks assigned to a thread in parallel.
Use rte_ring container per thread to manage
the thread tasks without locks.
The caller thread from the user context opens a task to
a thread and enqueue it to the thread ring.
The thread pol
Split the virtqs virt-queue resource between
the configuration threads.
Also need pre-created virt-queue resource
after virtq destruction.
This accelerates the LM process and reduces its time by 30%.
Signed-off-by: Li Zhang
Acked-by: Matan Azrad
---
doc/guides/rel_notes/release_22_07.rst | 1
The driver wrongly takes the capability value for
the number of virtq pairs instead of just the number of virtqs.
Adjust all the usages of it to be the number of virtqs.
Fixes: c2eb33a ("vdpa/mlx5: manage virtqs by array")
Cc: sta...@dpdk.org
Signed-off-by: Li Zhang
Acked-by: Matan Azrad
---
A virtq configuration can be modified after the virtq creation.
Added the following modifiable fields:
1.address fields: desc_addr/used_addr/available_addr
2.hw_available_index
3.hw_used_index
4.virtio_q_type
5.version type
6.queue mkey
7.feature bit mask: tso_ipv4/tso_ipv6/tx_csum/rx_csum
8.event
pre-created virt-queue sub-resource in device probe stage
and then modify virtqueue in device config stage.
Steer table also need to support dummy virt-queue.
This accelerates the LM process and reduces its time by 40%.
Signed-off-by: Li Zhang
Signed-off-by: Yajun Wu
Acked-by: Matan Azrad
---
From: Yajun Wu
To speed up queue create time, event qp and cq will create only once.
Each virtq creation will reuse same event qp and cq.
Because FW will set event qp to error state during virtq destroy,
need modify event qp to RESET state, then modify qp to RTS state as
usual. This can save abo
The virtq object and all its sub-resources use a lot of
FW commands and can be accelerated by the MT management.
Split the virtqs creation between the configuration threads.
This accelerates the LM process and reduces its time by 20%.
Signed-off-by: Li Zhang
Acked-by: Matan Azrad
---
drivers/vd
Split the virtqs LM log between the configuration threads.
This accelerates the LM process and reduces its time by 20%.
Signed-off-by: Li Zhang
Acked-by: Matan Azrad
---
drivers/vdpa/mlx5/mlx5_vdpa.h | 3 +
drivers/vdpa/mlx5/mlx5_vdpa_cthread.c | 34 +++
drivers/vdpa/mlx5/mlx5_
The LM process includes a lot of objects creations and
destructions in the source and the destination servers.
As much as LM time increases, the packet drop of the VM increases.
To improve LM time need to parallel the configurations for mlx5 FW.
Add internal multi-thread management in the driver fo
The driver used a single global lock for any synchronization
needed for the datapath and control path.
It is better to group the critical sections with
the other ones that should be synchronized.
Replace the global lock with the following locks:
1.virtq locks(per virtq) synchronize datapath polli
From: Yajun Wu
Support set QP to RESET state.
Signed-off-by: Yajun Wu
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c | 7 +++
drivers/common/mlx5/mlx5_prm.h | 17 +
2 files changed, 24 insertions(+)
diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c
The driver creates a direct MR object of
the HW for each VM memory region,
which maps the VM physical address to
the actual physical address.
Later, after all the MRs are ready,
the driver creates an indirect MR to group all the direct MRs
into one virtual space from the HW perspective.
Create di
Allow the driver to use internal threads to
obtain fast configuration.
All the threads will be open on the same core of
the event completion queue scheduling thread.
Add max_conf_threads parameter to configure
the maximum number of internal threads in addition to
the caller thread (8 is suggested)
dev_config operation is called in LM progress.
LM time is very critical because all
the VM packets are dropped directly at that time.
Move the virtq creation to probe time and
only modify the configuration later in
the dev_config stage using the new ability
to modify virtq.
This optimization acce
From: Yajun Wu
The motivation of this change is to reduce vDPA device queue creation
time by create some queue resource in vDPA device probe stage.
In VM live migration scenario, this can reduce 0.8ms for each queue
creation, thus reduce LM network downtime.
To create queue resource(umem/counte
> -Original Message-
> From: Xu, Rosen
> Sent: Wednesday, June 15, 2022 15:08
> To: Huang, Wei ; dev@dpdk.org;
> tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z
>
> Subject: RE: [PATCH v7 2/5] raw/ifpga: add N3000 AFU
When a port was closed implicitly closed by the PMD, for example,
if it was a representor port and its master port was detached,
flow indirect actions could remain with their handles no longer valid.
If a newly attached device was assigned the same ID as the closed port,
those indirect actions beca
+CC: Beilei Xing , i40e maintainer, may be interested in
the performance improvements achieved by this patch.
> From: Morten Brørup [mailto:m...@smartsharesystems.com]
> Sent: Wednesday, 2 February 2022 09.14
>
> A flush threshold for the mempool cache was introduced in DPDK version
> 1.3, but r
> From: Chengwen Feng [mailto:fengcheng...@huawei.com]
> Sent: Wednesday, 15 June 2022 09.39
>
> This patchset contains five patch which support telemetry dump
> dmadev/eventdev/rawdev/ethdev.
>
> Chengwen Feng (5):
> usertools: use non-strict when json-loads in telemetry
> dmadev: support te
> From: Morten Brørup
> Sent: Wednesday, 15 June 2022 20.01
>
> +CC Ciara Power, Telemetry lib maintainer
>
> > From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> > Sent: Wednesday, 15 June 2022 18.55
> >
> > On Wed, Jun 15, 2022 at 03:54:57PM +0200, Morten Brørup wrote:
> > > > From: C
https://bugs.dpdk.org/show_bug.cgi?id=1037
Bug ID: 1037
Summary: Telemetry library does not JSON encode strings
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
On Fri, Jun 10, 2022 at 9:37 PM Ashwin Sekhar T K wrote:
>
> When counting the batch allocated pointers in cnxk mempool driver,
> currently it always waits for in-flight batch operations to finish.
> Add a provision to make this waiting optional.
>
> Signed-off-by: Ashwin Sekhar T K
Applied to d
13/06/2022 13:52, Cristian Dumitrescu:
> From: Harshad Narayane
>
> Fix comparison used to check against the maximum number of learner
> table timeouts.
>
> Fixes: e2ecc53582fb ("pipeline: improve learner table timers")
The title is not informative about what is fixed.
Please give a bit of scop
15/06/2022 10:46, Jakub Palider:
> > -Original Message-
> > From: Thomas Monjalon
> > Sent: Wednesday, June 15, 2022 8:21 AM
> > To: Jakub Palider
> > Cc: dev@dpdk.org; david.march...@redhat.com
> > Subject: [EXT] Re: [PATCH v2] devtools: ensure proper tag sequence
> >
> > External Email
On Wed, Jun 15, 2022 at 7:32 PM David Marchand
wrote:
>
> On Tue, Jun 14, 2022 at 8:06 AM Chengwen Feng wrote:
> >
> > Bug scenario:
> > 1. start testpmd:
> > dpdk-testpmd -l 4-6 -a :7d:00.0 --trace=.* \
> > -file-prefix=trace_autotest -- -i
> > 2. then observed:
> > EAL: eal_trace_init():94
+CC Ciara Power, Telemetry lib maintainer
> From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> Sent: Wednesday, 15 June 2022 18.55
>
> On Wed, Jun 15, 2022 at 03:54:57PM +0200, Morten Brørup wrote:
> > > From: Chengwen Feng [mailto:fengcheng...@huawei.com]
> > > Sent: Wednesday, 15 June
On Fri, Jun 10, 2022 at 1:44 PM Hanumanth Pothula wrote:
>
> Return with error on fail to initialize RoC Model.
>
> Signed-off-by: Hanumanth Pothula
Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-next-net. Thanks
common/cnxk: handle ROC model init failure
Retu
From: Shiqi Liu <835703...@qq.com>
This patch replaces instances of zero-sized arrays i.e. those at
the end of structures with "[0]" with the more standard syntax of "[]".
Replacement was done using coccinelle script, with some revert and
cleanup of whitespace after
From: Shiqi Liu <835703...@qq.com>
This patch replaces instances of zero-sized arrays i.e. those at the
end of structures with "[0]" with the more standard syntax of "[]".
Replacement was done using coccinelle script, with some revert and
cleanup of whitespace afterwards.
Signed-o
The header files "l3fwd_em.h" and "l3fwd_em_sequential.h" use the
"__rte_always_inline" macro but don't directly include "rte_common.h" to
get the definition of it. This inclusion is not necessary for
compilation, but the lack of it can confuse some indexers - such as
those in eclipse, which report
The header file "roc_io.h" uses the "__plt_always_inline" macro but
don't include "roc_platform.h" to get the definition of it. This
inclusion is not necessary for compilation, but the lack of it can
confuse some indexers - such as those in eclipse, which reports the
lines:
"static __plt_always_in
These two small patches add in some additional header includes to 3 DPDK
files, in order to improve the experience of anyone who, like me,
sometimes uses eclipse-cdt as an editor for working with DPDK code.
The C indexer in eclipse seems easily confused when missing some of
our macro definitions, s
On Thu, Jun 9, 2022 at 8:50 PM Sathesh B Edara wrote:
>
> Updated ethdev ops support for link_update(),
> stats_get() and stats_reset()
a) Split as two patches (Suggested heading)
1) net/octeontx_ep: support basic stats
2) net/octeontx_ep: support link status
b) Update doc/guides/nics/features/
On Wed, Jun 15, 2022 at 03:54:57PM +0200, Morten Brørup wrote:
> > From: Chengwen Feng [mailto:fengcheng...@huawei.com]
> > Sent: Wednesday, 15 June 2022 09.39
> >
> > Use 'strict=False' in json-loads, it will ignore control characters
> > (e.g. '\n\t'), this patch is prepared for the support of t
> Add a command line option "--enable-sdap" to enable
> Service Data Adaptation Protocol.
>
> example command:
> ./dpdk-test-crypto-perf -c 0xc --log-level=8 --
> --devtype crypto_dpaa2_sec --optype pdcp --cipher-algo aes-ctr
> --cipher-op encrypt --auth-algo zuc-eia3 --auth-op generate
> --auth-
> Subject: [PATCH 1/2] crypto/octeontx: pass sub event type in event
>
> Response info may have valid sub_event_type. Pass this to the event
> generated by CPT.
>
> Signed-off-by: Anoob Joseph
> Reviewed-by: Shijith Thotton
> Reviewed-by: Jerin Jacob Kollanukkaran
Series applied to dpdk-next-c
>
> > Subject: [PATCH] crypto/cnxk: fix condition check
> >
> > The value of ec_mdata cannot be NULL, instead check that value of
> > private_data_offset was set.
> >
> >
> > Fixes: c3a498c01121 ("crypto/cnxk: add event metadata set operation")
> > Coverity issue: 378861 Coverity issue: 378865
>
> Adds support for zuc-256 cipher in cnxk crypto PMD.
>
> Ankur Dwivedi (2):
> common/cnxk: swap zuc-256 key
> crypto/cnxk: swap zuc-256 iv
>
> drivers/common/cnxk/roc_se.c | 7 +--
> drivers/common/cnxk/roc_se.h | 22 ++
> drivers/crypto/cnxk/cnxk_se.h | 24 ++
> > Add new packet type flags instead of overwriting.
> >
> > Fixes: d04bb1c52647 ("examples/ipsec-secgw: use HW parsed packet type in
> > poll mode")
> >
> > Signed-off-by: Radu Nicolau
> Acked-by: Fan Zhang
Acked-by: Akhil Goyal
Applied to dpdk-next-crypto
Thanks.
On Wed, 15 Jun 2022 16:59:51 +0200
Thomas Monjalon wrote:
> 15/06/2022 16:45, Stephen Hemminger:
> > On Wed, 15 Jun 2022 10:49:17 +0200
> > David Marchand wrote:
> >
> > > On Wed, May 18, 2022 at 12:17 PM David Marchand
> > > wrote:
> > > >
> > > > Fedora 36 is out since early may and come
> > Added option to configure number of queue pair descriptors via command
> > line (--desc-nb NUMBER_OF_DESC).
> >
> > When the crypto processing takes longer durations, small queue pair size
> > would result in cryptodev enqueue failures. Larger queue pair size would
> > allow more packets to sta
> >
> > Fix ESN option flag and initial value for the rte_ipsec library path.
> >
> > Fixes: 560029d5cfc9 ("examples/ipsec-secgw: define initial ESN value")
> > Cc: sta...@dpdk.org
> >
> > Signed-off-by: Radu Nicolau
> Acked-by: Fan Zhang
Applied to dpdk-next-crypto
Thanks.
> Fail IPSec ESN and antireplay cases, if there are no packets. Fixes
> following warning when using optimization=1 build flag with GCC 11.
>
> ../app/test/test_cryptodev.c: In function ‘test_ipsec_pkt_replay’:
> ../app/test/test_cryptodev.c:10074:15: warning: ‘td_outb’ may be used
> uninitialized
> --
> Fix the UDP header fields, wrong byte order used for src and dst port
> and wrong offset used when updating UDP datagram length.
>
> Fixes: 01eef5907fc3 ("ipsec: support NAT-T")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Rad
15/06/2022 16:45, Stephen Hemminger:
> On Wed, 15 Jun 2022 10:49:17 +0200
> David Marchand wrote:
>
> > On Wed, May 18, 2022 at 12:17 PM David Marchand
> > wrote:
> > >
> > > Fedora 36 is out since early may and comes with gcc 12.
> > > This series fixes compilation or waives some checks.
> > >
From: Somnath Kotur
The current combination of checks to determine whether autoneg is
enabled in the card is a bit convoluted and may become incorrect
as well in the future as one of the fields being used - auto_link_speed
might become deprecated.
Switch to using the 'auto_mode' field obtained fr
From: Damodharam Ammepalli
Minor cleanup in bnxt_mtu_set_op() to move pre-mature
setting of jumbo flag post mtu check and remove
a redundant mtu set operation from rxq vnic configs.
Fixes: daef48efe5e5 ("net/bnxt: support set MTU")
Cc: sta...@dpdk.org
Signed-off-by: Damodharam Ammepalli
Review
From: Damodharam Ammepalli
With this patch, bnxt_mtu_set_op() will return an error code if the
device has already started. The user application will have to take
care to bring down device before invoking the mtu_set()
Fixes: daef48efe5e5 ("net/bnxt: support set MTU")
Cc: sta...@dpdk.org
Signed-
From: Kalesh AP
The "active_fec_signal_mode" in HWRM_PORT_PHY_QCFG response
does not return correct value till the link is up. Driver cannot
rely on active_fec_signal_mode while setting forced speed.
While setting forced speed of 50G/100G/200G, check if PAM4 speeds
are supported for the port fir
From: Damodharam Ammepalli
Currently, we fail the init/probe of pmd if eth_dev->data->nb_tx_queues
or eth_dev->data->nb_rx_queues is 0. We are removing this check.
Fixes: daef48efe5e5 ("net/bnxt: support set MTU")
Cc: sta...@dpdk.org
Signed-off-by: Damodharam Ammepalli
Reviewed-by: Ajit Khapar
From: Kalesh AP
Broadcom HW drops packets when there are no descriptors available.
It does not matter what flag the application specifies in "rx_drop_en"
when configuring the Rx ring.
Reduce the verbosity of the log to print the status of the "rx_drop_en"
when configuring the Rx ring.
Signed-of
From: Ajit Khaparde
Allocate switch domain after the trusted VF capability is queried
from the FW. Currently we are calling the function earlier.
Since the switch domain is allocated only for PFs or trusted VF,
the current location of code fails to allocate the domain during init.
But during clea
From: Somnath Kotur
Currently the PMD tries to detect a potential 0 byte DMA by
using RTE_VERIFY.
But since RTE_VERIFY internally calls rte_panic() it is fatal to
the application and some applications want to avoid that.
So return an error from the bnxt xmit handler if such a bad pkt is
encounter
From: Kalesh AP
This patchset contains bug fixes in bnxt PMD.
Ajit Khaparde (1):
net/bnxt: fix switch domain allocation
Damodharam Ammepalli (3):
net/bnxt: allow Tx only or Rx only configs in PMD
net/bnxt: disallow MTU change when device is started
net/bnxt: cleanups in MTU set callback
On Wed, 15 Jun 2022 10:49:17 +0200
David Marchand wrote:
> On Wed, May 18, 2022 at 12:17 PM David Marchand
> wrote:
> >
> > Fedora 36 is out since early may and comes with gcc 12.
> > This series fixes compilation or waives some checks.
> >
> > There might be something fishy with rte_memcpy on x
Add command line options to support host shaper configure.
- Command syntax:
mlx5 set port host_shaper avail_thresh_triggered <0|1> rate
- Example commands:
To enable avail_thresh_triggered on port 1 and disable current host
shaper:
testpmd> mlx5 set port 1 host_shaper avail_thresh_triggered 1
Host port shaper can be configured with QSHR(QoS Shaper Host Register).
Add check in build files to enable this function or not.
The host shaper configuration affects all the ethdev ports belonging to the
same host port.
Host shaper can configure shaper rate and lwm-triggered for a host port.
The
Add mlx5 specific available descriptor threshold configuration
and query handler.
In mlx5 PMD, available descriptor threshold is also called
LWM(limit watermark).
While the Rx queue fullness reaches the LWM limit, the driver catches
an HW event and invokes the user callback.
The query handler finds
When LWM meets RQ WQE, the kernel driver raises an event to SW.
Use devx event_channel to catch this and to notify the user.
Allocate this channel per shared device.
The channel has a cookie that informs the specific event port and queue.
Signed-off-by: Spike Du
---
drivers/net/mlx5/mlx5.c
There are many duplicate code of creating and initializing rte_intr_handle.
Add a new mlx5_os API to do this, replace all PMD related code with this
API.
Signed-off-by: Spike Du
---
drivers/common/mlx5/linux/mlx5_common_os.c | 131 ++
drivers/common/mlx5/linux/mlx5_comm
available descriptor threshold(ADT for short) is per RX queue attribute, when
RX queue available descriptors for HW is below ADT, HW sends an event to
application.
Host shaper can configure shaper rate and avail_thresh-triggered for a host
port.
The shaper limits the rate of traffic from host po
Add lwm(Limit WaterMark) field to Rxq object which indicates the percentage
of RX queue size used by HW to raise LWM event to the user.
Allow LWM setting in modify_rq command.
Allow the LWM configuration dynamically by adding RDY2RDY state change.
Signed-off-by: Spike Du
---
drivers/net/mlx5/mlx
> From: bugzi...@dpdk.org [mailto:bugzi...@dpdk.org]
> Sent: Wednesday, 15 June 2022 09.16
>
> https://bugs.dpdk.org/show_bug.cgi?id=1035
>
> Bug ID: 1035
>Summary: __rte_raw_cksum() crash with misaligned pointer
>Product: DPDK
>Version: 21.11
>
28/10/2021 16:54, Sebastian, Selwin:
> I am working on making ptdma driver as a dmadev. Will submit new patch for
> review.
Any update?
14/06/2022 11:33, Chengwen Feng:
> From: "Min Hu (Connor)"
>
> Header files should be self contained. This patch fixed it.
>
> Fixes: 9e16317a38f9 ("dma/hisilicon: add probing")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Min Hu (Connor)
> Signed-off-by: Chengwen Feng
Applied, thanks.
08/06/2022 10:50, Chengwen Feng:
> This patch set contains three patches for skeleton DMA.
>
> Chengwen Feng (2):
> dma/skeleton: fix return last-idx when no memcopy completed
> test/dma: reset last-idx before invoke DMA completed ops
>
> Sivaprasad Tummala (1):
> dma/skeleton: support mult
> v7: updates suggested by Akhil and Maxime. Removed RTE prefix for internal
> #define, removed
> build-time single FEC engine configuration mode, documentation fix, coding
> guideline fix, renamed new file without rte prefix.
>
> v6: use formally an unified driver for AC100 and AC101. Exposing si
On Tue, Jun 14, 2022 at 8:06 AM Chengwen Feng wrote:
>
> Bug scenario:
> 1. start testpmd:
> dpdk-testpmd -l 4-6 -a :7d:00.0 --trace=.* \
> -file-prefix=trace_autotest -- -i
> 2. then observed:
> EAL: eal_trace_init():94 failed to initialize trace [File exists]
This is not directly related to
On Tue, Jun 14, 2022 at 8:06 AM Chengwen Feng wrote:
>
> There are a bug[1] when exit application while enable tracing, this
> bug has not been discovered for a long time, to quickly detect such
> bugs, this patch was introduced.
>
> This patch adds a testcase with trace enabling, it also depends
From: Satheesh Paul
Add ROC API to free the given MCAM entry. If the MCAM
entry has flow counter associated, this API will clear
and free the flow counter.
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob
---
v2:
* Removed unnecessary variable initialization
drivers/common/cnxk/roc_npc.
1 - 100 of 153 matches
Mail list logo