On 9/24/2024 11:59 PM, Damodharam Ammepalli wrote:
> On Sun, Sep 22, 2024 at 10:02 AM Ferruh Yigit wrote:
>>
>> On 9/4/2024 6:50 PM, Damodharam Ammepalli wrote:
>>> Update the eth_dev_ops structure with new function vectors
>>> to get, get capabilities and set ethernet link speed lanes.
>>> Update
This patch refactors the mempool cache to fix two bugs:
1. When a mempool is created with a cache size of N objects, the cache was
actually created with a size of 1.5 * N objects.
2. The mempool cache field names did not reflect their purpose;
the "flushthresh" field held the size, and the "size" f
On 9/25/2024 4:00 PM, Damodharam Ammepalli wrote:
> On Tue, Sep 24, 2024 at 3:59 PM Damodharam Ammepalli
> wrote:
>>
>> On Sun, Sep 22, 2024 at 10:02 AM Ferruh Yigit wrote:
>>>
>>> On 9/4/2024 6:50 PM, Damodharam Ammepalli wrote:
Update the eth_dev_ops structure with new function vectors
>>>
On 9/10/2024 1:00 PM, Junlong Wang wrote:
> provided zxdh initialization of zxdh PMD driver.
> include msg channel, np init and etc.
>
Hi Junlong,
It is very hard to review the driver as a single patch, it helps to
split driver into multiple patches, please check the suggestion on it:
https://pa
Acked-by: Chengwen Feng
On 2024/9/26 5:22, Thomas Monjalon wrote:
> When moving some files in doc subdirectories for ethdev and eventdev,
> the references in the file MAINTAINERS were forgotten.
> The new paths are used in this fix.
>
> Fixes: 41dd9a6bc2d9 ("doc: reorganize prog guide")
>
> Sig
> On 9/24/2024 3:03 AM, Chaoyong He wrote:
> >> On 6/19/2024 11:11 AM, Chaoyong He wrote:
> >>> From: Long Wu
> >>>
> >>> The Rx packet type offload feature may affect the performance, so
> >>> add a control flag for applications to turn it on or off.
> >>>
> >>> Signed-off-by: Long Wu
> >>> ---
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
On 9/24/2024 3:03 AM, Chaoyong He wrote:
>> On 6/19/2024 11:11 AM, Chaoyong He wrote:
>>> From: Long Wu
>>>
>>> The Rx packet type offload feature may affect the performance, so add
>>> a control flag for applications to turn it on or off.
>>>
>>> Signed-off-by: Long Wu
>>> ---
>>> lib/ethdev/rt
On Thu, 17 Aug 2023 00:28:11 -0400
ok...@kernel.org wrote:
> From: Sinan Kaya
>
> We want to be able to call rte_eal_init() and rte_eal_cleanup()
> APIs back to back for maintanance reasons.
>
> Here is a summary of the code we have seen so far:
>
> 1. some code support getting called multiple
On 2024/9/25 14:40, Jie Hai wrote:
> This patch support dumping registers which module name is the
> `filter` string. The module names are in lower case and so is
> the `filter`. Available module names are cmdq, common_pf,
> common_vf, ring, tqp_intr, 32_bit_dfx, 64_bit_dfx, bios, igu_egu,
> ssu, p
This commit introduces several changes to the cryptodev
test cases that should make it easier to maintain.
Changes included in this patch:
- If not needed by the specific test case, the device should be
started/stopped in the particular testsuite setup/teardown
function.
- Most of the remaining te
> -Original Message-
> From: Pavan Nikhilesh Bhagavatula
> Sent: Wednesday, September 25, 2024 6:30 AM
> To: Mattias Rönnblom ; Pathak, Pravin
> ; Jerin Jacob ; Shijith Thotton
> ; Sevincer, Abdullah ;
> hemant.agra...@nxp.com; sachin.sax...@oss.nxp.com; Van Haaren, Harry
> ; mattias.ronn
>> +if not is_linux
>> +build = false
>> +reason = 'only supported on Linux'
>> +subdir_done()
>> +endif
>> +
>> +if arch_subdir != 'x86' and arch_subdir !
>> = 'arm' or not dpdk_conf.get('RTE_ARCH_64')
>>
>Why not check 'RTE_ARCH_X86_64' and 'RTE_ARCH_ARM64'?
we will fix it and use '
When moving some files in doc subdirectories for ethdev and eventdev,
the references in the file MAINTAINERS were forgotten.
The new paths are used in this fix.
Fixes: 41dd9a6bc2d9 ("doc: reorganize prog guide")
Signed-off-by: Thomas Monjalon
---
MAINTAINERS | 24
1 fil
Acked-by: Chengwen Feng
On 2024/9/25 14:40, Jie Hai wrote:
> This patch adds a telemetry command for registers dump,
> and supports obtaining the registers of a specified module.
>
> In one way, the number of registers that can be exported
> is limited by the number of elements carried by dict a
On 9/24/2024 8:24 AM, lihuisong (C) wrote:
> Hi Ferruh,
>
>
> 在 2024/9/23 6:23, Ferruh Yigit 写道:
>> On 1/30/2024 3:58 AM, Huisong Li wrote:
>>> Currently, the PTP feature is a little messy and has some issue.
>>> 1> There is different implementation for PTP. This feature of some
>>> hardware
On 9/23/2024 10:26 AM, Niall Meade wrote:
> Addressed a specific overflow issue in the eth_dev_adjust_nb_desc()
> function where the uint16_t variable nb_desc would overflow when its
> value was greater than (2^16 - nb_align). This overflow caused nb_desc
> to incorrectly wrap around between 0 and
This patch contains phy config, ephy config and so on.
Signed-off-by: Howard Wang
---
drivers/net/r8169/r8169_ethdev.c | 10 +
drivers/net/r8169/r8169_ethdev.h | 6 +
drivers/net/r8169/r8169_phy.c| 446 +++
drivers/net/r8169/r8169_phy.h| 100 +++
4 file
On 23. 9. 2024 20:42, jspew...@iol.unh.edu wrote:
From: Jeremy Spewock
Previously the DTS framework only included methods that bind all ports
that the test run was aware of to either the DPDK driver or the OS
driver. There are however some cases, like creating virtual functions,
where you wo
Hi,
From: Minggang(Gavin) Li
Sent: Tuesday, September 24, 2024 1:52 PM
To: Matan Azrad; Slava Ovsiienko; Ori Kam; NBU-Contact-Thomas Monjalon
(EXTERNAL)
Cc: dev@dpdk.org; Raslan Darawsheh
Subject: [PATCH V3 0/3] Error report improvement and fix
This patch set is to improve error handling in pm
On 23. 9. 2024 20:42, jspew...@iol.unh.edu wrote:
From: Jeremy Spewock
This is no longer an RFC, the body should be there so that we know what
the state after it stopped being an RFC is.
v4:
* apply to next-dts
Jeremy Spewock (5):
dts: allow binding only a single port to a differ
On 24. 9. 2024 18:34, Jeremy Spewock wrote:
On Tue, Sep 24, 2024 at 6:55 AM Juraj Linkeš wrote:
I like how this looks. I have a number of minor comments (mainly wording
and naming), but overall it looks very good.
On 19. 9. 2024 21:02, jspew...@iol.unh.edu wrote:
From: Jeremy Spewock
Pr
Signed-off-by: Howard Wang
---
drivers/net/r8169/meson.build| 1 +
drivers/net/r8169/r8169_base.h | 43 +++
drivers/net/r8169/r8169_dash.c | 87 +
drivers/net/r8169/r8169_dash.h | 35 ++
drivers/net/r8169/r8169_ethdev.c | 57 ++-
drivers/net/r8169/r8169_ethdev.h | 30 +-
driv
> On 2024-09-19 15:13, Pavan Nikhilesh Bhagavatula wrote:
> >>> 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
>
https://bugs.dpdk.org/show_bug.cgi?id=1553
Bug ID: 1553
Summary: free called on rte_malloc block in vhost
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
https://bugs.dpdk.org/show_bug.cgi?id=1549
Bug ID: 1549
Summary: free() of non rte_malloc() memory in DMA dev
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
https://bugs.dpdk.org/show_bug.cgi?id=1550
Bug ID: 1550
Summary: Use after free in E1000 driver
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priori
https://bugs.dpdk.org/show_bug.cgi?id=1552
Bug ID: 1552
Summary: free miss match in cryptodev
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority
https://bugs.dpdk.org/show_bug.cgi?id=1551
Bug ID: 1551
Summary: use after free in Sfc driver
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priorit
From: Jeremy Spewock
v4:
* update naming scheme of methods in the scapy traffic generator and
reorganized them
* update doc-strings to add consistency and fix typos
* add supoer().__init__() call to single_active_interactive_shell so
that it and the traffic generator can be given in any
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
On Tue, Sep 24, 2024 at 10:30 AM Juraj Linkeš
wrote:
>
>
>
> On 20. 9. 2024 20:08, jspew...@iol.unh.edu wrote:
> > From: Jeremy Spewock
> >
> > Currently the only method provided in the test suite class for sending
> > packets sends a single packet and then captures the results. There is,
> > in
On Mon, 5 Apr 2021 21:39:54 +0200
Thomas Monjalon wrote:
> From: Thomas Monjalon
> To: dev@dpdk.org
> Cc: david.march...@redhat.com, Wisam Jaddo , Bruce
> Richardson , Andrew Rybchenko
> , Reshma Pattan ,
> Maryam Tahhan , Konstantin Ananyev
> , Nicolas Chautru ,
> Declan Doherty ,
Introduce new Flow API JUMP_TO_TABLE_INDEX action.
It allows bypassing a hierarchy of groups and going directly
to a specified flow table. That gives a user the flexibility
to jump between different priorities in a group and eliminates
the need to do a table lookup in the group hierarchy.
The JUMP_
There are two flow table rules insertion type today:
pattern-based insertion when packets match on the pattern and
index-based insertion when packets always hit at the index.
We need another mode that allows to match on the pattern at
the index: insertion by index with pattern.
Signed-off-by: Alex
Provide index_with_pattern command line option
for the template table insertion type.
flow template_table 0 create table_id 2 group 13 priority 0
insertion_type index_with_pattern ingress rules_number 64
pattern_template 2 actions_template 2
Signed-off-by: Alexander Kozyrev
---
app/test-pmd
Allow to specify both the rule index and the pattern
in the flow rule creation command line parameters.
Both are needed for rte_flow_async_create_by_index_with_pattern().
flow queue 0 create 0 template_table 2 rule_index 5
pattern_template 0 actions_template 0 postpone no pattern eth / end
act
Introduce the RTE_FLOW_ACTION_TYPE_JUMP_TO_TABLE_INDEX action.
It redirects packets to a particular index in a flow table.
Signed-off-by: Alexander Kozyrev
---
doc/guides/rel_notes/release_24_11.rst | 4
lib/ethdev/rte_flow.c | 1 +
lib/ethdev/rte_flow.h
Add a new API to enqueue flow rule creation by index with pattern.
The new template table rules insertion type,
index-based insertion with pattern, requires a new flow rule creation
function with both rule index and pattern provided.
Packets will match on the provided pattern at the provided index.
Adds trace points for rte_flow rule insertion by index functions:
rte_flow_async_create_by_index and
rte_flow_async_create_by_index_with_pattern.
Signed-off-by: Alexander Kozyrev
---
lib/ethdev/ethdev_trace.h| 44
lib/ethdev/ethdev_trace_points.c | 6 +++
Add a new command line options to create the
RTE_FLOW_ACTION_TYPE_JUMP_TO_TABLE_INDEX action
from the testpmd command line.
flow queue 0 create 0 template_table 0 pattern_template 0
actions_template 0 postpone no pattern eth / end
actions jump_to_table_index table 0x166f9ce00 index 5 / end
Si
On 13. 8. 2024 16:41, Dean Marx wrote:
add dataclass for passing in flow rule creation arguments, as well as a
Capitalize please.
__str__ method for converting to a sendable testpmd command. Add
flow_create method to TestPmdShell class for initializing flow rules.
Signed-off-by: Dean Marx
> -Original Message-
> From: Alexander Kozyrev
> Sent: Thursday, September 19, 2024 02:48
> To: dev@dpdk.org
> Cc: Dariusz Sosnowski ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Matan Azrad ;
> ferruh.yi...@amd.com; step...@networkplumber.org
> Subject: [PATCH 3/6] ethdev: add
> -Original Message-
> From: Alexander Kozyrev
> Sent: Thursday, September 19, 2024 02:48
> To: dev@dpdk.org
> Cc: Dariusz Sosnowski ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Matan Azrad ;
> ferruh.yi...@amd.com; step...@networkplumber.org
> Subject: [PATCH 2/6] app/testpmd:
> -Original Message-
> From: Alexander Kozyrev
> Sent: Thursday, September 19, 2024 02:48
> To: dev@dpdk.org
> Cc: Dariusz Sosnowski ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Matan Azrad ;
> ferruh.yi...@amd.com; step...@networkplumber.org
> Subject: [PATCH 4/6] app/testpmd:
> -Original Message-
> From: Alexander Kozyrev
> Sent: Thursday, September 19, 2024 02:48
> To: dev@dpdk.org
> Cc: Dariusz Sosnowski ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Matan Azrad ;
> ferruh.yi...@amd.com; step...@networkplumber.org
> Subject: [PATCH 5/6] ethdev: add
> -Original Message-
> From: Alexander Kozyrev
> Sent: Thursday, September 19, 2024 02:48
> To: dev@dpdk.org
> Cc: Dariusz Sosnowski ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Matan Azrad ;
> ferruh.yi...@amd.com; step...@networkplumber.org
> Subject: [PATCH 1/6] ethdev: add
On Wed, 25 Sep 2024 15:54:21 +0800
Howard Wang wrote:
> From: Howard Wang
> To:
> CC: , Howard Wang
> Subject: [PATCH] net/r8169: add support for hw initialization
> Date: Wed, 25 Sep 2024 15:54:21 +0800
> X-Mailer: git-send-email 2.34.1
>
> Signed-off-by: Howard Wang
Please use git-send-em
> From: Robin Jarry [mailto:rja...@redhat.com]
> Sent: Wednesday, 25 September 2024 10.00
>
> When building an application with -fstrict-aliasing -Wstrict-
> aliasing=2,
> we get errors triggered by rte_mbuf_raw_alloc() which is called inline
> from rte_pktmbuf_alloc().
>
> ../dpdk/lib/mbuf/rte_
On Wed, 25 Sep 2024 17:21:12 +0200
Morten Brørup wrote:
> From: Morten Brørup
> To: "Robin Jarry" ,
> Subject: RE: [PATCH dpdk] mbuf: fix strict aliasing error in allocator
> Date: Wed, 25 Sep 2024 17:21:12 +0200
>
> > From: Robin Jarry [mailto:rja...@redhat.com]
> > Sent: Wednesday, 25 Septe
On Tue, Sep 24, 2024 at 3:59 PM Damodharam Ammepalli
wrote:
>
> On Sun, Sep 22, 2024 at 10:02 AM Ferruh Yigit wrote:
> >
> > On 9/4/2024 6:50 PM, Damodharam Ammepalli wrote:
> > > Update the eth_dev_ops structure with new function vectors
> > > to get, get capabilities and set ethernet link speed
> -Original Message-
> From: Alexander Kozyrev
> Sent: Thursday, September 19, 2024 02:48
> To: dev@dpdk.org
> Cc: Dariusz Sosnowski ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Matan Azrad ;
> ferruh.yi...@amd.com; step...@networkplumber.org
> Subject: [PATCH 6/6] app/testpmd:
On Wed, 25 Sep 2024 15:54:21 +0800
Howard Wang wrote:
> + PMD_INIT_LOG(NOTICE, "r8169: Assign randomly generated MAC
> address "
> + "%02x:%02x:%02x:%02x:%02x:%02x",
> + perm_addr->addr_bytes[0],
> + perm_addr
Stephen Hemminger, Sep 25, 2024 at 11:23:
On Wed, 25 Sep 2024 17:21:12 +0200
Morten Brørup wrote:
> From: Morten Brørup
> To: "Robin Jarry" ,
> Subject: RE: [PATCH dpdk] mbuf: fix strict aliasing error in allocator
> Date: Wed, 25 Sep 2024 17:21:12 +0200
>
> > From: Robin Jarry [mailto:rja.
On Wed, 25 Sep 2024 15:54:21 +0800
Howard Wang wrote:
> static int
> rtl_dev_close(struct rte_eth_dev *dev)
> {
> + //struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(dev);
> + //struct rte_intr_handle *intr_handle = pci_dev->intr_handle;
No commented out code please.
As checkpatch
When building an application with -fstrict-aliasing -Wstrict-aliasing=2,
we get errors triggered by rte_mbuf_raw_alloc() which is called inline
from rte_pktmbuf_alloc().
../dpdk/lib/mbuf/rte_mbuf.h: In function ‘rte_mbuf_raw_alloc’:
../dpdk/lib/mbuf/rte_mbuf.h:600:42: error: dereferencing type-p
From: Jeremy Spewock
v6:
* apply on next-dts
* update PacketOffloadFlag values which were equal to combinations of
other values to make them unique
* remove support of EUI-64 MAC addresses for now
* update RtePtype and PacketOffloadFlag so that their parser methods
don't bother themselv
From: Jeremy Spewock
Multiple test suites from the old DTS framework rely on being able to
consume and interpret the verbose output of testpmd. The new framework
doesn't have an elegant way for handling the verbose output, but test
suites are starting to be written that rely on it. This patch cre
On Wed, 25 Sep 2024 11:40:54 -0400
Robin Jarry wrote:
> From: Robin Jarry
> To: dev@dpdk.org
> Subject: [PATCH dpdk v2] mbuf: fix strict aliasing error in allocator
> Date: Wed, 25 Sep 2024 11:40:54 -0400
>
> When building an application with -fstrict-aliasing -Wstrict-aliasing=2,
> we get erro
When building an application with -fstrict-aliasing -Wstrict-aliasing=2,
we get errors triggered by rte_mbuf_raw_alloc() which is called inline
from rte_pktmbuf_alloc().
../dpdk/lib/mbuf/rte_mbuf.h: In function ‘rte_mbuf_raw_alloc’:
../dpdk/lib/mbuf/rte_mbuf.h:600:42: error: dereferencing type-p
On Fri, Aug 30, 2024 at 9:51 AM Sriharsha Basavapatna
wrote:
>
> Update TruFlow to support the Thor2 device.
Patchset applied to the dpdk-next-net-brcm branch.
Thanks
>
> Farah Smith (2):
> net/bnxt: tf_core: Thor TF EM key size check
> net/bnxt: tfc: support tf-core for Thor2
>
> Jay Ding (
diff --git a/dts/framework/testbed_model/linux_session.py
b/dts/framework/testbed_model/linux_session.py
@@ -210,3 +214,37 @@ def configure_ipv4_forwarding(self, enable: bool) -> None:
"""Overrides
:meth:`~.os_session.OSSession.configure_ipv4_forwarding`."""
state = 1 i
On 23. 9. 2024 20:42, jspew...@iol.unh.edu wrote:
From: Jeremy Spewock
Previously in the DTS framework the helper methods in the TestSuite
class designated ports as either ingress or egress ports and would wrap
the methods of the traffic generator to allow packets to only flow to
those desig
On 23. 9. 2024 20:42, jspew...@iol.unh.edu wrote:
From: Jeremy Spewock
In DPDK applications virtual functions are treated the same as ports,
but within the framework there are benefits to differentiating the two
in order to add more metadata to VFs about where they originate from.
For this r
Realized that I missed to respond to one of your comments regarding the use of
union.
Please find the comment below.
> > > > Introduce stateless packet preparation API for IPsec processing.
> > > > The new API would allow preparation of IPsec packets without
> > > > altering the internal state of
I'm wondering whether we should move some of the functionality to the
Port class, such as creating VFs and related logic. I wanted to move
update_port and such there, but I ran into problems with imports. Maybe
if we utilize the if TYPE_CHECKING: guard the imports would work.
Seems like a lot
From: Jeremy Spewock
v3:
* split send_packets into a different patch
* updated code comments
* moved variable delcaration
Jeremy Spewock (1):
dts: rework packet addressing
dts/framework/test_suite.py | 75 ++---
1 file changed, 54 insertions(+), 21 deletion
From: Jeremy Spewock
This patch updates the _adjust_addresses method of test suites so
that addresses of packets are only modified if the developer did not
configure them beforehand. This allows for developers to have more
control over the content of their packets when sending them through the
fr
From: Jeremy Spewock
Currently the only methods provided in the test suite class for sending
packets capture the resulting received traffic after sending. There is,
in some cases, a need to send multiple packets at once while not really
needing to capture any of said received traffic. It is favor
From: Jeremy Spewock
This patch adds a new test suite that is designed to test the stopping
and modification of port queues at runtime. Specifically, there are
test cases that display the ports ability to stop some queues but still
send and receive traffic on others, as well as the ability to con
From: Jeremy Spewock
v5:
* applied on next-dts
Jeremy Spewock (2):
dts: add port queue modification and forwarding stats to testpmd
dts: add dynamic queue test suite
dts/framework/config/conf_yaml_schema.json| 3 +-
dts/framework/remote_session/testpmd_shell.py | 233 +-
From: Jeremy Spewock
This patch adds methods for querying and modifying port queue state and
configuration. In addition to this, it also adds the ability to capture
the forwarding statistics that get outputted when you send the "stop"
command in testpmd. Querying of port queue information is hand
> -Original Message-
> From: Alexander Kozyrev
> Sent: Wednesday, September 25, 2024 20:05
> To: dev@dpdk.org
> Cc: Dariusz Sosnowski ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Matan Azrad ;
> ferruh.yi...@amd.com; step...@networkplumber.org
> Subject: [PATCH v2 0/7] ethdev:
73 matches
Mail list logo