[Bug 1348] Add a procedure for updating required Python version

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1348 Bug ID: 1348 Summary: Add a procedure for updating required Python version Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity:

[Bug 1349] Traffic filtering when capturing packets

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1349 Bug ID: 1349 Summary: Traffic filtering when capturing packets Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: major

[Bug 1350] Add bidirectional traffic support

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1350 Bug ID: 1350 Summary: Add bidirectional traffic support Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Pr

[Bug 1351] Testbed capabilities for test case skipping

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1351 Bug ID: 1351 Summary: Testbed capabilities for test case skipping Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal

Re: [PATCH] bus/uacce: introduce UACCE bus

2024-01-10 Thread Zhangfei Gao
Hi, Chengwen On Fri, 8 Dec 2023 at 14:21, Chengwen Feng wrote: > > UACCE (Unified/User-space-access-intended Accelerator Framework) was > upstream to Linux kernel version 5.7, and it targets to provide Shared > Virtual Addressing (SVA) between accelerators and processes. So > accelerator can acce

Re: 21.11.6 patches review and test

2024-01-10 Thread Kevin Traynor
On 10/01/2024 01:28, Xu, HailinX wrote: > Hi Kevin, > > Intel have started testing, I'm sorry for not sent test results. Because some > personnel were on vacation before and should be able to produce results this > week. > I will send the test report as soon as possible, I am deeply sorry for an

[Bug 1352] Port driver rebinding

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1352 Bug ID: 1352 Summary: Port driver rebinding Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Norm

[Bug 1353] Add parallel functional testing support

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1353 Bug ID: 1353 Summary: Add parallel functional testing support Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal

Re: vmxnet3 no longer functional on DPDK 21.11

