Set crypto adapter enqueue and dequeue operations for CN10K.
Signed-off-by: Shijith Thotton
---
doc/guides/rel_notes/release_21_11.rst | 3 ++
drivers/event/cnxk/cn10k_eventdev.c | 45 +++-
drivers/event/cnxk/cn10k_worker.c| 11
drivers/event/cnxk/cn10k_worker.h
> -Original Message-
> From: Yu, DapengX
> Sent: Thursday, September 2, 2021 17:44
> To: Yang, Qiming ; Zhang, Qi Z
> Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX
> ;
> sta...@dpdk.org
> Subject: [PATCH] net/ice: fix representor port segmentation fault
>
> From: Dapeng Yu
>
> If DCF r
14/04/2021 21:49, Thomas Monjalon:
> 13/04/2021 05:14, Xueming Li:
> > Xueming Li (5):
> > devargs: unify scratch buffer storage
> > devargs: fix memory leak on parsing error
> > kvargs: add get by key function
> > bus: add device arguments name parsing API
> > devargs: parse global devic
On Thu, Sep 2, 2021 at 7:54 PM Ivan Malov wrote:
>
> Per-packet meta information (flag, mark and the likes) might
> be expensive to deliver in terms of small packet performance.
> If the features are not enabled by default, enabling them at
> short notice (for example, when a flow rule with action
On Thu, Sep 02, 2021 at 10:48:05PM +0800, Kefu Chai wrote:
> RTE_MAX_MEMSEG_LISTS = 128 is not enough for some use cases, so add an
> option so user can override it.
How big a value do you need? Can you share anything about the use-case
where you are hitting this limit?
> RTE_MBUF_REFCNT_ATOMIC =
On Thu, 2 Sep 2021 13:32:48 +0800
Feifei Wang wrote:
> Add new API for wait_until scheme, and apply this new API into lib to
> replace rte_pause.
>
> Feifei Wang (5):
> eal: add new API for wait until scheme
> eal: use wait until scheme for read pflock
> eal: use wait until scheme for mcs
On Thu, 2 Sep 2021 09:01:58 +0300
Andrew Rybchenko wrote:
> On 9/1/21 8:16 PM, Stephen Hemminger wrote:
> >
> >>> /**
> >>> - * @warning
> >>> - * @b EXPERIMENTAL: this API may change without prior notice.
> >>> - *
> >>> * Return the cpuset for a given lcore.
> >>> * @param lcore_id
> >>
On Thu, 2 Sep 2021 09:10:47 +0100
Bruce Richardson wrote:
> On Wed, Sep 01, 2021 at 02:27:07PM -0700, Stephen Hemminger wrote:
> > This fixes most of the warnings from the Flake8 style checker.
> > The ones remaing are long lines (we allow > 79 characters)
> > and a line break warning. The line
Hi chenbo,
why this is not moved up?
>> +if (vsocket->is_server) {
>> +close(vsocket->socket_fd);
>> +unlink(path);
>> }
==>Because if this is moved up, and if deleting conn fd from fdsets failed,
it will arrive the "again" label,
The rte_vhost_driver_unregister() and vhost_user_read_cb()
can be called at the same time by 2 threads.
when memory of vsocket is freed in rte_vhost_driver_unregister(),
the invalid memory of vsocket is accessed in vhost_user_read_cb().
It's a bug of both mode for vhost as server or client.
E.g.,
On Thu, Sep 02, 2021 at 08:24:58AM -0700, Stephen Hemminger wrote:
> On Thu, 2 Sep 2021 09:10:47 +0100
> Bruce Richardson wrote:
>
> > On Wed, Sep 01, 2021 at 02:27:07PM -0700, Stephen Hemminger wrote:
> > > This fixes most of the warnings from the Flake8 style checker.
> > > The ones remaing are
Hi,
> -Original Message-
> From: Akhil Goyal
> Sent: Thursday, September 2, 2021 1:14 PM
> To: Michael Baum ; dev@dpdk.org
> Cc: Matan Azrad ; sta...@dpdk.org
> Subject: RE: [EXT] [dpdk-dev] [PATCH] crypto/mlx5: support timestamp
> format
>
> External email: Use caution opening links or
On 02/09/2021 09:17, pbhagavat...@marvell.com wrote:
> From: Pavan Nikhilesh
>
> Remove experimental tag from rte_eth_dev_set_ptypes().
>
> Signed-off-by: Pavan Nikhilesh
Acked-by: Ray Kinsella
On Thu, 2 Sep 2021 16:50:14 +0100
Bruce Richardson wrote:
> On Thu, Sep 02, 2021 at 08:24:58AM -0700, Stephen Hemminger wrote:
> > On Thu, 2 Sep 2021 09:10:47 +0100
> > Bruce Richardson wrote:
> >
> > > On Wed, Sep 01, 2021 at 02:27:07PM -0700, Stephen Hemminger wrote:
> > > > This fixes mo
On 8/20/2021 2:55 PM, Andrew Rybchenko wrote:
> From: Ivan Ilchenko
>
> Add 'display-xstats' option for using in accompanying with Rx/Tx statistics
> (i.e. 'stats-period' option or 'show port stats' interactive command) to
> display specified list of extended statistics.
>
Overall +1 to the fea
On 02/09/2021 10:50, Ferruh Yigit wrote:
> On 9/1/2021 2:25 PM, Burakov, Anatoly wrote:
>> On 01-Sep-21 12:42 PM, Ferruh Yigit wrote:
>>> On 9/1/2021 12:01 PM, Burakov, Anatoly wrote:
On 01-Sep-21 10:56 AM, Ferruh Yigit wrote:
> On 9/1/2021 2:41 AM, Ding, Xuan wrote:
>> Hi Ferruh,
>
On 02/09/2021 15:23, Ivan Malov wrote:
> Per-packet meta information (flag, mark and the likes) might
> be expensive to deliver in terms of small packet performance.
> If the features are not enabled by default, enabling them at
> short notice (for example, when a flow rule with action MARK
> ge
On 8/26/2021 11:11 AM, Thomas Monjalon wrote:
> From: Asaf Penso
>
> Adding more information about the release milestones.
> This includes the scope of change, expectations, etc.
>
> Signed-off-by: Asaf Penso
> Signed-off-by: Thomas Monjalon
> Acked-by: John McNamara
> Acked-by: Ajit Khaparde
> -Original Message-
> From: Andrew Rybchenko
> Sent: Wednesday, September 1, 2021 12:13 AM
> To: Xiaoyun Li
> Cc: dev@dpdk.org; Xueming(Steven) Li ; Viacheslav
> Galaktionov ; Andy
> Moreton
> Subject: [PATCH v2] app/testpmd: add command to print representor info
>
> From: Viachesl
> -Original Message-
> From: Ferruh Yigit
> Sent: Monday, August 30, 2021 5:43 PM
> To: Xueming(Steven) Li ; Kevin Traynor
> ; Ben Magistro ;
> dev@dpdk.org; Beilei Xing ; Luca Boccassi
> ; Christian Ehrhardt
>
> Cc: ben.magis...@trinitycyber.com; stefan.baran...@trinitycyber.com; Qi
When checking the results of the rte_atomic128_cmp_exchange() function,
current code compares the values of a uint32_t and a uint64_t variable.
If the number of lcores used by the test is large, or the value of the
iteration count N is increased, the variable size mimatch can cause a
false test fai
This patch series introduce the enetfec driver, ENETFEC
(Fast Ethernet Controller) is a network poll mode driver for
the inbuilt NIC found in the NXP i.MX 8M Mini SoC.
An overview of the enetfec driver with probe and remove are in patch 1.
Patch 2 design UIO interface so that user space directly c
ENETFEC (Fast Ethernet Controller) is a network poll mode driver
for NXP SoC i.MX 8M Mini.
This patch adds skeleton for enetfec driver with probe function.
Signed-off-by: Sachin Saxena
Signed-off-by: Apeksha Gupta
---
doc/guides/nics/enetfec.rst | 121
doc/guides/
Implemented the fec-uio driver in kernel. enetfec PMD uses
UIO interface to interact with "fec-uio" driver implemented in
kernel for PHY initialisation and for mapping the allocated memory
of register & BD from kernel to DPDK which gives access to
non-cacheable memory for BD.
Signed-off-by: Sachin
This patch adds Rx/Tx queue configuration setup operations.
On packet reception the respective BD Ring status bit is set
which is then used for packet processing.
Signed-off-by: Sachin Saxena
Signed-off-by: Apeksha Gupta
---
drivers/net/enetfec/enet_ethdev.c | 230 +-
This patch adds burst enqueue and dequeue operations to the enetfec
PMD. Loopback mode is also added, compile time flag 'ENETFEC_LOOPBACK' is
used to enable this feature. By default loopback mode is disabled.
Basic features added like promiscuous enable, basic stats.
Signed-off-by: Sachin Saxena
This patch adds checksum and VLAN offloads in enetfec network
poll mode driver.
Signed-off-by: Sachin Saxena
Signed-off-by: Apeksha Gupta
---
doc/guides/nics/enetfec.rst | 2 ++
doc/guides/nics/features/enetfec.ini | 3 ++
drivers/net/enetfec/enet_ethdev.c| 17 +-
drivers
https://bugs.dpdk.org/show_bug.cgi?id=804
Bug ID: 804
Summary: distributor: exiting workers can hang distributor core
Product: DPDK
Version: 21.08
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Suppress gcc warning "warning: writing 16 bytes into a region of
size 0" for users of the POWER rte_memcpy() function. Existing
rte_memcpy() code takes different code paths based on the actual
size of the move so the warning is already addressed. See also
commit b5b3ea803e47 ("eal/x86: ignore gcc
Suppress the gcc warning "note: the layout of aggregates containing
vectors with 4-byte alignment has changed in GCC 5" on POWER systems
by setting "-Wno-psabi". Warning was originally added to gcc in
commit https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9832651 to warn
of the vector alignment cha
Back in 2019, commit c5b2e78d1172 ("doc: announce ethdev API changes in offload
flags")
announced changes in DEV_RX_OFFLOAD namespace intending to add new flags,
RSS_HASH and
FLOW_MARK. Since then, only the former has been added. Currently, there's no
way for
the application to configure the eth
Per-packet meta information (flag, mark and the likes) might
be expensive to deliver in terms of small packet performance.
If the features are not enabled by default, enabling them at
short notice (for example, when a flow rule with action MARK
gets created) without traffic disruption may not be po
This is a preparation step. Later patches will make features
FLAG and MARK on EF100 native Rx datapath available to users.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
---
drivers/net/sfc/sfc.h| 2 ++
drivers/net/sfc/sfc_ethdev.c | 34 ++
driv
As of now, reading out mark on EF100 native datapath is used
only by MAE counter support for delivery of generation count
values. Make the feature available to flow action MARK users.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
---
drivers/net/sfc/sfc_ef100_rx.c | 1 +
drivers/net/s
Add an RxQ flag to request support for user flag field of Rx
prefix. The feature is supported only on EF100 and EF10 ESSB.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
---
drivers/common/sfc_efx/base/ef10_rx.c | 54 --
drivers/common/sfc_efx/base/efx.h |
Read out user flag from Rx prefix and indicate it to callers.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
---
drivers/net/sfc/sfc_ef100_rx.c | 18 ++
drivers/net/sfc/sfc_rx.c | 3 +++
2 files changed, 21 insertions(+)
diff --git a/drivers/net/sfc/sfc_ef100_rx
This is a tradeoff point. If we changed the log level of dmadev, it is
difficult to know where the test case fails.
So I prefer add more meaningful information, at least print out the function
name.
And V19 add format function name in log default, so the rte_dmadev's log will
show like:
rte_d
This patch set is a more complete version of the the enhanced
packet capture support described last year.
The new capture library and utility are:
- faster avoids lots of extra I/O, does bursting, etc.
- gives more information (multiple ports, queues, etc)
- has a better user interface (same
This is utility library for writing pcapng format files
used by Wireshark family of utilities. Older tcpdump
also knows how to read (but not write) this format.
See draft RFC
https://www.ietf.org/id/draft-tuexen-opsawg-pcapng-03.html
and
https://github.com/pcapng/pcapng/
Signed-off-by: Stephe
This enhances the DPDK pdump library to support new
pcapng format and filtering via BPF.
The internal client/server protocol is changed to support
two versions: the original pdump basic version and a
new pcapng version.
The internal version number (not part of exposed API or ABI)
is intentionally
This is a new packet capture application to replace existing pdump.
The new application works like Wireshark dumpcap program and supports
the pdump API features.
It is not complete yet some features such as filtering are not implemented.
Signed-off-by: Stephen Hemminger
---
app/dumpcap/main.c
Describe the new packet capture library and utilities
Signed-off-by: Stephen Hemminger
---
doc/api/doxy-api-index.md | 1 +
doc/api/doxy-api.conf.in | 1 +
doc/guides/howto/packet_capture_framework.rst | 67
doc/guides/prog_guide/index.
Claim responsibility for the new code.
Signed-off-by: Stephen Hemminger
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 266f5ac1dae8..06384ac2702d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1429,6 +1429,12 @@ F: app/test/test_pdump.*
Ken Thompson lives on...
WARNING:TYPO_SPELLING: 'CREAT' may be misspelled - perhaps 'CREATE'?
#705: FILE: app/dumpcap/main.c:605:
+ fd = open(output_name, O_WRONLY | O_CREAT, mode);
> -Original Message-
> From: Wang, Haiyue
> Sent: Thursday, September 2, 2021 10:45 PM
> To: Yu, DapengX ; Yang, Qiming
> ; Zhang, Qi Z
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: RE: [PATCH] net/ice: fix representor port segmentation fault
>
> > -Original Message-
> > From
https://bugs.dpdk.org/show_bug.cgi?id=805
Bug ID: 805
Summary: af_xdp PMD is broken with primary/secondary process
Product: DPDK
Version: 21.11
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: major
> -Original Message-
> From: Yu, DapengX
> Sent: Friday, September 3, 2021 11:09
> To: Wang, Haiyue ; Yang, Qiming
> ; Zhang, Qi Z
>
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: RE: [PATCH] net/ice: fix representor port segmentation fault
>
>
>
> > -Original Message-
> > Fro
Add lookaside IPsec functional tests. Known vector tests and
combined mode framework is added.
Known vectors are outbound vectors based on
https://datatracker.ietf.org/doc/html/draft-mcgrew-gcm-test-01
The vectors are updated to have sequence number as 1 & L4 checksum
computed correctly. And they
Added test case for lookaside IPsec. Inbound known vector
tests are added.
Cipher list: AES-GCM 128, 192 & 256
Signed-off-by: Anoob Joseph
Signed-off-by: Tejasree Kondoj
---
app/test/meson.build | 1 +
app/test/test.h| 6 +
Add framework to test IPsec features with all supported
combinations of ciphers.
Signed-off-by: Anoob Joseph
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev.c| 73 +++--
app/test/test_cryptodev_security_ipsec.c | 107 +--
a
From: Tejasree Kondoj
Adding lookaside IPsec ICV corrupt test case.
Signed-off-by: Anoob Joseph
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev.c| 16
app/test/test_cryptodev_security_ipsec.c | 30 --
app/test/test_crypto
From: Tejasree Kondoj
Add test cases to verify IV generated by PMD.
Signed-off-by: Anoob Joseph
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev.c| 19
app/test/test_cryptodev_security_ipsec.c | 52
app/test/test_cryptode
From: Tejasree Kondoj
Adding UDP encapsulation test cases.
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev.c| 19 +++
app/test/test_cryptodev_security_ipsec.c | 28
app/test/test_cryptodev_security_ipsec.h | 1 +
3 files
From: Dapeng Yu
If DCF representor port is closed after DCF port is closed, there will
be segmentation fault because representor accesses the released resource
of DCF port.
This patch makes DCF representor port is always closed before DCF port is
closed.
Fixes: 5674465a32c8 ("net/ice: add DCF V
RTE_MAX_MEMSEG_LISTS = 128 is not enough for some use cases, so add an
option so user can override it.
RTE_MBUF_REFCNT_ATOMIC = 0 is enough for applications like Seastar,
where it's safe to assume that the mbuf refcnt is only updated by a single
core only.
Signed-off-by: Kefu Chai
---
config/mes
RTE_MAX_MEMSEG_LISTS = 128 is not enough for high-memory machines, so add an
option so user can override it.
RTE_MBUF_REFCNT_ATOMIC = 0 is not necessary for applications like Seastar,
where it's safe to assume that the mbuf refcnt is only updated by a single
core only.
---
v2:
revise the commit
RTE_MAX_MEMSEG_LISTS = 128 is not enough for high-memory machines, in our case,
we need to increase it to 8192. so add an option so user can override it.
RTE_MBUF_REFCNT_ATOMIC = 0 is not necessary for applications like Seastar,
where it's safe to assume that the mbuf refcnt is only updated by a si
Dear DPDK community,
Would you please help us to understand if we can use Intel 8.15 firmware with
DPDK 20.11 and 21.02 versions?
We have huge demand on our servers with usage of Nokia SBC and DPDK, but stuck
on validation.
Thank you in advance!
Igor Korolevskiy | System Consultant @ Dell Tec
Event crypto adapter spec does not mention about cryptodev start and
stop. Cryptodev attached to the adapter should be started before calling
crypto adapter start. Added the same in spec and test application.
Signed-off-by: Shijith Thotton
---
app/test/test_event_crypto_adapter.c| 8
> Event crypto adapter spec does not mention about cryptodev start and
> stop. Cryptodev attached to the adapter should be started before calling
> crypto adapter start. Added the same in spec and test application.
>
> Signed-off-by: Shijith Thotton
> ---
Acked-by: Akhil Goyal
https://bugs.dpdk.org/show_bug.cgi?id=806
Bug ID: 806
Summary: Throughput with dpdk + vhost-user + vIOMMU is lower
with it's first connection
Product: DPDK
Version: 20.11
Hardware: x86
OS: Linux
> -Original Message-
> From: dev On Behalf Of David Christensen
> Sent: Friday, September 3, 2021 1:41 AM
> To: dev@dpdk.org
> Cc: Phil Yang ; sta...@dpdk.org; David Christensen
>
> Subject: [dpdk-dev] [PATCH] test/atomic: fix false failures for 128-bit atomic
> compare exchange test
>
>
101 - 162 of 162 matches
Mail list logo