RE: [PATCH] net/i40e: fix incorrect VLAN stripping for QinQ

2022-09-01 Thread Liu, KevinX
> -Original Message- > From: Yang, Qiming > Sent: Friday, September 2, 2022 11:29 AM > To: Liu, KevinX ; dev@dpdk.org > Cc: Zhang, Yuying ; Xing, Beilei > ; Yang, SteveX ; Liu, KevinX > > Subject: RE: [PATCH] net/i40e: fix incorrect VLAN stripping for QinQ > > > > > -Original Me

Re: [PATCH v2] examples/distributor: update dynamic configuration

2022-09-01 Thread Omer Yamac
Hi David, I applied the changes as new version (v3), Thank you On 01.09.2022 13:58, Hunt, David wrote: Hi Ömer, On 28/06/2022 20:54, omer.yamac at ceng.metu.edu.tr (Abdullah Ömer Yamaç) wrote: In this patch, * It is possible to switch the running mode of the distributor using the comman

Re: [PATCH] drivers/raw/skeleton: fix typecasting in skeleton_rawdev_enqueue_bufs()

2022-09-01 Thread Usman Tanveer
Hi Thomas, Can you please have a look and update the status? On Wed, Jul 6, 2022 at 11:33 AM Usman Tanveer wrote: > In function "skeleton_rawdev_enqueue_bugs", variable "context" is being > typecasted to (int*), and then assigned to a "uint16_t" type variable > "q_id". As the value is a "uint1

RE: [PATCH] net/i40e: fix incorrect VLAN stripping for QinQ

2022-09-01 Thread Yang, Qiming
> -Original Message- > From: Kevin Liu > Sent: Thursday, September 1, 2022 6:06 PM > To: dev@dpdk.org > Cc: Zhang, Yuying ; Xing, Beilei > ; Yang, SteveX ; Liu, KevinX > > Subject: [PATCH] net/i40e: fix incorrect VLAN stripping for QinQ > > QinQ enable, when enable strip function, it

[PATCH 9/9] net/ngbe: support to set link down/up

2022-09-01 Thread Jiawen Wu
Add support to set device link down/up. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_22_11.rst | 4 drivers/net/ngbe/base/ngbe_phy.c | 1 + drivers/net/ngbe/base/ngbe_phy_rtl.c | 13 drivers/net/ngbe/base/ngbe_phy_rtl.h | 2 ++ drivers/net/ngbe/ngbe_et

[PATCH 8/9] net/ngbe: fix YT PHY mixed mode occasionally failing link

2022-09-01 Thread Jiawen Wu
Add to read link status register of UTP mode, to ensure link status of mixed mode, for YT PHY. Fixes: 1c44384fce76 ("net/ngbe: support custom PHY interfaces") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_phy_yt.c | 9 + 1 file changed, 9 insertions(+) dif

[PATCH 7/9] net/ngbe: fix max frame size

2022-09-01 Thread Jiawen Wu
Remain the same max frame size after the device restarts. Fixes: 07baabb6a51a ("net/ngbe: support MTU set") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_regs.h | 2 +- drivers/net/ngbe/base/ngbe_type.h | 2 +- drivers/net/ngbe/ngbe_ethdev.c| 10 +++--- 3

[PATCH 6/9] net/ngbe: remove semaphore between SW/FW

2022-09-01 Thread Jiawen Wu
Since firmware does not use the semaphore between software and firmware. Remove useless unilateral semaphore setting. Fixes: f501a195bded ("net/ngbe: initialize and validate EEPROM") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_eeprom.c | 32 --

[PATCH 5/9] net/ngbe: rename some extended statistic