2024-01-10 Thread Lewis Donzis
Hi, Bruce. I'm even less familiar with it, but we do quite a lot of testing using VMs, so it's been quite handy. Your patch seems very reasonable, however it also produces a warning: ../drivers/net/vmxnet3/vmxnet3_ethdev.c:264:1: warning: unused function 'vmxnet3_enable_all_intrs' [-Wunused-fu

Re: vmxnet3 no longer functional on DPDK 21.11

2024-01-10 Thread Lewis Donzis
- On Jan 9, 2024, at 8:28 AM, Bruce Richardson bruce.richard...@intel.com wrote: > On Tue, Jan 09, 2024 at 07:46:47AM -0600, Lewis Donzis wrote: >> Hi, Bruce. >> >> I'm even less familiar with it, but we do quite a lot of testing using VMs, >> so >> it's been quite handy. >> >> Your pat

Re: [PATCH] net/vmxnet3: fix use of interrupts on FreeBSD

2024-01-10 Thread Lewis Donzis
- On Jan 9, 2024, at 8:23 AM, Bruce Richardson bruce.richard...@intel.com wrote: > DPDK does not support interrupts on FreeBSD, so the vmxnet3 driver > returns error when enabling interrupts as it initializes. We can fix > this by #ifdef'ing out the interrupt calls when building for FreeBS

[Bug 1354] Add DTS general config file

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1354 Bug ID: 1354 Summary: Add DTS general config file Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority

[Bug 1355] Rename the execution section/stage

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1355 Bug ID: 1355 Summary: Rename the execution section/stage Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal P

[Bug 1356] Documentation structure, additions and cleanup

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1356 Bug ID: 1356 Summary: Documentation structure, additions and cleanup Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal

[Bug 1357] Test/test suite pattern

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1357 Bug ID: 1357 Summary: Test/test suite pattern Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: No

[Bug 1358] Enable Pylint

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1358 Bug ID: 1358 Summary: Enable Pylint Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal

[Bug 1359] DTS: Fix interactive session Connection refused error

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1359 Bug ID: 1359 Summary: DTS: Fix interactive session Connection refused error Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity:

[Bug 1360] DTS Config improvements

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1360 Bug ID: 1360 Summary: DTS Config improvements Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: No

Re: [PATCH] ethdev: add dump regs for telemetry

2024-01-10 Thread Ferruh Yigit
On 1/10/2024 1:38 AM, fengchengwen wrote: > Hi Ferruh, > > On 2024/1/10 2:06, Ferruh Yigit wrote: >> On 1/9/2024 2:19 AM, Jie Hai wrote: >>> On 2023/12/14 20:49, Ferruh Yigit wrote: On 12/14/2023 1:56 AM, Jie Hai wrote: > The ethdev library now registers a telemetry command for > dump

[Bug 1361] DTS logging improvements

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1361 Bug ID: 1361 Summary: DTS logging improvements Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: N

[Bug 1362] Framework cleanup before extraction fails due to root files

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1362 Bug ID: 1362 Summary: Framework cleanup before extraction fails due to root files Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCON

[Bug 1363] DTS improve statistics.txt

2024-01-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1363 Bug ID: 1363 Summary: DTS improve statistics.txt Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority:

Re: [PATCH v7 7/7] dts: add pmd_buffer_scatter test suite

2024-01-10 Thread Juraj Linkeš
> +def test_scatter_mbuf_2048(self) -> None: > +"""Run the pmd_scatter test with `mbsize` set to 2048.""" I've used a shortcut, I liked the reference :-). Looking at it, it could be simplified using :meth: """Run the :meth:`pmd_scatter` test with `mbsize` set to 2048."""

Re: [PATCH v7 1/7] dts: add startup verification and forwarding modes to testpmd shell

2024-01-10 Thread Juraj Linkeš
> diff --git a/dts/framework/remote_session/testpmd_shell.py > b/dts/framework/remote_session/testpmd_shell.py > index 0184cc2e71..11c5c7f93c 100644 > --- a/dts/framework/remote_session/testpmd_shell.py > +++ b/dts/framework/remote_session/testpmd_shell.py > @@ -82,3 +182,50 @@ def get_devices(se

Re: [PATCH v7 0/7] dts: Port scatter suite over

2024-01-10 Thread Juraj Linkeš
I only had two minor comments in two of the patches. Other than that. for the whole series: Reviewed-by: Juraj Linkeš On Tue, Jan 9, 2024 at 4:36 PM wrote: > > From: Jeremy Spewock > > v7: > > Addressed comments and made appropriate changes. Most changes had to do > with grammatical/spelling e

Re: [PATCH v7 7/7] dts: add pmd_buffer_scatter test suite

2024-01-10 Thread Jeremy Spewock
On Wed, Jan 10, 2024 at 8:16 AM Juraj Linkeš wrote: > > > > +def test_scatter_mbuf_2048(self) -> None: > > +"""Run the pmd_scatter test with `mbsize` set to 2048.""" > > I've used a shortcut, I liked the reference :-). Looking at it, it > could be simplified using :meth: > """Run the

Re: [PATCH] ethdev: add dump regs for telemetry

2024-01-10 Thread Thomas Monjalon
10/01/2024 13:15, Ferruh Yigit: > On 1/10/2024 1:38 AM, fengchengwen wrote: > > Hi Ferruh, > > > > On 2024/1/10 2:06, Ferruh Yigit wrote: > >> On 1/9/2024 2:19 AM, Jie Hai wrote: > >>> On 2023/12/14 20:49, Ferruh Yigit wrote: > On 12/14/2023 1:56 AM, Jie Hai wrote: > > The ethdev library

Re: [PATCH v7 1/7] dts: add startup verification and forwarding modes to testpmd shell

2024-01-10 Thread Jeremy Spewock
Good to know, I'll fix this. On Wed, Jan 10, 2024 at 8:18 AM Juraj Linkeš wrote: > > diff --git a/dts/framework/remote_session/testpmd_shell.py > b/dts/framework/remote_session/testpmd_shell.py > > index 0184cc2e71..11c5c7f93c 100644 > > --- a/dts/framework/remote_session/testpmd_shell.py > > ++

[PATCH v8 0/7] dts: Port scatter suite over

2024-01-10 Thread jspewock
From: Jeremy Spewock v8: Address comments by making minor docstring adjustments. Jeremy Spewock (7): dts: add startup verification and forwarding modes to testpmd shell dts: limit EAL parameters to DPDK apps and add parameters to all apps dts: add optional packet filtering to scapy sniffe

[PATCH v8 1/7] dts: add startup verification and forwarding modes to testpmd shell

2024-01-10 Thread jspewock
From: Jeremy Spewock Added commonly used methods in testpmd such as starting and stopping packet forwarding, changing forward modes, and verifying link status of ports so that developers can configure testpmd and start forwarding through the provided class rather than sending commands to the test

[PATCH v8 2/7] dts: limit EAL parameters to DPDK apps and add parameters to all apps

2024-01-10 Thread jspewock
From: Jeremy Spewock Changed the factory method for creating interactive apps in the SUT Node so that EAL parameters would only be passed into DPDK apps since non-DPDK apps wouldn't be able to process them. Also modified interactive apps to allow for the ability to pass parameters into the app on

[PATCH v8 3/7] dts: add optional packet filtering to scapy sniffer

2024-01-10 Thread jspewock
From: Jeremy Spewock Added the options to filter out LLDP and ARP packets when sniffing for packets with scapy. This was done using BPF filters to ensure that the noise these packets provide does not interfere with test cases. Signed-off-by: Jeremy Spewock --- dts/framework/test_suite.py

[PATCH v8 5/7] dts: allow configuring MTU of ports

2024-01-10 Thread jspewock
From: Jeremy Spewock Adds methods in both os_session and linux session to allow for setting MTU of port interfaces so that suites that require the sending and receiving of packets of a specific size, or the rejection of packets over a certain size, can configure this maximum as needed. Signed-of

[PATCH v8 4/7] dts: add pci addresses to EAL parameters

2024-01-10 Thread jspewock
From: Jeremy Spewock Added allow list to the EAL parameters created in DTS to ensure that only the relevant PCI devices are considered when launching DPDK applications. Signed-off-by: Jeremy Spewock --- dts/framework/testbed_model/sut_node.py | 12 1 file changed, 12 insertions(+)

[PATCH v8 6/7] dts: add scatter to the yaml schema

2024-01-10 Thread jspewock
From: Jeremy Spewock Allow for scatter to be specified in the configuration file. Signed-off-by: Jeremy Spewock --- dts/framework/config/conf_yaml_schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dts/framework/config/conf_yaml_schema.json b/dts/framework/confi

[PATCH v8 7/7] dts: add pmd_buffer_scatter test suite

2024-01-10 Thread jspewock
From: Jeremy Spewock This test suite provides testing of the support of scattered packets by Poll Mode Drivers using testpmd, verifying the ability to receive and transmit scattered multi-segment packets made up of multiple non-contiguous memory buffers. This is tested through 5 different cases i

RE: [EXT] [PATCH] app/test-crypto-perf: add missed resubmission fix

2024-01-10 Thread Anoob Joseph
Hi Suanming, Please see inline. Thanks, Anoob > -Original Message- > From: Suanming Mou > Sent: Friday, January 5, 2024 12:26 PM > To: Anoob Joseph ; ciara.po...@intel.com > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [EXT] [PATCH] app/test-crypto-perf: add missed resubmission fix > >

Re: [v7 1/1] net/af_xdp: fix multi interface support for K8s

2024-01-10 Thread Maryam Tahhan
Hi folks Just wondering if there's any other comments re this patch after all the review comments were addressed? Thanks Maryam On 22/12/2023 11:04, Maryam Tahhan wrote: The original 'use_cni' implementation, was added to enable support for the AF_XDP PMD in a K8s env without any escalated p

[PATCH] build: fix linker warnings about undefined symbols

2024-01-10 Thread Bruce Richardson
The default behaviour of "ld.lld" has changed, so it now prints out warnings about entries in the version.map file which don't exist in the current build. Since we use our version.map file simply to filter out the functions we don't want made public, we include in it all functions across all OS's a

Re: [v7 1/1] net/af_xdp: fix multi interface support for K8s

2024-01-10 Thread Ferruh Yigit
On 1/10/2024 2:58 PM, Maryam Tahhan wrote: > Hi folks > > Just wondering if there's any other comments re this patch after all the > review comments were addressed? > Hi Maryam, There was a request from David, to the previous version, that fixes (either to code or document) should be separated

Re: [PATCH] ethdev: add dump regs for telemetry

2024-01-10 Thread Ferruh Yigit
On 1/10/2024 2:09 PM, Thomas Monjalon wrote: > 10/01/2024 13:15, Ferruh Yigit: >> On 1/10/2024 1:38 AM, fengchengwen wrote: >>> Hi Ferruh, >>> >>> On 2024/1/10 2:06, Ferruh Yigit wrote: On 1/9/2024 2:19 AM, Jie Hai wrote: > On 2023/12/14 20:49, Ferruh Yigit wrote: >> On 12/14/2023 1:56

Re: [PATCH v1] net/axgbe: read and save the port property register

2024-01-10 Thread Ferruh Yigit
On 1/8/2024 9:10 AM, Sebastian, Selwin wrote: > -Original Message- > From: Ande, Venkat Kumar > Sent: Friday, January 5, 2024 5:03 PM > To: dev@dpdk.org > Cc: Sebastian, Selwin ; Ande, Venkat Kumar > > Subject: [PATCH v1] net/axgbe: read and save the port property register > > From: Ve

[PATCH] doc: update minimum Linux kernel version

2024-01-10 Thread Stephen Hemminger
The last version of 4.14 kernel was just released (4.14.336), and it is now end of life. Update the DPDK kernel minimum version to the next LTS kernel version. Signed-off-by: Stephen Hemminger --- doc/guides/linux_gsg/sys_reqs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] build: fix linker warnings about undefined symbols

2024-01-10 Thread Tyler Retzlaff
On Wed, Jan 10, 2024 at 03:01:03PM +, Bruce Richardson wrote: > The default behaviour of "ld.lld" has changed, so it now prints out > warnings about entries in the version.map file which don't exist in > the current build. Since we use our version.map file simply to filter > out the functions w

Re: [PATCH] common/cnxk: update MACsec pkt ok count

2024-01-10 Thread Jerin Jacob
On Sat, Jan 6, 2024 at 1:04 PM Akhil Goyal wrote: > > In case of 103xx platform, the packet unchecked count > is same as packet ok count when validate frames is set in > secy configuration. And when validate frames is not set, > then also unchecked count can be treated as ok count. > > Signed-off-

RE: [PATCH v4 4/4] baseband/fpga_5gnr_fec: cosmetic comment changes

2024-01-10 Thread Chautru, Nicolas
Hi Stephen, We got that feedback from a couple of maintainers, so now we adhere to that rule. In the coding guideline this is not said explicitly but all the examples have periods at the end. So now we just follow that recommendation as gospel. Possibly it would help to say more explicitly in DP

RE: [PATCH v4 1/4] baseband/fpga_5gnr_fec: renaming for consistency

2024-01-10 Thread Chautru, Nicolas
Thanks Stephen. Noted, I believe this is okay for that very case, but I agree there is good balance between being explicit and being readable. Thanks Nic > -Original Message- > From: Stephen Hemminger > Sent: Friday, January 5, 2024 2:00 PM > To: Vargas, Hernan > Cc: dev@dpdk.org; gak

Re: [PATCH 1/1] ml/cnxk: enable data caching for TVM models

2024-01-10 Thread Jerin Jacob
On Sun, Jan 7, 2024 at 8:50 PM Srikanth Yalavarthi wrote: > > Enabled data caching for TVM models with MRVL only layers. > > Signed-off-by: Srikanth Yalavarthi > --- Applied to dpdk-next-net-mrvl/for-main. Thanks

RE: [PATCH v2 1/2] telemetry: correct json empty dictionaries

2024-01-10 Thread Power, Ciara
Hi Jonathan, > -Original Message- > From: Jonathan Erb > Sent: Sunday, December 24, 2023 10:02 PM > To: Power, Ciara > Cc: dev@dpdk.org; Jonathan Erb > Subject: [PATCH v2 1/2] telemetry: correct json empty dictionaries > > Fix to allow telemetry to handle empty dictionaries correctly.

Re: [PATCH] doc: add testpmd latencystats option

2024-01-10 Thread Ferruh Yigit
On 1/9/2024 11:08 PM, Stephen Hemminger wrote: > Option was added but never added to documentation. > > Fixes: 62d3216d6194 ("app/testpmd: add latency statistics calculation") > Signed-off-by: Stephen Hemminger > --- > doc/guides/testpmd_app_ug/run_app.rst | 4 > 1 file changed, 4 insertion

Re: [PATCH] testpmd: do not print bitrate-stats in help if not configured

2024-01-10 Thread Ferruh Yigit
On 1/9/2024 11:09 PM, Stephen Hemminger wrote: > Like other #ifdef options, bitrate-stats should not be printed > in help if not configured. > > Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option") > Signed-off-by: Stephen Hemminger > Acked-by: Ferruh Yigit Applied to dpdk-next-net

RE: Issues around packet capture when secondary process is doing rx/tx

2024-01-10 Thread Konstantin Ananyev
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, January 9, 2024 11:07 PM > To: Konstantin Ananyev > Cc: dev@dpdk.org; arshdeep.k...@intel.com; Gowda, Sandesh > ; Reshma Pattan > > Subject: Re: Issues around packet capture when secondary process is doing > rx/tx > >

[PATCH v1 0/1] baseband/acc: refactor of DMA response

2024-01-10 Thread Nicolas Chautru
Based on previous discussion last year with Maxime, refactoring a bit the VRB PMD response as multiple functions have very similar code when updating status based on DMA response. Nicolas Chautru (1): baseband/acc: refactor of DMA response drivers/baseband/acc/rte_vrb_pmd.c | 139 +

[PATCH v1 1/1] baseband/acc: refactor of DMA response

2024-01-10 Thread Nicolas Chautru
Using common code for the status update during dequeue operation in the VRB PMD. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 139 + 1 file changed, 40 insertions(+), 99 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/driver

Re: [PATCH] testpmd: do not print bitrate-stats in help if not configured

2024-01-10 Thread Stephen Hemminger
On Wed, 10 Jan 2024 18:52:39 + Ferruh Yigit wrote: > On 1/9/2024 11:09 PM, Stephen Hemminger wrote: > > Like other #ifdef options, bitrate-stats should not be printed > > in help if not configured. > > > > Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option") > > Signed-off-by: Ste

RE: 22.11.4 patches review and test

2024-01-10 Thread Xu, HailinX
> -Original Message- > From: Xueming Li > Sent: Wednesday, December 20, 2023 3:19 PM > To: sta...@dpdk.org > Cc: xuemi...@nvidia.com; dev@dpdk.org; Abhishek Marathe > ; Ali Alnubani ; > benjamin.wal...@intel.com; David Christensen ; > Hemant Agrawal ; Stokes, Ian > ; Jerin Jacob ; Mcnamara

Re: [PATCH] ethdev: add dump regs for telemetry

2024-01-10 Thread fengchengwen
Hi Ferruh, On 2024/1/10 20:15, Ferruh Yigit wrote: > On 1/10/2024 1:38 AM, fengchengwen wrote: >> Hi Ferruh, >> >> On 2024/1/10 2:06, Ferruh Yigit wrote: >>> On 1/9/2024 2:19 AM, Jie Hai wrote: On 2023/12/14 20:49, Ferruh Yigit wrote: > On 12/14/2023 1:56 AM, Jie Hai wrote: >> The eth

RE: [PATCH 2/3] net/nfp: fix free resource problem

2024-01-10 Thread Chaoyong He
> On 1/9/2024 7:56 AM, Chaoyong He wrote: > >> On 12/18/2023 1:50 AM, Chaoyong He wrote: > On 12/14/2023 10:24 AM, Chaoyong He wrote: > > From: Long Wu > > > > Set the representor array to NULL to avoid that close interface > > does not free some resource. > > > > Fixe

[PATCH v2] app/testpmd: use Tx preparation in txonly engine

2024-01-10 Thread Kaiwen Deng
Txonly forwarding engine does not call the Tx preparation API before transmitting packets. This may cause some problems. TSO breaks when MSS spans more than 8 data fragments. Those packets will be dropped by Tx preparation API, but it will cause MDD event if txonly forwarding engine does not call

Re: [PATCH v3 0/2] ethdev: add the check for PTP capability

2024-01-10 Thread lihuisong (C)
Hi Ferruh, 在 2023/11/23 19:56, lihuisong (C) 写道: 在 2023/11/2 7:39, Ferruh Yigit 写道: timesync_read_rx_timestamp On 9/21/2023 12:59 PM, lihuisong (C) wrote: add ice & igc maintainers 在 2023/9/21 19:06, Ferruh Yigit 写道: On 9/21/2023 11:02 AM, lihuisong (C) wrote: Hi Ferruh, Sorry for my dela

RE: 22.11.4 patches review and test

2024-01-10 Thread Xueming(Steven) Li
Hi Hainlin, Thanks very much for test test and report! Let me know once any progress with the known issue. Thanks, Xueming. > -Original Message- > From: Xu, HailinX > Sent: 1/11/2024 9:42 > To: Xueming(Steven) Li ; sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; Ali > Alnubani ;

Re: [PATCH v2] app/testpmd: use Tx preparation in txonly engine

2024-01-10 Thread lihuisong (C)
lgtm, Acked-by: Huisong Li 在 2024/1/11 13:25, Kaiwen Deng 写道: Txonly forwarding engine does not call the Tx preparation API before transmitting packets. This may cause some problems. TSO breaks when MSS spans more than 8 data fragments. Those packets will be dropped by Tx preparation API, but

Re: [PATCH v2 00/11] add Traffic Manager feature

2024-01-10 Thread lihuisong (C)
kindly ping for review. 在 2023/11/28 20:40, Huisong Li 写道: The traffic management API has been introduced for a long time, please see commit 5d109deffa87 ("ethdev: add traffic management API"). And many PMD also support this feature. So this series add this feature to features.rst, default.ini a

[PATCH 0/2] multiple representors in one device

2024-01-10 Thread Harman Kalra
Following series adds support to enable creation of multiple representors under one base device. There may be scenarios where port representors for multiple PFs or VFs under PF are required and all these representor ports created under a single pci device. Marvell CNXK port representor solution is

[PATCH 1/2] ethdev: parsing multiple representor devargs string

2024-01-10 Thread Harman Kalra
Adding support for parsing multiple representor devargs strings passed to a PCI BDF. There may be scenario where port representors for various PFs or VFs under PFs are required and all these are representor ports shall be backed by single pci device. In such case port representors can be created us

[PATCH 2/2] doc: multiple representors in one device

2024-01-10 Thread Harman Kalra
Updating the documentation with the pattern format for enabling multiple representors in one device Signed-off-by: Harman Kalra --- doc/guides/prog_guide/poll_mode_drv.rst | 4 +++- doc/guides/prog_guide/switch_representation.rst | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) di

