Issue:
Two threads:
- A, executing rte_eal_alarm_cancel,
- B, executing eal_alarm_callback.
Such case can cause starvation of thread B. Please see that there is a
small time window between lock and unlock in thread A, so thread B must
be switched to within a very small time window, so that it can
Hi Jerin,
Thanks for your review, v2 had fix it and sent, please review.
On 2024/9/17 23:50, Jerin Jacob wrote:
> On Thu, Aug 1, 2024 at 4:54 PM Chengwen Feng wrote:
>>
>> There was a segmentation fault when executing eventdev_pipeline with
>> command [1] with ConnectX-5 NIC card:
>>
>> 0x0
There was a segmentation fault when executing eventdev_pipeline with
command [1] with ConnectX-5 NIC card:
0x0079208c in rte_eth_tx_buffer (tx_pkt=0x16f8ed300, buffer=0x100,
queue_id=11, port_id=0) at
../lib/ethdev/rte_ethdev.h:6636
txa_service_tx (txa
Add log macro to print runtime messages and trace functions.
Signed-off-by: WanRenyong
---
v3:
* use RTE_LOG_LINE_PREFIX instead of rte_log
---
drivers/net/xsc/xsc_ethdev.c | 11 +
drivers/net/xsc/xsc_log.h| 46
2 files changed, 57 insertions(+)
Implement xsc ethdev configure, Rx and Tx queue setup functions.
Signed-off-by: WanRenyong
---
v3:
* use variable length array (VLA) instead of zero length array (ZLA)
v2:
* fix compilation warning
---
drivers/net/xsc/xsc_ethdev.c | 171 +++
drivers/net/xsc/xsc
Implement xsc ethdev information get function.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_ethdev.c | 60
1 file changed, 60 insertions(+)
diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
index 369eba3d63..4407c1295b 100644
---
Implement xsc ethdev basic stats get and reset functions.
Signed-off-by: WanRenyong
---
doc/guides/nics/features/xsc.ini | 1 +
drivers/net/xsc/xsc_ethdev.c | 76
drivers/net/xsc/xsc_rxtx.c | 11 -
drivers/net/xsc/xsc_rxtx.h | 15 +++
4 f
XSC PMD does not support update link right now, in order to
start device successfully link_update function always return 0.
Signed-off-by: WanRenyong
---
v3:
* change the first letter of the log to uppercase
---
doc/guides/nics/features/xsc.ini | 1 +
drivers/net/xsc/xsc_ethdev.c | 50
Implement xsc PMD receive function.
Signed-off-by: WanRenyong
Signed-off-by: Xiaoxiong Zhang
---
drivers/net/xsc/xsc_rxtx.c | 189 -
drivers/net/xsc/xsc_rxtx.h | 9 ++
2 files changed, 197 insertions(+), 1 deletion(-)
diff --git a/drivers/net/xsc/xsc_rxtx.
Implement xsc ethdev start and stop function.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
v3:
* remove the \n symbol in the log
* change the first letter of the log to uppercase
* use malloc instead of rte_zmalloc
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_ctrl.h
Configure hardware table to enable transmission and reception of
the queues.
Signed-off-by: WanRenyong
Signed-off-by: Xiaoxiong Zhang
---
v3:
* remove the \n symbol in the log
* change the first letter of the log to uppercase
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_ctrl.h
Implement xsc ethdev RSS hash config get and update functions.
Signed-off-by: WanRenyong
---
doc/guides/nics/features/xsc.ini | 3 +++
drivers/net/xsc/xsc_ctrl.h | 27
drivers/net/xsc/xsc_ethdev.c | 43 +++-
drivers/net/xsc/xsc_ethdev.h
Implement xsc PMD transmit function.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
doc/guides/nics/features/xsc.ini | 4 +
drivers/net/xsc/xsc_rxtx.c | 231 ++-
drivers/net/xsc/xsc_rxtx.h | 9 ++
3 files changed, 242 insertions(+), 2 deletion
Each representor port is a rte ethernet device.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_ethdev.c | 87
drivers/net/xsc/xsc_ethdev.h | 1 +
2 files changed, 88 insertions(+)
diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
i
Mailbox is a communication channel between driver and firmware.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_ctrl.c | 8
drivers/net/xsc/xsc_ctrl.h | 31 +++
2 files changed, 39 insertions(+)
diff --git a/drivers/net/xsc/xsc_ctrl.c b/drivers/net/xsc/xs
Initialize xsc eth device private data.
Signed-off-by: WanRenyong
---
v3:
* change the first letter of the log to uppercase
---
drivers/net/xsc/xsc_defs.h | 2 +-
drivers/net/xsc/xsc_dev.h| 3 +
drivers/net/xsc/xsc_ethdev.c | 64 +
drivers/net/xsc/xsc_ethdev.h |
XSC representor port is designed to store representor resources.
In addition to common representor ports, xsc device is a special
representor port.
Signed-off-by: WanRenyong
Signed-off-by: Na Na
---
drivers/net/xsc/xsc_defs.h | 24 +++
drivers/net/xsc/xsc_dev.c | 103 +++
IOCTL command interface is one of methods used to interact with
firmware by PMD. By using ioctl interface, PMD sends command to
the kernel module, then the kernel module translates the command
and sends it to firmware, at last, the kernel module send back
PDM the result from firmware.
Signed-off-b
Getting hardware information is done by ioctl command, which
contains the information of xsc device, as well as the common
information of the NIC board.
Signed-off-by: WanRenyong
---
v3:
* change the xsc_hwinfo_init function name to newline
---
drivers/net/xsc/xsc_dev.c | 64 ++
XSC device is a concept of low level device used to manage
hardware resource and to interact with firmware.
Signed-off-by: WanRenyong
---
v3:
* use snprintf instead of sprintf for safety
* use getline instead of fgets to handle arbitrary length
* change the xsc_dev_args_parse function name to n
Support the following Yunsilicon NICs to be probed:
- metaScale-200
- metaScale-200S
- metaScale-50
- metaScale-100Q
Signed-off-by: WanRenyong
Signed-off-by: Na Na
---
drivers/net/xsc/xsc_defs.h | 12 ++
drivers/net/xsc/xsc_ethdev.c | 74
drivers/net/
This xsc PMD (**librte_net_xsc**) provides poll mode driver for
Yunsilicon metaScale serials NICs.
Features:
-
- MTU update
- TSO
- RSS hash
- RSS key update
- RSS reta update
- L3 checksum offload
- L4 checksum offload
- Inner L3 checksum
- Inner L4 checksum
- Basic stats
Support NICs:
Add minimum PMD code, doc and build infrastructure for xsc.
Signed-off-by: WanRenyong
---
v2:
* fix compilation error
---
.mailmap | 4
MAINTAINERS | 9 +
doc/guides/nics/features/xsc.ini | 9 +
doc/guides/nics/index.rst
On 2024-09-17 17:40, Morten Brørup wrote:
+ start = rte_rdtsc();
+
+ for (i = 0; i < ITERATIONS; i++)
+ update_fun(mods[i & num_mods_mask]);
This indexing adds more instructions to be executed than just the update
function.
The added overhead is the same for all teste
Acked-by: Hemant Agrawal
> The current net CRC API is not thread-safe, this patch
> solves this by adding another, thread-safe API functions.
> These functions are not safe when using between different
> processes, though.
>
> Signed-off-by: Arkadiusz Kusztal
Added Jasvinder for review.
This patch is mainly related to
> This patch introduces SM4 algorithm support to the AESNI_MB PMD.
>
> Signed-off-by: Brian Dooley
> ---
> drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 22 ++
> drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h | 47 +
> 2 files changed, 69 insertions(+)
Update correspond
Hi Yong Liang,
You should mark the previous versions as superseded in patchwork.
This create unnecessary confusion.
The patch title is still too long.
crypto/scheduler: fix incorrect variable usage
> The variable `pending_deq_ops` was incorrectly used
> instead of `pending_enq_ops`.
> This cau
Hi Kai,
Please review.
The patch title is not correct. Please fix.
> The variable `pending_deq_ops` was incorrectly used
> instead of `pending_enq_ops`.
> This causes the program to crash
> when the worker PMD accesses the session
>
> Bugzilla ID: 1537
> Fixes: 6812b9bf470e ("crypto/scheduler: u
> Subject: [PATCH v2] examples/ipsec-secgw: fix dequeue count from cryptodev
>
> Setting dequeue packet count to max of MAX_PKT_BURST
> size instead of MAX_PKTS.
>
> Dequeue from cryptodev is called with MAX_PKTS but
> routing functions allocate hop/dst_ip arrays of
> size MAX_PKT_BURST. This can
> Subject: [PATCH v1 3/3] test/crypto: add support for error recovery
>
> Add a callback for error recovery and register it with cryptodev.
> Add a unit test to verify the error recovery of cryptodev.
> The unit test generates an error by passing an mbuf to cryptodev
> allocated from heap memory.
> Subject: [PATCH v1 2/3] crypto/cnxk: add queue pair reset support
>
> Add support for reset of a specific queue pair on cnxk platform.
>
> Signed-off-by: Vidya Sagar Velumuri
Acked-by: Akhil Goyal
> Subject: [PATCH v1 1/3] cryptodev: add queue pair reset API
>
> The API will reset the specific queue pair of a cryptodev.
> The current API, cryptodev_queue_pair_setup(), requires the cryptodev
> to be stopped before reconfiguring any queue pair. Stopping the
> cryptodev in one thread can res
> Subject: [PATCH 00/11] fixes and improvements to cnxk crypto PMD
>
> Adding new PMD APIs and improvements to cnxk crypto PMD.
>
> Anoob Joseph (9):
> common/cnxk: ensure CPTR is 128B aligned
> common/cnxk: rearrange to remove hole
> common/cnxk: remove abort from flush API
> common/cnxk
> Subject: [PATCH 0/6] Fixes and improvements in crypto unit tests
>
> Enable larger packet sizes in TLS tests and add minor improvements in
> crypto unit tests.
>
> Anoob Joseph (6):
> test/crypto: add asserts to validate test lengths
> test/crypto: enable larger packet sizes with TLS
> te
> v2 changes:
> * fix patch sequence
> * add missing code in
> "crypto/dpaa2_sec: rework debug code"
>
> Changes related to crypto driver
>
> Gagandeep Singh (1):
> crypto/dpaa2_sec: fix memory leak
>
> Jun Yang (5):
> net/dpaa2: support FLC stashing API
> crypto/dpaa2_se
Significant enough to add some documentation.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
doc/guides/rel_notes/release_24_11.rst | 15 +++
1 file changed, 15 insertions(+)
diff --git a/doc/guides/rel_notes/release_24_11.rst
b/doc/guides/rel_notes/release_24_11.rst
Like dmesg, colorize the log output (unless redirected to file).
Timestamp is green, the subsystem is in yellow and the message
is red if urgent, boldface if an error, and normal for info and
debug messages.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
app/test/test_eal_flags.c
If DPDK application is being run as a systemd service, then
it can use the journal protocol which allows putting more information
in the log such as priority and other information.
The use of journal protocol is automatically detected and
handled. Rather than having a dependency on libsystemd,
ju
Log to syslog only if option is specified. And if syslog is used
then normally only log to syslog, don't duplicate output.
Also enables syslog support on FreeBSD.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
app/test/test_eal_flags.c | 5 +-
doc/guides/linux
When debugging driver or startup issues, it is useful to have
a timestamp on each message printed. The messages in syslog
already have a timestamp, but often syslog is not available
during testing.
There are multiple timestamp formats similar to Linux dmesg.
The default is time relative since star
This is useful for when decorating log output for console
or journal. Provide basic version in this patch.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
lib/log/log.c | 6 +-
lib/log/log_private.h | 9 +
2 files changed, 14 insertions(+), 1 deletion(-)
create
This patch makes the log setup code common across all platforms.
Drops syslog support for now, will come back in later patch.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
app/test/test_eal_flags.c | 11 ++-
lib/eal/common/eal_common_options.c | 3 -
lib/log/log.c
In order for all log messages (including CPU mismatch) to
come out through the logging library, it must be initialized
as early in rte_eal_init() as possible on all platforms.
Where it was done before was likely historical based on
the support of non-OS isolated CPU's which required a shared
memor
The syslog facility property is better handled in lib/log
rather than in eal. This also allows for changes to what
syslog flag means in later steps.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
lib/eal/common/eal_common_options.c | 51 ++---
lib/eal/freeb
The rte_exit() output format confuses the timestamp and coloring
options. Change it to use be a single line with proper prefix.
Before:
[ 0.006481] EAL: Error - exiting with code: 1
Cause: [ 0.006489] Cannot init EAL: Permission denied
After:
[ 0.006238] EAL: Error - exiting with co
The message already goes through logging, and does not need
to be printed on stderr. Message level should be ALERT
to match function name.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
lib/eal/freebsd/eal.c | 3 +--
lib/eal/linux/eal.c | 3 +--
2 files
The code to parse for log-level option should be same on
all OS variants.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
lib/eal/common/eal_common_options.c | 45 +
lib/eal/common/eal_options.h| 1 +
lib/eal/freebsd/ea
Windows does not have localtime_r but it does have a similar
function that can be used instead.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
lib/eal/windows/include/rte_os_shim.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/eal/wi
Having different prototypes on different platforms can lead
to lots of unnecessary workarounds. Looks like the version of
getopt used from windows was based on an older out of date
version from FreeBSD.
This patch changes getopt, getopt_long, etc to have the same const
attributes as Linux and Fre
"You touch it you own it"
Add myself as maintainer for log library.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c5a703b5c0..ecf6f955cc 100644
--- a/MAINTAIN
Improvements and unification of logging library.
This version works on all platforms: Linux, Windows and FreeBSD.
This is update to rework patch set. It adds several new features
to the console log output.
* Putting a timestamp on console output which is useful for
analyzing performance of
> Subject: [PATCH 1/2] test/crypto: allow retries with stats test
>
> Stats need not be reflected instantly after the operation. Relax the
> test case to have retries to allow slower updates.
>
> Signed-off-by: Anoob Joseph
Series Acked-by: Akhil Goyal
Applied to dpdk-next-crypto
Thanks.
Acked-by: Morten Brørup
From: James Hershaw
Add command to change the state of a controllable LED on an ethdev port
to on/off. This is for the purpose of identifying which physical port is
associated with an ethdev.
Usage:
testpmd> set port led
Signed-off-by: James Hershaw
Reviewed-by: Chaoyong He
---
app/test-
From: James Hershaw
There is currently no means to test the .set_eeprom function callback of
a given PMD in drivers/net/. This patch adds functionality to allow a
user to set device eeprom from the testpmd cmdline.
Usage:
testpmd> set port eeprom magic \
value offset
- i
This patch series aims to add two commands for the testpmd application:
- testpmd> set port eeprom magic \
value offset
- testpmd> set port led
---
v4:
* Make the log more readable by using 'rte_strerror()'.
* Make the modification of document following the rules.
v3:
* Add acknow
https://bugs.dpdk.org/show_bug.cgi?id=1547
Stephen Hemminger (step...@networkplumber.org) changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://bugs.dpdk.org/show_bug.cgi?id=1547
Bug ID: 1547
Summary: Build fails on FreeBSD 14.0
Product: DPDK
Version: 24.11
Hardware: All
OS: FreeBSD
Status: UNCONFIRMED
Severity: major
Priority: N
Significant enough to add some documentation.
Signed-off-by: Stephen Hemminger
---
doc/guides/rel_notes/release_24_11.rst | 14 ++
1 file changed, 14 insertions(+)
diff --git a/doc/guides/rel_notes/release_24_11.rst
b/doc/guides/rel_notes/release_24_11.rst
index 0ff70d9057..4ed483b
Like dmesg, colorize the log output (unless redirected to file).
Timestamp is green, the subsystem is in yellow and the message
is red if urgent, boldface if an error, and normal for info and
debug messages.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
app/test/test_eal_flags.c
If DPDK application is being run as a systemd service, then
it can use the journal protocol which allows putting more information
in the log such as priority and other information.
The use of journal protocol is automatically detected and
handled. Rather than having a dependency on libsystemd,
ju
Log to syslog only if option is specified. And if syslog is used
then normally only log to syslog, don't duplicate output.
Also enables syslog support on FreeBSD.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
app/test/test_eal_flags.c | 5 +-
doc/guides/linux
When debugging driver or startup issues, it is useful to have
a timestamp on each message printed. The messages in syslog
already have a timestamp, but often syslog is not available
during testing.
There are multiple timestamp formats similar to Linux dmesg.
The default is time relative since star
This patch makes the log setup code common across all platforms.
Drops syslog support for now, will come back in later patch.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
app/test/test_eal_flags.c | 11 ++-
lib/eal/common/eal_common_options.c | 3 -
lib/log/log.c
This is useful for when decorating log output for console
or journal. Provide basic version in this patch.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
lib/log/log.c | 6 +-
lib/log/log_private.h | 9 +
2 files changed, 14 insertions(+), 1 deletion(-)
create
The syslog facility property is better handled in lib/log
rather than in eal. This also allows for changes to what
syslog flag means in later steps.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
---
lib/eal/common/eal_common_options.c | 51 ++---
lib/eal/freeb
In order for all log messages (including CPU mismatch) to
come out through the logging library, it must be initialized
as early in rte_eal_init() as possible on all platforms.
Where it was done before was likely historical based on
the support of non-OS isolated CPU's which required a shared
memor
The rte_exit() output format confuses the timestamp and coloring
options. Change it to use be a single line with proper prefix.
Before:
[ 0.006481] EAL: Error - exiting with code: 1
Cause: [ 0.006489] Cannot init EAL: Permission denied
After:
[ 0.006238] EAL: Error - exiting with co
The message already goes through logging, and does not need
to be printed on stderr. Message level should be ALERT
to match function name.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
lib/eal/freebsd/eal.c | 3 +--
lib/eal/linux/eal.c | 3 +--
2 files
The code to parse for log-level option should be same on
all OS variants.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
lib/eal/common/eal_common_options.c | 45 +
lib/eal/common/eal_options.h| 1 +
lib/eal/freebsd/ea
Windows does not have localtime_r but it does have a similar
function that can be used instead.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
lib/eal/windows/include/rte_os_shim.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/eal/wi
Having different prototypes on different platforms can lead
to lots of unnecessary workarounds. Looks like the version of
getopt used from windows was based on an older out of date
version from FreeBSD.
This patch changes getopt, getopt_long, etc to have the same const
attributes as Linux and Fre
"You touch it you own it"
Add myself as maintainer for log library.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c5a703b5c0..ecf6f955cc 100644
--- a/MAINTAIN
Improvements and unification of logging library.
This version works on all platforms: Linux, Windows and FreeBSD.
This is update to rework patch set. It adds several new features
to the console log output.
* Putting a timestamp on console output which is useful for
analyzing performance of
https://bugs.dpdk.org/show_bug.cgi?id=1546
Bug ID: 1546
Summary: fib6 perf test failing
Product: DPDK
Version: 24.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
> On 31/07/2024 22:26, Wathsala Vithanage wrote:
> > Updates the tag of Arm IPsec-MB library to SECLIB-IPSEC-2024.07.08
> > in snow3g and zuc documentation.
> >
> > Signed-off-by: Wathsala Vithanage
> > Reviewed-by: Dhruv Tripathi
> Acked-by: Jack Bond-Preston
Applied to dpdk-next-crypto
Thanks.
> Add new file zsda_sym_session.c, zsda_symsession.h
> and modify drivers/common/zsda/meson.build
>
> Signed-off-by: Hanxiao Li
> ---
> drivers/common/zsda/meson.build| 16 +-
> drivers/crypto/zsda/zsda_sym_session.c | 503 +
> drivers/crypto/zsda/zsda_sym_sessio
> Add new file zsda_sym_pmd.c, zsda_sym_pmd.h in drivers/crypto/zsda
>
> Signed-off-by: Hanxiao Li
Please split the patches appropriately for better review.
Please follow
https://patches.dpdk.org/project/dpdk/patch/20240916162856.11566-1-step...@networkplumber.org/
> ---
> drivers/crypto/zsda/
> -Original Message-
> From: Hanxiao Li
> Sent: Wednesday, September 11, 2024 1:24 PM
> To: dev@dpdk.org
> Cc: wang.yon...@zte.com.cn; Hanxiao Li
> Subject: [EXTERNAL] [PATCH v6 5/8] zsda: modify files for introducing zsda
> cryptodev
>
> It is necessary to make necessary modification
> Introduce driver support for ZSDA which can
> help to accelerate storage data process.
>
> v6: modify code for ci compile
>
> Signed-off-by: Hanxiao Li
> ---
> MAINTAINERS | 4 +
> config/rte_config.h | 4 +
> drivers/common/zsda/meson.build | 25 +
> From: Vignesh PS
>
> Add support to ip_frag library to perform IPv6 reassembly
> when extension headers are present before the fragment
> extension in the packet.
>
> Signed-off-by: Vignesh PS
> ---
> .mailmap | 1 +
> lib/ip_frag/ip_frag_common.h | 2 +
> l
>
> On Mon, 26 Aug 2024 13:23:28 +0200
> wrote:
>
> > diff --git a/lib/ip_frag/ip_reassembly.h b/lib/ip_frag/ip_reassembly.h
> > index 54afed5417..429e74f1b3 100644
> > --- a/lib/ip_frag/ip_reassembly.h
> > +++ b/lib/ip_frag/ip_reassembly.h
> > @@ -54,6 +54,8 @@ struct __rte_cache_aligned ip_f
> Introduce stateless packet preparation API for IPsec
> processing. The new API would allow preparation of IPsec
> packets without altering the internal state of an IPsec
> session.
>
> For outbound IPsec processing, the change enables user to
> provide sequence number to be used for the IPsec
The codespell dictionary has "stdio" in its bad word list,
but stdio.h is often used in DPDK code and creates bogus false
positives from checkpatch.
Also add a check to the parameters to build-dict.sh so it
gives usage error if parameter is missing or does not point
to the codespell git clone.
Si
On 17/09/2024 17:21, Ali Alnubani wrote:
>> -Original Message-
>> From: Kevin Traynor
>> Sent: Tuesday, September 17, 2024 7:14 PM
>> To: Ali Alnubani ; sta...@dpdk.org
>> Cc: dev@dpdk.org; Abhishek Marathe ;
>> Hemant Agrawal ; Ian Stokes
>> ; Jerin Jacob ; John McNamara
>> ; Ju-Hyoung Le
> >> +#define LCORE_BUFFER_SIZE (RTE_MAX_LCORE_VAR * RTE_MAX_LCORE)
> >> +
> >> +static void *lcore_buffer;
> >> +static size_t offset = RTE_MAX_LCORE_VAR;
> >> +
> >> +static void *
> >> +lcore_var_alloc(size_t size, size_t align)
> >> +{
> >> + void *handle;
> >> + void *value;
> >> +
> >> +
> -Original Message-
> From: Kevin Traynor
> Sent: Tuesday, September 17, 2024 7:14 PM
> To: Ali Alnubani ; sta...@dpdk.org
> Cc: dev@dpdk.org; Abhishek Marathe ;
> Hemant Agrawal ; Ian Stokes
> ; Jerin Jacob ; John McNamara
> ; Ju-Hyoung Lee ; Luca
> Boccassi ; Pei Zhang ; Raslan
> Daraws
On 11/09/2024 14:10, Ali Alnubani wrote:
>> -Original Message-
>> From: Kevin Traynor
>> Sent: Wednesday, September 11, 2024 3:20 PM
>> To: Ali Alnubani ; sta...@dpdk.org
>> Cc: dev@dpdk.org; Abhishek Marathe ;
>> Hemant Agrawal ; Ian Stokes
>> ; Jerin Jacob ; John McNamara
>> ; Ju-Hyoung
> >> +
> >> +/**
> >> + * Get pointer to lcore variable instance with the specified lcore id.
> >> + *
> >> + * @param lcore_id
> >> + * The lcore id specifying which of the @c RTE_MAX_LCORE value
> >> + * instances should be accessed. The lcore id need not be valid
> >> + * (e.g., may be @re
On Thu, Aug 1, 2024 at 4:54 PM Chengwen Feng wrote:
>
> There was a segmentation fault when executing eventdev_pipeline with
> command [1] with ConnectX-5 NIC card:
>
> 0x0079208c in rte_eth_tx_buffer (tx_pkt=0x16f8ed300, buffer=0x100,
> queue_id=11, port_id=0) at ../lib/ethdev/rte_ethdev
17/09/2024 17:45, Bruce Richardson:
> On Tue, Sep 17, 2024 at 08:34:21AM -0700, Stephen Hemminger wrote:
> > The codespell dictionary has "stdio" in its bad word list,
> > but stdio.h is often used in DPDK code and creates bogus false
> > postitives from checkpatch.
> >
> > Also add a check to the
On Tue, Sep 17, 2024 at 08:34:21AM -0700, Stephen Hemminger wrote:
> The codespell dictionary has "stdio" in its bad word list,
> but stdio.h is often used in DPDK code and creates bogus false
> postitives from checkpatch.
>
> Also add a check to the parameters to build-dict.sh so it
> gives usage
> + start = rte_rdtsc();
> +
> + for (i = 0; i < ITERATIONS; i++)
> + update_fun(mods[i & num_mods_mask]);
This indexing adds more instructions to be executed than just the update
function.
The added overhead is the same for all tested access methods, so the absolute
differen
The codespell dictionary has "stdio" in its bad word list,
but stdio.h is often used in DPDK code and creates bogus false
postitives from checkpatch.
Also add a check to the parameters to build-dict.sh so it
gives usage error if parameter is missing or does not point
to the codespell git clone.
S
On Thu, Jul 25, 2024 at 11:24 PM Stephen Hemminger
wrote:
>
> Zero length array's are a GNU C extension and should be replaced
> by use of flexible arrayrs. This has been fixed almost everywhere
> in DPDK 24.07 but looks like some event code got missed.
>
> Generated by devtools/cocci/zero_length_
Dean actually just came down with an illness. Since the changes in his
series are minimal (I see the only ones left are updating dts.rst and
the devcontainer json) I think that one of us at UNH should submit a
patch which is essentially a v2 of his series. It's probably not worth
blocking a "critic
On Wed, Jul 24, 2024 at 1:02 AM wrote:
>
> From: Pavan Nikhilesh
>
> Missing schedule type assignment might set it to
> incorrect value, set it to SCHED_TYPE_PARALLEL.
>
> Fixes: d007a7f39de3 ("eventdev: introduce link profiles")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Pavan Nikhilesh
Applied
On 16. 9. 2024 14:48, Thomas Monjalon wrote:
16/09/2024 10:51, Juraj Linkeš:
On 12. 9. 2024 22:09, Thomas Monjalon wrote:
21/08/2024 17:02, Juraj Linkeš:
+req_deps = _get_dependencies(_DTS_DEP_FILE_PATH)
+req_deps.pop('python')
+
+for req_dep, dep_data in (req_deps | _EXTRA_DEPS
Introduce DPDK per-lcore id variables, or lcore variables for short.
An lcore variable has one value for every current and future lcore
id-equipped thread.
The primary use case is for statically allocating
small, frequently-accessed data structures, for which one instance
should exist for each l
1 - 100 of 154 matches
Mail list logo