2022-09-01 Thread Jiawen Wu
Rename rx_oversize_errors to rx_oversize_cnt since it depends on giant packet size limit instead of MTU, by hardware design. Rename rx_drop_packets and tx_drop_packets to rx_dma_drop and tx_dma_drop to indicate the drop location. And add tx_dma_drop to extended statistics. Fixes: 8b433d04adc9 ("ne

[PATCH 4/9] net/txgbe: rename some extended statistic

2022-09-01 Thread Jiawen Wu
Rename rx_oversize_errors to rx_oversize_cnt since it depends on giant packet size limit instead of MTU, by hardware design. Rename rx_drop_packets to rx_rdb_drop to indicate the drop location. And add rx_dma_drop to extended statistics. Fixes: 91fe49c87d76 ("net/txgbe: support device xstats") Cc:

[PATCH 3/9] net/txgbe: remove semaphore between SW/FW

2022-09-01 Thread Jiawen Wu
Since firmware does not use the semaphore between software and firmware. Remove useless unilateral semaphore setting. Fixes: 35c90ecccfd4 ("net/txgbe: add EEPROM functions") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_eeprom.c | 32 ---

[PATCH 1/9] net/txgbe: fix IPv6 rule in flow director

2022-09-01 Thread Jiawen Wu
Convert the correct packet type and flow type, to fix IPv6 rule in FDIR. Fixes: b973ee26747a ("net/txgbe: parse flow director filter") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_flow.c | 33 ++--- 1 file changed, 26 insertions(+), 7 dele

[PATCH 2/9] net/txgbe: fix OEM customized LED

2022-09-01 Thread Jiawen Wu
Fix to read the correct mailbox register. Fixes: f45834fd5c6a ("net/txgbe: support OEM customized LED") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_mng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/txgbe/base/txgbe_mng.c

[PATCH 0/9] Wangxun fixes and supports

2022-09-01 Thread Jiawen Wu
Fix some bugs, remove unused logic, support new features. Jiawen Wu (9): net/txgbe: fix IPv6 rule in flow director net/txgbe: fix OEM customized LED net/txgbe: remove semaphore between SW/FW net/txgbe: rename some extended statistic net/ngbe: rename some extended statistic net/ngbe: re

Re: [PATCH v7 00/12] preparation for the rte_flow offload of nfp PMD

2022-09-01 Thread Niklas Söderlund
Hi all, A gentle ping on this series. We have a lot of things in the pipeline that depends on this work and would be nice if we had the base patches in-tree. On 2022-08-12 18:22:18 +0800, Chaoyong He wrote: > This is the first patch series to add the support of rte_flow offload for > nfp PMD, i

[PATCH 2/2] net/ice: add basic flow ctrl support for enable/disable/get

2022-09-01 Thread Markus Theil
From: Markus Theil Signed-off-by: Markus Theil --- drivers/net/ice/ice_ethdev.c | 108 +++ 1 file changed, 108 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index f5820d6ccb..ad93ec8155 100644 --- a/drivers/net/ice/ice_et

[PATCH 1/2] net/ice: add nic blinking support

2022-09-01 Thread Markus Theil
From: Markus Theil Signed-off-by: Markus Theil --- drivers/net/ice/ice_ethdev.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index fc889420c7..f5820d6ccb 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/dr

Re: [PATCH v2 01/10] net/gve: introduce GVE PMD base code

2022-09-01 Thread Thomas Monjalon
01/09/2022 20:23, Stephen Hemminger: > On Thu, 1 Sep 2022 18:19:22 +0100 > Ferruh Yigit wrote: > > > > > > > diff --git a/drivers/net/gve/gve_adminq.c b/drivers/net/gve/gve_adminq.c > > > new file mode 100644 > > > index 00..8a724f12c6 > > > --- /dev/null > > > +++ b/drivers/net/gve/gve_

RE: [PATCH v1 00/10] baseband/acc200

2022-09-01 Thread Chautru, Nicolas
Hi Tom, > -Original Message- > From: Tom Rix > Sent: Thursday, September 1, 2022 6:49 AM > To: Chautru, Nicolas ; Maxime Coquelin > ; dev@dpdk.org; tho...@monjalon.net; > gak...@marvell.com; hemant.agra...@nxp.com; Vargas, Hernan > > Cc: m...@ashroe.eu; Richardson, Bruce ; > david.march.

RE: [PATCH v3] dma/cnxk: add support for CN10K DMA engine

2022-09-01 Thread Radha Chintakuntla
> -Original Message- > From: Radha Mohan Chintakuntla > Sent: Friday, August 5, 2022 12:30 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Radha Chintakuntla ; Nithin > Kumar Dabilpuram ; Kiran Kumar Kokkilagadda > ; Sunil Kumar Kori ; Satha > Koteswara Rao Kottidi ; Veerasenareddy Burr

Re: [PATCH v2 01/10] net/gve: introduce GVE PMD base code

2022-09-01 Thread Stephen Hemminger
On Thu, 1 Sep 2022 18:19:22 +0100 Ferruh Yigit wrote: > > > > diff --git a/drivers/net/gve/gve_adminq.c b/drivers/net/gve/gve_adminq.c > > new file mode 100644 > > index 00..8a724f12c6 > > --- /dev/null > > +++ b/drivers/net/gve/gve_adminq.c > > @@ -0,0 +1,925 @@ > > +/* SPDX-License-Ide

Re: [PATCH v2 09/10] net/gve: add stats support

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: Update stats add support of dev_ops stats_get/reset. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 10 ++ drivers/net/gve/gve_ethdev.c | 69 drivers/net/gve/gve_rx.

Re: [PATCH v2 08/10] net/gve: add support to get dev info and configure dev

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: Add dev_ops dev_infos_get. Complete dev_configure with RX offloads configuration. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 3 ++ drivers/net/gve/gve_ethdev.c | 61

Re: [PATCH v2 04/10] net/gve: add link update support

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: Support dev_ops link_update. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve_ethdev.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gv

Re: [PATCH v2 03/10] net/gve: support device initialization

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: diff --git a/drivers/net/gve/version.map b/drivers/net/gve/version.map new file mode 100644 index 00..c2e0723b4c --- /dev/null +++ b/drivers/net/gve/version.map @@ -0,0 +1,3 @@ +DPDK_22 { + local: *; +}; It should be 'DPDK_23' now. @Bruce,

Re: [PATCH v2 03/10] net/gve: support device initialization

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: Support device init and the fowllowing devops: - dev_configure - dev_start - dev_stop - dev_close Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 249 +++

Re: [PATCH v2 02/10] net/gve: add logs and OS specific implementation

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: Add GVE PMD logs. Add some MACRO definitions and memory operations which are specific for DPDK. Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo <...> diff --git a/drivers/net/gve/gve_logs.h b/drivers/net/gve/gve_lo

Re: [PATCH v2 10/10] doc: update documentation

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Update documentation of GVE PMD and release note. Signed-off-by: Xiaoyun Li Si

Re: [PATCH v2 00/10] introduce GVE PMD

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: Introduce a new PMD for Google Virtual Ethernet (GVE). This patch set requires an exception for MIT license for GVE base code. And the base code includes the following files: - gve_adminq.c - gve_adminq.h - gve_desc.h

Re: [PATCH v2 01/10] net/gve: introduce GVE PMD base code

2022-09-01 Thread Ferruh Yigit
On 8/29/2022 9:41 AM, Junfeng Guo wrote: The following base code is based on Google Virtual Ethernet (gve) driver v1.3.0 under MIT license. - gve_adminq.c - gve_adminq.h - gve_desc.h - gve_desc_dqo.h - gve_register.h The original code is in: https://github.com/GoogleCloudPlatform/

Re: [PATCH] examples: compilation fix for GCC-12

2022-09-01 Thread Stephen Hemminger
On Thu, 1 Sep 2022 13:53:43 +0530 Amit Prakash Shukla wrote: > diff --git a/examples/common/neon/port_group.h > b/examples/common/neon/port_group.h > index 82c6ed6d73..97da604583 100644 > --- a/examples/common/neon/port_group.h > +++ b/examples/common/neon/port_group.h > @@ -24,7 +24,7 @@ port_g

Re: [PATCH v2 1/4] net/axgbe: fix scattered Rx

2022-09-01 Thread Ferruh Yigit
On 9/1/2022 1:49 PM, Bhagyada Modali wrote: Error check needs to be done only for last segment of Jumbo packet. Freed first_seg and reset eop to 0 in error case Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- v2: * removed the extra paranthesis * init

[PATCH v2 4/4] net/ice: support buffer split in Rx path

2022-09-01 Thread Yuan Wang
This patch adds support for protocol based buffer split in normal Rx data paths. When the Rx queue is configured with specific protocol type, packets received will be directly split into protocol header and payload parts limitation of ice pmd. And the two parts will be put into different mempools.

[PATCH v2 3/4] app/testpmd: add rxhdrs commands and parameters

2022-09-01 Thread Yuan Wang
Add command line parameter: --rxhdrs=mac,[ipv4,udp] Set the protocol_hdr of segments to scatter packets on receiving if split feature is engaged. And the queues with BUFFER_SPLIT flag. Add interactive mode command: testpmd>set rxhdrs mac,ipv4,tcp,udp,sctp (protocol sequence should be valid) The

[PATCH v2 2/4] ethdev: introduce protocol hdr based buffer split

2022-09-01 Thread Yuan Wang
Currently, Rx buffer split supports length based split. With Rx queue offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment configured, PMD will be able to split the received packets into multiple segments. However, length based buffer split is not suitable for NICs that do split b

[PATCH v2 1/4] ethdev: introduce protocol header API

2022-09-01 Thread Yuan Wang
Add a new ethdev API to retrieve supported protocol headers of a PMD, which helps to configure protocol header based buffer split. Signed-off-by: Yuan Wang Signed-off-by: Xuan Ding Signed-off-by: Wenxuan Wu --- doc/guides/rel_notes/release_22_11.rst | 5 lib/ethdev/ethdev_driver.h

[PATCH v2 0/4] support protocol based buffer split

2022-09-01 Thread Yuan Wang
Protocol type based buffer split consists of splitting a received packet into several separate segments based on the packet content. It is useful in some scenarios, such as GPU acceleration. The splitting will help to enable true zero copy and hence improve the performance significantly. This patc

Re: [PATCH] net/ring: add umonitor callback

2022-09-01 Thread Bruce Richardson
On Wed, Aug 03, 2022 at 03:28:45PM +0100, Herakliusz Lipiec wrote: > Currently ring pmd does not support ``rte_power_monitor`` api. > This patch adds support by adding umonitor callback that is called > whenever we enter sleep state and need to check if it is time to wake > up. > > Signed-off-by:

[PATCH v4 3/3] doc: add howto guide for lcore poll busyness

2022-09-01 Thread Kevin Laatz
Add a new section to the howto guides for using the new lcore poll busyness telemetry endpoints and describe general usage. Signed-off-by: Kevin Laatz --- v4: * Include note on perf impact when the feature is enabled * Add doc to toctree * Updates to incorporate changes made earlier in the

[PATCH v4 2/3] eal: add cpuset lcore telemetry entries

2022-09-01 Thread Kevin Laatz
From: Anatoly Burakov Expose per-lcore cpuset information to telemetry. Signed-off-by: Anatoly Burakov --- lib/eal/common/eal_common_lcore_telemetry.c | 47 + 1 file changed, 47 insertions(+) diff --git a/lib/eal/common/eal_common_lcore_telemetry.c b/lib/eal/common/eal_co

[PATCH v4 1/3] eal: add lcore poll busyness telemetry

2022-09-01 Thread Kevin Laatz
From: Anatoly Burakov Currently, there is no way to measure lcore poll busyness in a passive way, without any modifications to the application. This patch adds a new EAL API that will be able to passively track core polling busyness. The poll busyness is calculated by relying on the fact that mo

[PATCH v4 0/3] Add lcore poll busyness telemetry

2022-09-01 Thread Kevin Laatz
Currently, there is no way to measure lcore polling busyness in a passive way, without any modifications to the application. This patchset adds a new EAL API that will be able to passively track core polling busyness. As part of the set, new telemetry endpoints are added to read the generate metric

[PATCH V3 21/21] net/softnic: update the default device program

2022-09-01 Thread Cristian Dumitrescu
Update the default device program. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/firmware.cli | 51 -- drivers/net/softnic/firmware.spec | 19 +++ drivers/net/softnic/firmware_rx.io | 30 ++ drivers

[PATCH V3 18/21] net/softnic: add the pipeline meter CLI commands

2022-09-01 Thread Cristian Dumitrescu
Add CLI commands for pipeline meter configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 423 ++ 1 file changed, 423 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net

[PATCH V3 20/21] net/softnic: add pipeline mirroring CLI command

2022-09-01 Thread Cristian Dumitrescu
Add CLI command for pipeline mirroring configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 96 +++ 1 file changed, 96 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/n

[PATCH V3 19/21] net/softnic: add pipeline statistics CLI command

2022-09-01 Thread Cristian Dumitrescu
Add CLI command for pipeline statistics counters query. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 204 ++ 1 file changed, 204 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/driver

[PATCH V3 16/21] net/softnic: add pipeline commit and abort CLI commands

2022-09-01 Thread Cristian Dumitrescu
Add CLI commands for pipeline table update commit and abort. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/dr

[PATCH V3 14/21] net/softnic: add pipeline selector table CLI commands

2022-09-01 Thread Cristian Dumitrescu
Add CLI commands for selector tables group and member management. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 517 ++ 1 file changed, 517 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c

[PATCH V3 17/21] net/softnic: add the pipeline register read/write CLI commands

2022-09-01 Thread Cristian Dumitrescu
Add CLI commands for pipeline registers read and write operations. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 127 ++ 1 file changed, 127 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.

[PATCH V3 15/21] net/softnic: add pipeline learner table CLI commands

2022-09-01 Thread Cristian Dumitrescu
Add CLI command for managing the learner table default entry. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 106 ++ 1 file changed, 106 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/

[PATCH V3 13/21] net/softnic: add pipeline table CLI commands

2022-09-01 Thread Cristian Dumitrescu
Add CLI commands for pipeline table entry management. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 370 ++ 1 file changed, 370 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/

[PATCH V3 11/21] net/softnic: add pipeline library build CLI command

2022-09-01 Thread Cristian Dumitrescu
Add CLI command for pipeline shared library build. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 143 ++ 1 file changed, 143 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net

[PATCH V3 09/21] net/softnic: remove unused text parsing functions

2022-09-01 Thread Cristian Dumitrescu
Remove the text parsing functions that are not used. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build | 1 - drivers/net/softnic/parser.c | 523 -- drivers/net/softnic/parser.h | 68 ---

[PATCH V3 10/21] net/softnic: add pipeline code generation CLI command

2022-09-01 Thread Cristian Dumitrescu
Add CLI command for pipeline code generation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 57 ++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/dr

[PATCH V3 12/21] net/softnic: add pipeline build CLI command

2022-09-01 Thread Cristian Dumitrescu
Add CLI command for pipeline build. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 66 +++ 1 file changed, 66 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net/softnic/rte_eth

[PATCH V3 08/21] net/softnic: remove the list of Ethernet devices

2022-09-01 Thread Cristian Dumitrescu
The list of Ethernet devices within this driver is redundant, as the DPDK global list of Ethernet devices can be used instead. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build | 1 - drivers/net/softnic/rte_eth_softnic.c

[PATCH V3 06/21] net/softnic: remove the legacy pipeline CLI commands

2022-09-01 Thread Cristian Dumitrescu
Remove the legacy pipeline CLI commands. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/rte_eth_softnic_cli.c | 4527 - 1 file changed, 4527 deletions(-) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net/softnic/r

[PATCH V3 07/21] net/softnic: replace the legacy pipeline with the SWX pipeline

2022-09-01 Thread Cristian Dumitrescu
Replace the legacy pipeline support with support for the SWX pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build |1 - drivers/net/softnic/rte_eth_softnic.c |6 - drivers/net/softnic/rte_eth_softnic_action.c

[PATCH V3 05/21] net/softnic: remove tap support

2022-09-01 Thread Cristian Dumitrescu
Remove the TUN/TAP device support. The TUN/TAP devices are still supported as virtual Ethernet devices through the TAP Poll Mode Driver. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build | 1 - drivers/net/softnic/rte_eth_softnic

[PATCH V3 04/21] net/softnic: remove cryptodev support

2022-09-01 Thread Cristian Dumitrescu
Remove the cryptographic device API support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build | 3 +- drivers/net/softnic/rte_eth_softnic.c | 1 - drivers/net/softnic/rte_eth_softnic_cli.c | 171 --

[PATCH V3 01/21] net/softnic: remove the traffic manager support

2022-09-01 Thread Cristian Dumitrescu
Remove the Ethernet device traffic manager API support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build |3 +- drivers/net/softnic/rte_eth_softnic.c | 170 - drivers/net/softnic/rte_eth_softnic.h | 10 - dr

[PATCH V3 03/21] net/softnic: remove the meter support

2022-09-01 Thread Cristian Dumitrescu
Remove the Ethernet device meter API support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build | 1 - drivers/net/softnic/rte_eth_softnic.c | 16 - .../net/softnic/rte_eth_softnic_internals.h | 117 --- drivers/net/so

[PATCH V3 02/21] net/softnic: remove flow support

2022-09-01 Thread Cristian Dumitrescu
Remove the Ethernet device flow API support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- drivers/net/softnic/meson.build|1 - drivers/net/softnic/rte_eth_softnic.c |9 - drivers/net/softnic/rte_eth_softnic_cli.c | 81 - drivers/net/softnic/rte

[PATCH V3 00/21] net/softnic: replace the legacy pipeline with SWX pipeline

2022-09-01 Thread Cristian Dumitrescu
The legacy pipeline API is soon going to be marked for deprecation, hence the Soft NIC driver is updated to support the new SWX pipeline type. The SWX pipeline has better encapsulation than the legacy pipeline, mainly due to P4 language alignment, which results in most of the functionality being s

[PATCH v3] examples/distributor: update dynamic configuration

2022-09-01 Thread Abdullah Ömer Yamaç
In this patch, * It is possible to switch the running mode of the distributor using the command line argument. * With "-c" parameter, you can run RX and Distributor on the same core. * Without "-c" parameter, you can run RX and Distributor on the different core. * Consecutive termin

Re: [PATCH v1 00/10] baseband/acc200

2022-09-01 Thread Tom Rix
On 8/31/22 6:26 PM, Chautru, Nicolas wrote: Hi Tom, -Original Message- From: Tom Rix Sent: Wednesday, August 31, 2022 5:28 PM To: Chautru, Nicolas ; Maxime Coquelin ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com; Vargas, Hernan Cc: m...@ashroe.eu; Ri

RE: [PATCH v2 00/70] ice base code update

2022-09-01 Thread Zhang, Qi Z
> -Original Message- > From: Yang, Qiming > Sent: Monday, August 22, 2022 1:37 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org > Subject: RE: [PATCH v2 00/70] ice base code update > > > > > -Original Message- > > From: Zhang, Qi Z > > Sent: Monday, August 15, 2022 3:31 PM > > To: Y

[PATCH v2 4/4] net/axgbe: fix checksum and RSS in scattered Rx

2022-09-01 Thread Bhagyada Modali
Updated the RSS hash and CSUM checks with first_seg instead of mbufs. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 41 +- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git

[PATCH v2 3/4] net/axgbe: fix length of each segment in scattered Rx

2022-09-01 Thread Bhagyada Modali
Updating mbuf data_len, Pkt_len for each segment before chaining them Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/axgbe/axgbe_rxtx

[PATCH v2 2/4] net/axgbe: fix mbuf lengths in scattered Rx

2022-09-01 Thread Bhagyada Modali
Updated pkt_len and data_len in the last segment of the packet. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/axgbe/axgbe_rxtx.c b/driv

[PATCH v2 1/4] net/axgbe: fix scattered Rx

2022-09-01 Thread Bhagyada Modali
Error check needs to be done only for last segment of Jumbo packet. Freed first_seg and reset eop to 0 in error case Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- v2: * removed the extra paranthesis * initialised the variables * updated the commit log

[Bug 1075] ixgbevf reset failure

2022-09-01 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1075 Bug ID: 1075 Summary: ixgbevf reset failure Product: DPDK Version: 21.11 Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: Normal

[Bug 1074] rte_pktmbuf_pool_create doc reports RTE_SECONDARY as an error but it actually works in a secondary process

2022-09-01 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1074 Bug ID: 1074 Summary: rte_pktmbuf_pool_create doc reports RTE_SECONDARY as an error but it actually works in a secondary process Product: DPDK Version: 21.11 Hardware: All

[Bug 1073] The `rte_mempool_ops_table` is process unsafe

2022-09-01 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1073 Bug ID: 1073 Summary: The `rte_mempool_ops_table` is process unsafe Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal

RE: [PATCH v2] net/iavf: enable inner and outer Tx checksum offload

2022-09-01 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Peng1X > Sent: Thursday, September 1, 2022 5:33 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Zhang, Peng1X > Subject: [PATCH v2] net/iavf: enable inner and outer Tx checksum offload > > Enable inner and outer Tx checksum offload for tu

Re: [PATCH v2] examples/distributor: update dynamic configuration

2022-09-01 Thread Hunt, David
Hi Ömer, On 28/06/2022 20:54, omer.yamac at ceng.metu.edu.tr (Abdullah Ömer Yamaç) wrote: In this patch, * It is possible to switch the running mode of the distributor using the command line argument. * With "-c" parameter, you can run RX and Distributor on the same core. * Witho

[PATCH v2] examples/fips_validation: add parsing for AES GMAC

2022-09-01 Thread Brian Dooley
Added functionality to parse algorithm for AES GMAC test Signed-off-by: Brian Dooley --- v2: add random internal iv generation --- examples/fips_validation/fips_validation.c| 2 ++ examples/fips_validation/fips_validation.h| 1 + .../fips_validation/fips_validation_gcm.c | 13 +

[PATCH] test/cryptodev: ensure structs are updated in unison

2022-09-01 Thread Anoob Joseph
The structs are directly indexed for generating standard vectors. Add asserts to make sure structs are not updated in isolation. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cr

[PATCH v2] net/iavf: enable inner and outer Tx checksum offload

2022-09-01 Thread Peng Zhang
Enable inner and outer Tx checksum offload for tunnel packet by configure ol_flags. Signed-off-by: Peng Zhang --- v2: add outer udp cksum flag and remove unrelated code --- drivers/net/iavf/iavf_ethdev.c | 1 + drivers/net/iavf/iavf_rxtx.c | 48 -- drivers/net

DPDK Release Status Meeting 2022-09-01

2022-09-01 Thread Mcnamara, John
Release status meeting minutes 2022-09-01 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Debian/Microsoft * Intel * Marvell * Nvidia * Red Hat * Xilinx/AMD Release Dates - The following are the p

[PATCH] vhost: compilation fix for GCC-12

2022-09-01 Thread Amit Prakash Shukla
../lib/vhost/virtio_net.c:941:35: error: 'buf_vec[0].buf_len' may be used uninitialized [-Werror=maybe-uninitialized] 941 | buf_len = buf_vec[vec_idx].buf_len; | ^~~~ ../lib/vhost/virtio_net.c: In function 'virtio

RE: [PATCH] net/mvneta: compilation fix for GCC-12

2022-09-01 Thread Liron Himi
Acked-by: Liron Himi -Original Message- From: Amit Prakash Shukla Sent: Thursday, 1 September 2022 11:31 To: Zyta Szpak ; Liron Himi Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; sta...@dpdk.org; Amit Prakash Shukla Subject: [PATCH] net/mvneta: compilation fix for GCC-12 ./drivers/n

[PATCH] net/mvneta: compilation fix for GCC-12

2022-09-01 Thread Amit Prakash Shukla
./drivers/net/mvneta/mvneta_rxtx.c:89:42: error: 'mbufs' may be used uninitialized [-Werror=maybe-uninitialized] 89 | MVNETA_SET_COOKIE_HIGH_ADDR(mbufs[0]); | ^ ../drivers/net/mvneta/mvneta_rxtx.c:77:26: note: 'mbufs' declared here

[PATCH] regexdev: display response flags value

2022-09-01 Thread Gerry Gribbon
Allows application user to see response flags Signed-off-by: Gerry Gribbon Acked-by: Ori Kam --- app/test-regex/main.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/test-regex/main.c b/app/test-regex/main.c index 351c36a879..94b767e380 100644 --- a/app/test-regex

[PATCH] regex/mlx5: add check for nb max matches

2022-09-01 Thread Gerry Gribbon
Added check so user gets error if they try to configure the nb_max_matches value when using rte_regexdev_configure(). Signed-off-by: Gerry Gribbon Acked-by: Ori Kam --- drivers/regex/mlx5/mlx5_rxp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/regex/mlx5/mlx5_rxp.c b/drivers

[PATCH] regex/mlx5: add support for combined rof file

2022-09-01 Thread Gerry Gribbon
Added support to allow parsing of a combined rof file to locate compatible binary rof data for the Bluefield hardware being run on. Signed-off-by: Gerry Gribbon Acked-by: Ori Kam --- drivers/regex/mlx5/mlx5_regex.h | 4 + drivers/regex/mlx5/mlx5_rxp.c | 148

[PATCH] examples: compilation fix for GCC-12

2022-09-01 Thread Amit Prakash Shukla
GCC-12 warns when a pointer of type union points to an array of same defined size, as union internally gets paded with pad bytes. ../examples/common/neon/port_group.h:42:21: error: array subscript 'union [0]' is partly outside array bounds of 'uint16_t[5]' {aka 'short unsigned int[

[PATCH] regexdev: add match mode command line parameter

2022-09-01 Thread Gerry Gribbon
Allows application to specify match mode to be used. Signed-off-by: Gerry Gribbon Acked-by: Ori Kam --- app/test-regex/main.c| 38 ++-- doc/guides/tools/testregex.rst | 3 ++ drivers/regex/mlx5/mlx5_regex_fastpath.c | 8 +++-- 3 files changed,

Re: [PATCH] IGC: Remove I225_I_PHY_ID checking

2022-09-01 Thread David Marchand
On Thu, Sep 1, 2022 at 10:08 AM Mah, Yock Gen wrote: > > >-Original Message- > >From: Zhang, Qi Z > >Sent: Tuesday, 30 August, 2022 7:17 PM > >To: IOTG DPDK Ref App ; dev@dpdk.org > >Subject: RE: [PATCH] IGC: Remove I225_I_PHY_ID checking > > > -Original Message- > > From: iotg.dp

Optimizing for common burst sizes

2022-09-01 Thread Morten Brørup
Triggered by the discussion about the performance cost of function pointers [1], I want to share some thoughts about variables vs. constants: A lot of flexibility - some of it only required to support more or less exotic scenarios - has been sneaking into DPDK, and costing performance. Not only

[PATCH] regexdev: add maximum number of mbuf segments field

2022-09-01 Thread Gerry Gribbon
Allows application to query maximum number of mbuf segments that can be chained together. Signed-off-by: Gerry Gribbon Acked-by: Ori Kam --- drivers/regex/mlx5/mlx5_regex.h | 1 + drivers/regex/mlx5/mlx5_regex_fastpath.c | 43 drivers/regex/mlx5/mlx5_rxp.c

[PATCH] regexdev: add maximum number of mbuf segments field

2022-09-01 Thread Gerry Gribbon
Allows application to query maximum number of mbuf segments that can be chained together. Signed-off-by: Gerry Gribbon Acked-by: Ori Kam --- drivers/regex/mlx5/mlx5_regex.h | 1 + drivers/regex/mlx5/mlx5_regex_fastpath.c | 43 drivers/regex/mlx5/mlx5_rxp.c

RE: [PATCH V2 0/6] pipeline: make the hash function configurable per table

2022-09-01 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, 31 August 2022 18.23 > Subject: Re: [PATCH V2 0/6] pipeline: make the hash function > configurable per table > > On Fri, 19 Aug 2022 19:52:19 + > Cristian Dumitrescu wrote: > > > Also, since this flexibility has

[PATCH 4/4] net/axgbe: fix scattered Rx function

2022-09-01 Thread Bhagyada Modali
Updated the RSS hash and CSUM checks with first_seg instead of mbufs. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 41 +- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git

[PATCH 3/4] net/axgbe: fix scattered Rx function

2022-09-01 Thread Bhagyada Modali
Updating mbuf data_len, Pkt_len for each segment before chaining them Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/axgbe/axgbe_rxtx

[PATCH 2/4] net/axgbe: fix scattered Rx function

2022-09-01 Thread Bhagyada Modali
Updated pkt_len and data_len in the last segment of the packet. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/axgbe/axgbe_rxtx.c b/driv

[PATCH 1/4] net/axgbe: fix scattered Rx function

2022-09-01 Thread Bhagyada Modali
Error check needs to be done only for last segment of Jumbo packet. Freed first_seg and reset eop to 0 in error case Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 32 +++- 1 file changed, 1

[PATCH v2] IGC: Remove I225_I_PHY_ID checking

2022-09-01 Thread iotg . dpdk . ref . app
From: NSWE SWS DPDK Dev i225 devices have only one PHY vendor. There is unnecessary to check _I_PHY_ID during the link establishment and auto-negotiation process, the checking also caused devices like i225-IT failed. This patch is to remove the mentioned unnecessary checking. Cc: sta...@dpdk.org

RE: [PATCH] IGC: Remove I225_I_PHY_ID checking

2022-09-01 Thread Mah, Yock Gen
>-Original Message- >From: Zhang, Qi Z >Sent: Tuesday, 30 August, 2022 7:17 PM >To: IOTG DPDK Ref App ; dev@dpdk.org >Subject: RE: [PATCH] IGC: Remove I225_I_PHY_ID checking > -Original Message- > From: iotg.dpdk.ref@intel.com > Sent: Monday, August 29, 2022 4:15 PM > To: de

Re: [PATCH v2 1/1] app/testpmd: add command line argument 'nic-to-pmd-rx-metadata'

2022-09-01 Thread Singh, Aman Deep
On 8/2/2022 11:21 PM, Hanumanth Pothula wrote: Presently, rx metadata is sent to PMD by default, leading to a performance drop as processing for the same in rx path takes extra cycles. Hence, introducing command line argument, 'nic-to-pmd-rx-metadata' to control passing rx metadata to PMD. By

  1   2   >