RE: [EXT] Re: [PATCH v2 24/24] doc: port representors in cnxk

2024-01-10 Thread Harman Kalra
Hi Thomas Thanks for the review Please see inline Thanks Harman > -Original Message- > From: Thomas Monjalon > Sent: Friday, December 22, 2023 12:04 AM > To: Harman Kalra > Cc: Nithin Kumar Dabilpuram ; Kiran Kumar > Kokkilagadda ; Sunil Kumar Kori > ; Satha Koteswara Rao Kottidi > ; d

[RFC 0/5] support VXLAN-GPE header fields(flags, rsvd0 and rsvd1) matching

2024-01-10 Thread Gavin Li
Previously, VXLAN-GPE in DPDK only supports VNI and next protocol header fields. This patch series add support for flags and reserved field 0 and 1. Below is the VXLAN-GPE header defined in the lasted draft. 0 1 2 3 0 1 2 3 4 5 6 7 8 9

[RFC 1/5] net/mlx5: support VXLAN-GPE flags matching

2024-01-10 Thread Gavin Li
This commit adds support for matching on the flags field of VXLAN-GPE header (the first 8-bits). Signed-off-by: Gavin Li Reviewed-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.

[RFC 3/5] net/mlx5: support VXLAN-GPE reserved fields matching

