Have rte_bit_[test|set|clear|assign|flip]() and rte_bit_atomic_*()
handle volatile-marked pointers.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Jack Bond-Preston
--
PATCH v3:
* Updated to reflect removed 'fun' parameter in __RTE_GEN_BIT_*()
(Jack Bond-Preston).
PATC
Add functionality to test and modify the value of individual bits in
32-bit or 64-bit words.
These functions have no implications on memory ordering, atomicity and
does not use volatile and thus does not prevent any compiler
optimizations.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Extend bitops tests to cover the
rte_bit_[test|set|clear|assign|flip]()
functions.
The tests are converted to use the test suite runner framework.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Tyler Retzlaff
Acked-by: Jack Bond-Preston
--
RFC v6:
* Test rte_bit_*test()
Relax chkincs requirement of all DPDK header files having to contain
'extern "C"'.
Instructing a C++ toolchain to use C linkage is only necessarily if the
header file declares symbols (i.e., functions or global variables).
With this change, chkincs tries to find if any functions or references
to
This patch set represent an attempt to improve and extend the RTE
bitops API, in particular for functions that operate on individual
bits.
All new functionality is exposed to the user as generic selection
macros, delegating the actual work to private (__-marked) static
inline functions. Public fun
Add atomic bit test/set/clear/assign/flip and
test-and-set/clear/assign/flip functions.
All atomic bit functions allow (and indeed, require) the caller to
specify a memory order.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Tyler Retzlaff
Acked-by: Jack Bond-Preston
--
Extend bitops tests to cover the rte_bit_atomic_*() family of
functions.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Tyler Retzlaff
Acked-by: Jack Bond-Preston
--
RFC v4:
* Add atomicity test for atomic bit flip.
RFC v3:
* Rename variable 'main' to make ICC happy.
--
Hi thomas,
Could you please provide feedback on the patch I submitted on August 12?
Any suggestions for improvement would be appreciated.
Thanks
> > 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
> > > 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
I understand Juraj's concern about the dependencies assuming this
change was to stay in its own isolated patch in the log. That aside,
this is pretty straightforward, and I have confidence in the judgement
of whatever decision is made between the two of you.
Reviewed-by: Nicholas Pratte
On Thu,
Add atomic bit test/set/clear/assign/flip and
test-and-set/clear/assign/flip functions.
All atomic bit functions allow (and indeed, require) the caller to
specify a memory order.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Tyler Retzlaff
Acked-by: Jack Bond-Preston
--
Extend bitops tests to cover the
rte_bit_[test|set|clear|assign|flip]()
functions.
The tests are converted to use the test suite runner framework.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Tyler Retzlaff
Acked-by: Jack Bond-Preston
--
RFC v6:
* Test rte_bit_*test()
Have rte_bit_[test|set|clear|assign|flip]() and rte_bit_atomic_*()
handle volatile-marked pointers.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Jack Bond-Preston
--
PATCH v3:
* Updated to reflect removed 'fun' parameter in __RTE_GEN_BIT_*()
(Jack Bond-Preston).
PATC
Add functionality to test and modify the value of individual bits in
32-bit or 64-bit words.
These functions have no implications on memory ordering, atomicity and
does not use volatile and thus does not prevent any compiler
optimizations.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
This patch set represent an attempt to improve and extend the RTE
bitops API, in particular for functions that operate on individual
bits.
All new functionality is exposed to the user as generic selection
macros, delegating the actual work to private (__-marked) static
inline functions. Public fun
Extend bitops tests to cover the rte_bit_atomic_*() family of
functions.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Tyler Retzlaff
Acked-by: Jack Bond-Preston
--
RFC v4:
* Add atomicity test for atomic bit flip.
RFC v3:
* Rename variable 'main' to make ICC happy.
--
Relax chkincs requirement of all DPDK header files having to contain
'extern "C"'.
Instructing a C++ toolchain to use C linkage is only necessarily if the
header file declares symbols (i.e., functions or global variables).
With this change, chkincs tries to find if any functions or references
to
From: Vamsi Attunuru
Adds an event callback to catch any device removal
event occurred during driver probe. This callback helps
in terminating the execution if there is any device removal
event during the driver probe.
Also moved global register configuration into dev_configure()
routine and als
On 2024-09-18 12:11, Jerin Jacob wrote:
On Thu, Sep 12, 2024 at 8:52 PM Jerin Jacob wrote:
On Thu, Sep 12, 2024 at 7:11 PM Morten Brørup
wrote:
From: Jerin Jacob [mailto:jerinjac...@gmail.com]
Sent: Thursday, 12 September 2024 15.17
On Thu, Sep 12, 2024 at 2:40 PM Morten Brørup
wrote:
Hi,
On Wed, Aug 7, 2024 at 11:58 PM Igor Gutorov wrote:
>
> Hi,
>
> Sorry, I used the wrong --to and --cc switches.
> Adding Slava just in case.
>
> Sincerely,
> Igor.
>
> On Wed, Aug 7, 2024 at 11:44 PM Igor Gutorov wrote:
> >
> > Hi, Slava
> >
> > > > Is an `int` appropriate for `log_max_wq_sz
From: Jeremy Spewock
Previously all scapy commands were handled using an XML-RPC server that
ran on the TGNode. This unnecessarily enforces a minimum Python version
of 3.10 on the server that is being used as a traffic generator and
complicates the implementation of scapy methods. This patch remo
From: Jeremy Spewock
v3:
* rebase on next-dts branch
Jeremy Spewock (1):
dts: Remove XML-RPC server for Scapy TG and instead use PythonShell
.../single_active_interactive_shell.py| 7 +-
.../traffic_generator/__init__.py | 2 +-
.../testbed_model/traffic_generator/s
On Wed, 18 Sep 2024 14:09:36 +0800
"WanRenyong" wrote:
>
> +static int
> +xsc_ethdev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
> +{
> + struct xsc_ethdev_priv *priv = TO_XSC_ETHDEV_PRIV(dev);
> + uint32_t rxqs_n = priv->num_rq;
> + uint32_t txqs_n = priv->num_s
On Wed, 18 Sep 2024 14:09:36 +0800
"WanRenyong" wrote:
> @@ -166,6 +169,7 @@ xsc_rx_burst(void *dpdk_rxq, struct rte_mbuf **pkts,
> uint16_t pkts_n)
> /* Fill wqe */
> wqe->va = rte_cpu_to_le_64(rte_pktmbuf_iova(rep));
> rte_pktmbuf_data_len(seg) = len;
>-Original Message-
>From: Jerin Jacob
>Sent: Thursday, September 19, 2024 11:49 PM
>To: Vamsi Krishna Attunuru
>Cc: dev@dpdk.org; Jerin Jacob
>Subject: [EXTERNAL] Re: [PATCH] net/octeon_ep: add device removal event
>callback
>
>On Tue, Aug 27, 2024 at 11: 03 AM Vamsi Krishna
>wrote:
On Mon, Sep 2, 2024 at 12:08 PM Harman Kalra wrote:
>
> * Setting up the mailbox communication between PF and VF for cn20k
> * Update PFVF mbox CSRs offset change introduced in cn20k
> * Memory to be allocated by PF driver for PF VF mbox should be
> aligned to next power of 2.
>
> Signed-off-by: H
I think Juraj's comments here make sense, it probably would make sense
to separate this in-conjunction with Juraj's decorator patch and use
it as a dependency. From what I can understand, the changes offered
here make sense to me.
Reviewed-by: Nicholas Pratte
--
*Let's Connect!*
... *Octob
Add the packet timestamp from TPACKET_V2 to the mbuf
dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP
is enabled.
TPACKET_V2 provides the timestamp with nanosecond resolution
and UNIX origo, i.e. time since 1-JAN-1970 UTC.
Signed-off-by: Stefan Laesser
Acked-by: Morten Brøru
Acked-by: Hemant Agrawal
> > +uint64_t af_packet_timestamp_dynflag; int
> > +af_packet_timestamp_dynfield_offset = -1;
>
> No need to expose these publicly, they should be static.
> This also means that you can remove the af_packet_ prefix.
> > eth_dev_start(struct rte_eth_dev *dev) {
> > struct pmd_internals *inter
Acked-by: Hemant Agrawal
Hi Nicolas,
I have ack your patches.
One suggestion, if you can use "--in-reply-to=" in you patch series,
it will be helpful. This will link your new series with old series.
Regards
Hemant
On 14-09-2024 04:48, Nicolas Chautru wrote:
v3: updated based on Maxime comments related to p
Following an upstream Linux kernel change (see link), the mac address of
a iavf port, serviced by a i40e PF driver, is reset to 0 during the
VIRTCHNL_OP_GET_VF_RESOURCES query.
The DPDK iavf driver then assigns a new random mac address.
Such sequence is triggered every time the VF is initialised
On 8/5/24 04:12, Chaoyong He wrote:
This patch series aims to add the support of software live migration
feature for NFP vDPA device.
---
v4:
* Rebase to the newest main branch.
* Add the 'Review-by' tag of the external reviewer.
v3:
* Fix one compile error when using standard atomic.
v2:
* A
David Marchand, Sep 19, 2024 at 13:32:
On Thu, Sep 19, 2024 at 1:15 PM Bruce Richardson
wrote:
>
> On Thu, Sep 19, 2024 at 10:08:21AM +0200, David Marchand wrote:
> > On Thu, Sep 19, 2024 at 10:02 AM Bruce Richardson
> > wrote:
> > > Overall, I think we haven't increased our minimum meson versi
diff --git a/dts/framework/remote_session/testpmd_shell.py
b/dts/framework/remote_session/testpmd_shell.py
@@ -577,6 +577,497 @@ class TestPmdPortStats(TextParser):
tx_bps: int = field(metadata=TextParser.find_int(r"Tx-bps:\s+(\d+)"))
+class PacketOffloadFlag(Flag):
+"""Flag r
On 8/2/24 16:32, Morten Brørup wrote:
Optimized the performance of updating the statistics counters by reducing
the number of branches.
Ordered the packet size comparisons according to the probability with
typical internet traffic mix.
Signed-off-by: Morten Brørup
---
lib/vhost/virtio_net
On 8/1/24 18:03, Morten Brørup wrote:
Optimized the performance of updating the virtio statistics counters by
reducing the number of branches.
Ordered the packet size comparisons according to the probability with
typical internet traffic mix.
Signed-off-by: Morten Brørup
---
v5:
* Do not in
On 7/8/24 08:57, BillXiang wrote:
From: BillXiang
For sanity the offset should be the last parameter of mmap.
Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address")
Signed-off-by: BillXiang
---
lib/vhost/vhost_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On 7/8/24 08:57, BillXiang wrote:
From: BillXiang
For sanity the offset should be the last parameter of mmap.
Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address")
Signed-off-by: BillXiang
---
lib/vhost/vhost_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
On Wed, Aug 14, 2024 at 12:50 PM Bruce Richardson
wrote:
>
> The number of queue pairs supported by cryptodev should not be dependent
> on the number of ethdev Rx or Tx queues, so add a new define for
> cryptodev specifically.
>
> Signed-off-by: Bruce Richardson
> Acked-by: Morten Brørup
> ---
>
> > From: pbhagavat...@marvell.com
> > Sent: Tuesday, September 17, 2024 3:11 AM
> > To: jer...@marvell.com; sthot...@marvell.com; Sevincer, Abdullah
> > ; hemant.agra...@nxp.com;
> > sachin.sax...@oss.nxp.com; Van Haaren, Harry
> ;
> > mattias.ronnb...@ericsson.com; lian...@liangbit.com; Mccarthy
> From: Jerin Jacob [mailto:jerinjac...@gmail.com]
> Sent: Thursday, 19 September 2024 10.52
>
> On Thu, Sep 19, 2024 at 1:37 PM Morten Brørup
> wrote:
> >
> > Some applications want to omit the trace feature.
> > Either to reduce the memory footprint, to reduce the exposed attack
> > surface, or
On Thu, Sep 19, 2024 at 09:44:18AM +0200, David Marchand wrote:
> On Fri, Sep 6, 2024 at 6:13 PM Bruce Richardson
> wrote:
> >
> > To make it easier to build and test DPDK on 32-bit x86 add a set of
> > cross-compile ini files for a number of common linux distributions.
> > This avoids the user ha
On Thu, Sep 19, 2024 at 11:29:34AM +0800, Zhichao Zeng wrote:
> This patch adds support for customizing firmware search path for
> DDP package like the kernel behavior, it will read the search path
> from "/sys/module/firmware_class/parameters/path", and try to load
> DDP package.
>
> Also, update
Some applications want to omit the trace feature.
Either to reduce the memory footprint, to reduce the exposed attack
surface, or for other reasons.
This patch adds an option in rte_config.h to include or omit trace in the
build. Trace is included by default.
Omitting trace works by omitting all
On Thu, Sep 19, 2024 at 10:02 AM Bruce Richardson
wrote:
> Overall, I think we haven't increased our minimum meson version in some
> time. Maybe it's time to consider doing so in this release or the next one?
> Need to look through release notes to see how far forward to jump to see
> what extra f
On 7/17/24 05:24, BillXiang wrote:
From: BillXiang
The vDPA device will work incorrectly if flags such as
VRING_USED_F_NO_NOTIFY are not updated correctly.
Signed-off-by: BillXiang
---
lib/vhost/vdpa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa
On 9/19/24 12:37, Maxime Coquelin wrote:
On 7/17/24 05:24, BillXiang wrote:
From: BillXiang
The vDPA device will work incorrectly if flags such as
VRING_USED_F_NO_NOTIFY are not updated correctly.
Signed-off-by: BillXiang
---
lib/vhost/vdpa.c | 1 +
1 file changed, 1 insertion(+)
di
On Tue, Sep 10, 2024 at 9:08 AM Abdullah Sevincer
wrote:
>
> This commit adds support for independent enqueue feature
> and updates Event Device and PMD feature list.
>
> A new capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ is introduced. It
> allows out-of-order enqueuing of RTE_EVENT_OP_FORWARD or
https://bugs.dpdk.org/show_bug.cgi?id=1542
Kevin Traynor (ktray...@redhat.com) changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UN
On Thu, Sep 19, 2024 at 1:37 PM Morten Brørup
wrote:
>
> Some applications want to omit the trace feature.
> Either to reduce the memory footprint, to reduce the exposed attack
> surface, or for other reasons.
>
> This patch adds an option in rte_config.h to include or omit trace in the
> build.
On Fri, Sep 6, 2024 at 6:13 PM Bruce Richardson
wrote:
>
> To make it easier to build and test DPDK on 32-bit x86 add a set of
> cross-compile ini files for a number of common linux distributions.
> This avoids the user having to remember strange meson incantations
> with '-m32' in various args va
On Mon, Sep 9, 2024 at 9:43 PM Abdullah Sevincer
wrote:
>
> To use independent enqueue capability applications need to set flag
> RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ during port setup only if the
> capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ exists. Hence, this
> commit adds the capability of inde
> -Original Message-
> From: Abdullah Sevincer
> Sent: Monday, September 9, 2024 9:35 PM
> To: dev@dpdk.org
> Cc: Jerin Jacob ; bruce.richard...@intel.com;
> pravin.pat...@intel.com; mattias.ronnb...@ericsson.com;
> manish.aggar...@intel.com; Abdullah Sevincer
> Subject: [EXTERNAL] [PATCH
Hi,
On 9/6/24 12:14, Shiva Shankar Kommula wrote:
Hello Maxime,
could you please review the following change ?
Thanks
Subject: [EXTERNAL] [PATCH] net/virtio-user: reset used index counter in dev
reset
When the virtio device is reinitialized during ethdev reconfiguration, all the
virtio rings
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Friday, 2 August 2024 19.33
>
> On Fri, 2 Aug 2024 19:28:26 +0200
> Morten Brørup wrote:
>
> > > > ea = rte_pktmbuf_mtod(m, const struct rte_ether_addr *);
> > > > - if (rte_is_multicast_ether_addr(ea)) {
> > > >
On Thu, Sep 19, 2024 at 6:45 PM Morten Brørup
wrote:
>
> > From: Jerin Jacob [mailto:jerinjac...@gmail.com]
> > Sent: Thursday, 19 September 2024 10.52
> >
> > On Thu, Sep 19, 2024 at 1:37 PM Morten Brørup
> > wrote:
> > >
> > > Some applications want to omit the trace feature.
> > > Either to r
On Thu, Sep 19, 2024 at 09:44:18AM +0200, David Marchand wrote:
> On Fri, Sep 6, 2024 at 6:13 PM Bruce Richardson
> wrote:
> >
> > To make it easier to build and test DPDK on 32-bit x86 add a set of
> > cross-compile ini files for a number of common linux distributions.
> > This avoids the user ha
On 18. 9. 2024 16:16, Jeremy Spewock wrote:
On Wed, Sep 18, 2024 at 3:57 AM Juraj Linkeš wrote:
diff --git a/dts/Dockerfile b/dts/Dockerfile
@@ -24,9 +27,12 @@ FROM base AS runner
+# Adds ~/.local/bin to PATH so that packages installed with pipx are callable.
`pipx ensurepath`
+# f
On 18. 9. 2024 22:19, Dean Marx wrote:
In the current DTS setup description, the user installs poetry
with the --no-root option. However, adding 'package-mode = false'
to the pyproject.toml sets the same configuration, and running
poetry install --no-root will become an error in a future
poetr
On 18. 9. 2024 22:31, Dean Marx wrote:
Correct docstring error in conf.yaml showing incorrect
example pci address for TG nodes.
Fixes: 55442c14297c ("dts: improve documentation")
Signed-off-by: Dean Marx
Reviewed-by: Nicholas Pratte
Reviewed-by: Luca Vizzarro
Reviewed-by: Jeremy Spewock
diff --git a/dts/Dockerfile b/dts/Dockerfile
@@ -24,9 +27,12 @@ FROM base AS runner
# It bakes DTS into the image during the build.
COPY . /dpdk/dts
-RUN poetry install --no-dev
+# Adds ~/.local/bin to PATH so that packages installed with pipx are callable.
`pipx ensurepath`
+# fixe
On Wed, Sep 18, 2024 at 2:34 PM Amit Prakash Shukla
wrote:
>
>
> > -Original Message-
> > From: pbhagavat...@marvell.com
> > Sent: Friday, August 23, 2024 11:43 AM
> > To: Jerin Jacob ; Amit Prakash Shukla
> >
> > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula
> >
> > Subject: [PATCH] ap
On 9/19/24 12:54, Maxime Coquelin wrote:
Hi,
On 9/6/24 12:14, Shiva Shankar Kommula wrote:
Hello Maxime,
could you please review the following change ?
Thanks
Subject: [EXTERNAL] [PATCH] net/virtio-user: reset used index counter
in dev
reset
When the virtio device is reinitialized durin
On Thu, Sep 19, 2024 at 1:15 PM Bruce Richardson
wrote:
>
> On Thu, Sep 19, 2024 at 10:08:21AM +0200, David Marchand wrote:
> > On Thu, Sep 19, 2024 at 10:02 AM Bruce Richardson
> > wrote:
> > > Overall, I think we haven't increased our minimum meson version in some
> > > time. Maybe it's time to
On Thu, Sep 19, 2024 at 10:08:21AM +0200, David Marchand wrote:
> On Thu, Sep 19, 2024 at 10:02 AM Bruce Richardson
> wrote:
> > Overall, I think we haven't increased our minimum meson version in some
> > time. Maybe it's time to consider doing so in this release or the next one?
> > Need to look
On 19. 9. 2024 11:36, Juraj Linkeš wrote:
diff --git a/dts/Dockerfile b/dts/Dockerfile
@@ -24,9 +27,12 @@ FROM base AS runner
# It bakes DTS into the image during the build.
COPY . /dpdk/dts
-RUN poetry install --no-dev
+# Adds ~/.local/bin to PATH so that packages installed with pipx
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
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
app/test/test_eal_
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
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
lib/log/log.c | 6 +-
lib/log/log_private.h | 9 +
2 f
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
On Thu, Sep 19, 2024 at 04:14:28PM +0200, David Marchand wrote:
> On Wed, Aug 14, 2024 at 12:50 PM Bruce Richardson
> wrote:
> >
> > There are a number of issues with the current RTE_MAX_QUEUES_PER_PORT
> > setting in DPDK that are addressed by this patchset:
> >
> > * The name does not make it cl
Significant enough to add some documentation.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
doc/guides/rel_notes/release_24_11.rst | 27 ++
1 file changed, 27 insertions(+)
diff --git a/doc/guides/rel_n
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
mprovements 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 s
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
Acked-by: Bruce Richardson
---
lib/eal/common/eal_common_options.c | 40 +++
lib/eal/common/eal_options.h
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
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
lib/eal/windows/include/rte_os_shim.h | 10 ++
1 fi
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
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
lib/eal/common/eal_common_option
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
Acked-by: Bruce Richardson
Ack
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
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
lib/eal/freebsd/
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
Acked-by: Bruce Richardson
---
app/test/test_eal_flags.c | 11 ++-
lib/eal/common/eal_common_option
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
Acked-by: Chengwen Feng
Acked-by: Bruce Richardson
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINE
> From: Jerin Jacob [mailto:jerinjac...@gmail.com]
> Sent: Thursday, 19 September 2024 17.49
>
> On Thu, Sep 19, 2024 at 9:05 PM Morten Brørup
> wrote:
> >
> > > Could you share data with a real-world application of the elf size?
> > > 1)Without any change
> >
> > Size of the statically linked ex
On Thu, Sep 19, 2024 at 12:16 AM Adel Belkhiri wrote:
>
> From: Adel Belkhiri
>
> Split the tracepoints rte_ethdev_trace_rx_burst and
> rte_eth_trace_call_rx_callbacks into two separate ones
> for empty and non-empty calls to avoid saturating
> quickly the trace buffer.
>
> Signed-off-by: Adel Be
On Tue, Sep 17, 2024 at 5:49 PM Konstantin Ananyev
wrote:
>
> From: Konstantin Ananyev
>
> Staged-Ordered-Ring (SORING) provides a SW abstraction for 'ordered' queues
> with multiple processing 'stages'.
> It is based on conventional DPDK rte_ring, re-uses many of its concepts,
> and even substan
On Wed, Jul 31, 2024 at 11:43 AM Srikanth Yalavarthi
wrote:
>
> Fixed incorrect handling of TVM models with single MRVL
> layer. Set the I/O layout to packed and fixed calculation
> of quantized and dequantized data buffer addresses.
>
> Fixes: 5cea2c67edfc ("ml/cnxk: update internal TVM model inf
On Wed, Jul 31, 2024 at 12:08 PM Srikanth Yalavarthi
wrote:
>
> From: Anup Prabhu
>
> Enabled data caching for all MRVL layers in TVM models
Add why?
If it is Fix, please add Fixes: tag
Also, MRVL can be removed
>
> Signed-off-by: Anup Prabhu
> ---
> drivers/ml/cnxk/cn10k_ml_ops.c | 9 ++---
On Wed, Jul 31, 2024 at 12:33 PM Srikanth Yalavarthi
wrote:
>
> Renamed cnxk error codes as cn10k error codes. Added
> support for model specific op_error_get routines.
>
> Signed-off-by: Srikanth Yalavarthi
Applied to dpdk-next-net-mrvl/for-main. Thanks
On Tue, Aug 6, 2024 at 8:20 PM Vamsi Attunuru wrote:
>
> Patch extends mbox functionality to handle pf to vf mbox
> messages and also updates current mbox version to V3.
>
> As part of PF FLR notify event, event handler invokes
> device removal event callback to tear down the driver.
>
> Signed-of
On Thu, Sep 19, 2024 at 3:09 AM Juraj Linkeš wrote:
>
>
>
> On 18. 9. 2024 16:16, Jeremy Spewock wrote:
> > On Wed, Sep 18, 2024 at 3:57 AM Juraj Linkeš
> > wrote:
> >>
> >>
> >>> diff --git a/dts/Dockerfile b/dts/Dockerfile
> >>
> >>> @@ -24,9 +27,12 @@ FROM base AS runner
> >>
> >>> +# Adds ~/
On Thu, Sep 19, 2024 at 9:05 PM Morten Brørup
wrote:
>
> > Could you share data with a real-world application of the elf size?
> > 1)Without any change
>
> Size of the statically linked executable on the target file system:
> 3,800,528 byte
>
> > 2)Only disabling via __rte_trace_point_emit_header
Hey Nick,
After going through this test suite (jumbo frames) and mtu update, it
seems as though mtu update contains all of the test cases of jumbo
frames and more.
To reduce the amount of maintenance and code duplication, it would make
sense to remove this test suite and supercede it with mt
On Wed, Sep 18, 2024 at 12:10 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
>
> Could you share data with a real-world application of the elf size?
> 1)Without any change
Size of the statically linked executable on the target file system:
3,800,528 byte
> 2)Only disabling via __rte_trace_point_emit_header_generic() .. aka below
> patch.
3,572,032 byte
> 3)Full disable.
On Wed, Aug 14, 2024 at 12:50 PM Bruce Richardson
wrote:
>
> There are a number of issues with the current RTE_MAX_QUEUES_PER_PORT
> setting in DPDK that are addressed by this patchset:
>
> * The name does not make it clear that this is intended as an
> ethdev-only setting
> * A number of other
From: Jeremy Spewock
Currently the runner target in the Dockerfile attempts to run the
`poetry install` command when building the image, but this fails due to
poetry not being found in the container. Poetry is installed in a
previous step with pipx, but doing so adds the binary to use poetry to
~
1 - 100 of 119 matches
Mail list logo