2024-01-10 Thread Gavin Li
This adds matching on the reserved fields of VXLAN-GPE header (the 16-bits before Next Protocol and the last 8-bits). To support all the header fields, tunnel_header_0_1 should be supported by FW and misc5_cap is set. If one of the reserved fields is matched on, misc5 is used for matching. Otherw

[RFC 2/5] app/testpmd: support VXLAN-GPE flags

2024-01-10 Thread Gavin Li
Add support for VXLAN-GPE flags field in flow rule pattern to testpmd. Signed-off-by: Gavin Li Reviewed-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 10 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 1 + 2 files changed, 11 insertions(+) diff --git a/app/

[RFC 4/5] app/testpmd: support VXLAN-GPE reserved fields

2024-01-10 Thread Gavin Li
Add support for VXLAN-GPE rsvd0 and rsvd1 fields in flow rule pattern to testpmd Signed-off-by: Gavin Li Reviewed-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 20 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 ++ 2 files changed, 22 insertions(

[RFC 5/5] net/mlx5/hws: support VXLAN-GPE matching

2024-01-10 Thread Gavin Li
Add support for matching VXLAN-GPE tunnel header. Signed-off-by: Gavin Li Reviewed-by: Itamar Gozlan Reviewed-by: Dariusz Sosnowski --- doc/guides/rel_notes/release_24_03.rst | 6 ++ drivers/net/mlx5/hws/mlx5dr_definer.c | 117 + drivers/net/mlx5/hws/mlx5dr_definer.h