Re: [PATCH v6] usertools: rewrite pmdinfo

2022-09-27 Thread Robin Jarry
Bruce Richardson, Sep 26, 2022 at 17:17: > > * fixed typo: /etc/ld.so.conf/*.conf -> /etc/ld.so.conf.d/*.conf > > I am a little uncertain about doing this parsing, and worried it may be a > bit fragile. The main file for ld.so still is ld.so.conf, which, on my > system anyway, does indeed just have

RE: [PATCH v5 0/7] ethdev: separate metering and marking from policing

2022-09-27 Thread Ori Kam
> -Original Message- > From: Dumitrescu, Cristian > Sent: Tuesday, 27 September 2022 14:56 > > > > > -Original Message- > > From: Alexander Kozyrev > > Sent: Monday, September 26, 2022 3:58 PM > > To: dev@dpdk.org > > Cc: Dumitrescu, Cristian ; > > jerinjac...@gmail.com; or..

RE: [PATCH] raw/dpaa2_cmdif: remove driver

2022-09-27 Thread Gagandeep Singh
Hi Thomas, One of the customer has objected this patch as they are going to use it in future so please discard it. Regards, Gagan > -Original Message- > From: Gagandeep Singh > Sent: Monday, September 26, 2022 2:11 PM > To: tho...@monjalon.net; dev@dpdk.org; Hemant Agrawal > > Cc: Gag

[PATCH v3] ethdev: queue rate parameter changed from 16b to 32b

2022-09-27 Thread skoteshwar
From: Satha Rao The rate parameter modified to uint32_t, so that it can work for more than 64 Gbps. Signed-off-by: Satha Rao --- v2: Fixed checkpatch warnings v3: updated release notes, cleanup deprecation, addressed review comments app/test-pmd/cmdline.c | 8 app/t

RE: [EXT] Re: [PATCH v2] ethdev: queue rate parameter changed from 16b to 32b

2022-09-27 Thread Satha Koteswara Rao Kottidi
Thanks Andrew for your comments. Sent v3 with your review comments. Thanks, Satha. -Original Message- From: Andrew Rybchenko Sent: Monday, September 26, 2022 6:48 PM To: Satha Koteswara Rao Kottidi ; Aman Singh ; Yuying Zhang ; Ajit Khaparde ; Somnath Kotur ; Nithin Kumar Dabilpuram

RE: [PATCH v3 0/5] mbuf dynamic field expansion

2022-09-27 Thread Shijith Thotton
> >This is a continuation of the discussions[1] to add mbuf physical address >field to >dynamic field. >Previous version was to add PA field to dynamic field area based on the EAL >IOVA >mode option. It was >deemed unsafe as some components could still use the PA field without checking >IOVA mode

[PATCH 15/15] net/dpaa: fix buffer free in slow path

2022-09-27 Thread Gagandeep Singh
Adding a check in slow path to free those buffers which are not external. Fixes: 9124e65dd3eb ("net/dpaa: enable Tx queue taildrop") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/net/dpaa/dpaa_rxtx.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-)

[PATCH 14/15] net/dpaa: fix buffer free on transmit SG packets

2022-09-27 Thread Gagandeep Singh
When using SG list to TX with external and direct buffers, HW free direct buffers and driver free external buffers. Software scans the complete SG mbuf list to find the external buffers to free, but this is wrong as hardware can free the direct buffers if any present in the list and same can be re

[PATCH 13/15] bus/dpaa: mempool ops registration change

2022-09-27 Thread Gagandeep Singh
moving the mempool ops registration before DPAA devices probe so that device probe functions can also be able to use mempool operations. Signed-off-by: Gagandeep Singh --- drivers/bus/dpaa/dpaa_bus.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/bus/dpaa/

[PATCH 12/15] net/dpaa: use internal mempool for SG table

2022-09-27 Thread Gagandeep Singh
Creating and using driver's mempool for allocating the SG table memory required for FD creation. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa/dpaa_ethdev.c | 13 + drivers/net/dpaa/dpaa_ethdev.h | 9 + drivers/net/dpaa/dpaa_rxtx.c | 9 - 3 files changed, 26

[PATCH 11/15] bus/dpaa: pass interface name as a string instead of pointer

2022-09-27 Thread Gagandeep Singh
From: Rohit Raj Due to change in latest kernel, passing the interface name to kernel through IOCTL as string instead of character pointer. Signed-off-by: Rohit Raj --- drivers/bus/dpaa/base/qbman/process.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bus/

[PATCH 10/15] net/dpaa: fix Jumbo packet Rx in case of VSP

2022-09-27 Thread Gagandeep Singh
From: Rohit Raj For packet length of size more than 2K bytes, segmented packets were being received in DPDK even if mbuf size was greater than packet length. This is due to the configuration in VSP. This patch fixes the issue by configurating the VSP according to the mbuf size configured during

[PATCH 09/15] bus/fslmc: add timeout in MC send command API

2022-09-27 Thread Gagandeep Singh
From: Rohit Raj Adding one second timeout in MC send command API to ensure it doesn't gets stuck in case of failure. Signed-off-by: Rohit Raj --- drivers/bus/fslmc/mc/mc_sys.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/bus/fslmc/mc/mc_sys.c

[PATCH 08/15] net/dpaa2: fix buffer free on transmit SG packets

2022-09-27 Thread Gagandeep Singh
When using SG list to TX with external and direct buffers, HW free the direct buffers and driver free the external buffers. Software scans the complete SG mbuf list to find the external buffers to free, but this is wrong as hardware can free the direct buffers if any present in the list and same c

[PATCH 07/15] net/dpaa2: use internal mempool for SG table

2022-09-27 Thread Gagandeep Singh
Creating and using driver's mempool for allocating the SG table memory required for FD creation instead of relying on user mempool. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa2_ethdev.c | 14 ++ drivers/net/dpaa2/dpaa2_ethdev.h | 9 + drivers/net/dpaa2/dpaa2_rx

[PATCH 06/15] net/dpaa: support ESP packet type in packet parsing

2022-09-27 Thread Gagandeep Singh
Add support of ESP packet type in packet receive path. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa/dpaa_rxtx.c | 10 ++ drivers/net/dpaa/dpaa_rxtx.h | 6 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 20b7

[PATCH 05/15] net/dpaa2: check free enqueue descriptors before Tx

2022-09-27 Thread Gagandeep Singh
From: brick Check if there exists free enqueue descriptors before enqueuing Tx packet. Also try to free enqueue descriptors in case they are not free. Fixes: ed1cdbed6a15 ("net/dpaa2: support multiple Tx queues enqueue for ordered") Cc: sta...@dpdk.org Signed-off-by: brick Signed-off-by: Rohi

[PATCH 04/15] net/dpaa2: fix dpdmux configuration for error behaviour

2022-09-27 Thread Gagandeep Singh
From: Vanshika Shukla Driver is giving the wrong interface ID while setting the error behaviour. This patch fixes the issue by passing the correct MAC interface index value to the API. Fixes: 3d43972b1b42 ("net/dpaa2: do not drop parse error packets by dpdmux") Cc: sta...@dpdk.org Signed-off-b

[PATCH 03/15] net/enetfec: fix buffer leak issue

2022-09-27 Thread Gagandeep Singh
From: Apeksha Gupta Driver has no proper handling to free unused allocated mbufs in case of error or when the rx processing complete because of which mempool can be empty after some time. This patch fixes this issue by moving the buffer allocation code to the right place in driver. Fixes: ecae7

[PATCH 02/15] net/enetfec: fix restart issue

2022-09-27 Thread Gagandeep Singh
From: Apeksha Gupta Queue reset is missing in restart because of which IO cannot work on device restart. This patch fixes the issue by resetting the queues on device restart. Fixes: b84fdd39638b ("net/enetfec: support UIO") Cc: sta...@dpdk.org Signed-off-by: Apeksha Gupta Signed-off-by: Sachi

[PATCH 01/15] bus/dpaa: use non-block mode for FD open

2022-09-27 Thread Gagandeep Singh
From: Vanshika Shukla This patch sets qman portal file descriptors used for interrupts IO processing in non-blocking mode to avoid any unwanted blocks while IO operations over the FD. Signed-off-by: Vanshika Shukla --- drivers/bus/dpaa/base/qbman/qman_driver.c | 6 +++--- drivers/net/dpaa/dpaa

[PATCH 00/15] DPAA and DPAA2 driver changes

2022-09-27 Thread Gagandeep Singh
This series have list of patch for bug fixes and some enhancements to DPAA1 and DPAA2 net drivers. Apeksha Gupta (2): net/enetfec: fix restart issue net/enetfec: fix buffer leak issue Gagandeep Singh (7): net/dpaa: support ESP packet type in packet parsing net/dpaa2: use internal mempool

RE: [PATCH v3] net/virtio: fix crash when dev is configured twice

2022-09-27 Thread Xia, Chenbo
> -Original Message- > From: Alexander Chernavin > Sent: Tuesday, September 27, 2022 6:15 PM > To: Xia, Chenbo ; maxime.coque...@redhat.com > Cc: dev@dpdk.org; Alexander Chernavin ; > sta...@dpdk.org > Subject: [PATCH v3] net/virtio: fix crash when dev is configured twice > > When first a

RE: [PATCH] vhost: remove deprecated helpers

2022-09-27 Thread Xia, Chenbo
> -Original Message- > From: David Marchand > Sent: Tuesday, September 27, 2022 7:36 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > ; Ray Kinsella > Subject: [PATCH] vhost: remove deprecated helpers > > Those helpers have been marked as deprecated for a long time and have >

Re: [PATCH] cryptodev: add trace points

2022-09-27 Thread Jerin Jacob
On Fri, Sep 16, 2022 at 11:05 PM Amit Prakash Shukla wrote: > > Add trace points for cryptodev functions. > > Signed-off-by: Amit Prakash Shukla > --- 1) Please include the result of API operation in trace so that once can know the API status 2) restrict trace additions to public API. i.e I thin

Re: [EXT] Re: [PATCH 1/6] ethdev: add trace points

2022-09-27 Thread Jerin Jacob
> @Jerin, I'd like to know what do you think about my question/thoughts below @Andrew Rybchenko see below. > > On 9/13/22 10:18, Andrew Rybchenko wrote: > > On 9/13/22 09:48, Ankur Dwivedi wrote: > >> Hi Andrew, > >> > >>> -Original Message- > >>> From: Andrew Rybchenko > >>> Sent: Monda

Re: [PATCH v6 1/2] eventdev/eth_tx: add queue start stop API

2022-09-27 Thread Jerin Jacob
On Tue, Sep 27, 2022 at 3:59 PM Jayatheerthan, Jay wrote: > > > -Original Message- > > From: Jerin Jacob > > Sent: Tuesday, September 27, 2022 3:45 PM > > To: Naga Harish K, S V > > Cc: Jayatheerthan, Jay ; dev@dpdk.org > > Subject: Re: [PATCH v6 1/2] eventdev/eth_tx: add queue start sto

[PATCH v2 16/17] net/mlx5: support device control for E-Switch default rule

2022-09-27 Thread Suanming Mou
From: Dariusz Sosnowski This patch introduces This patch adds support for fdb_def_rule_en device argument to HW Steering, which controls: - creation of default FDB jump flow rule, - ability of the user to create transfer flow rules in root table. A new PMD API to allow user application to enabl

[PATCH v2 17/17] net/mlx5: support device control of representor matching

2022-09-27 Thread Suanming Mou
From: Dariusz Sosnowski In some E-Switch use cases applications want to receive all traffic on a single port. Since currently flow API does not provide a way to match traffic forwarded to any port representor, this patch adds support for controlling representor matching on ingress flow rules. Re

[PATCH v2 12/17] net/mlx5: implement METER MARK indirect action for HWS

2022-09-27 Thread Suanming Mou
From: Alexander Kozyrev Add ability to create an indirect action handle for METER_MARK. It allows to share one Meter between several different actions. Signed-off-by: Alexander Kozyrev --- drivers/net/mlx5/mlx5.c| 4 +- drivers/net/mlx5/mlx5.h| 33 ++- drivers/net/ml

[PATCH v2 15/17] net/mlx5: support flow integrity in HWS group 0

2022-09-27 Thread Suanming Mou
From: Gregory Etelson - Reformat flow integrity item translation for HWS code. - Support flow integrity bits in HWS group 0. - Update integrity item translation to match positive semantics only. Positive flow semantics was described in patch [ae37c0f60c]. Signed-off-by: Gregory Etelson --- dri

[PATCH v2 14/17] net/mlx5: add async action push and pull support

2022-09-27 Thread Suanming Mou
The queue based rte_flow_async_action_* functions work same as queue based async flow functions. The operations can be pushed asynchronously, so is the pull. This commit adds the async action missing push and pull support. Signed-off-by: Suanming Mou --- drivers/net/mlx5/mlx5.h| 62

[PATCH v2 13/17] net/mlx5: add HWS AGE action support

2022-09-27 Thread Suanming Mou
From: Michael Baum Add support for AGE action for HW steering. This patch includes: 1. Add new structures to manage the aging. 2. Initialize all them in configure function. 3. Implement per second aging check using CNT background thread. 4. Enable AGE action in flow create/destroy operations

[PATCH v2 09/17] net/mlx5: support DR action template API

2022-09-27 Thread Suanming Mou
From: Dariusz Sosnowski This patch adapts mlx5 PMD to changes in mlx5dr API regarding action templates. It changes the following: 1. Actions template creation: - Flow actions types are translated to mlx5dr action types in order to create mlx5dr_action_template object. - An offset

[PATCH v2 08/17] net/mlx5: add HW steering counter action

2022-09-27 Thread Suanming Mou
From: Xiaoyu Min This commit adds HW steering counter action support. Pool mechanism is the basic data structure for the HW steering counter. The HW steering's counter pool is based on the rte_ring of zero-copy variation. There are two global rte_rings: 1. free_list: Store the counters ind

[PATCH v2 11/17] net/mlx5: add HW steering VLAN push, pop and VID modify flow actions

2022-09-27 Thread Suanming Mou
From: Gregory Etelson Add PMD implementation for HW steering VLAN push, pop and modify flow actions. HWS VLAN push flow action is triggered by a sequence of mandatory OF_PUSH_VLAN, OF_SET_VLAN_VID and optional OF_SET_VLAN_PCP flow actions commands. The commands must be arranged in the exact orde

[PATCH v2 10/17] net/mlx5: add HW steering connection tracking support

2022-09-27 Thread Suanming Mou
This commit adds the support of connection tracking to HW steering as SW steering did before. Different with SW steering implementation, take advantage of HW steering bulk action allocation support, in HW steering only one single CT pool is needed. An indexed pool is introduced to record allocate

[PATCH v2 07/17] net/mlx5: add HW steering meter action

2022-09-27 Thread Suanming Mou
From: Alexander Kozyrev This commit adds meter action for HWS steering. HW steering meter is based on ASO. The number of meters will be used by flows should be specified in advanced in the flow configure API. Signed-off-by: Alexander Kozyrev --- drivers/net/mlx5/mlx5.h| 61 ++- d

[PATCH v2 05/17] net/mlx5: add HW steering port action

2022-09-27 Thread Suanming Mou
From: Dariusz Sosnowski This patch implements creating and caching of port actions for use with HW Steering FDB flows. Actions are created on flow template API configuration and created only on the port designated as master. Attaching and detaching of ports in the same switching domain causes an

[PATCH v2 06/17] net/mlx5: add extended metadata mode for hardware steering

2022-09-27 Thread Suanming Mou
From: Bing Zhao The new mode 4 of devarg "dv_xmeta_en" is added for HWS only. In this mode, the Rx / Tx metadata with 32b width copy between FDB and NIC is supported. The mark is only supported in NIC and there is no copy supported. Signed-off-by: Bing Zhao --- drivers/net/mlx5/linux/mlx5_os.c

[PATCH v2 04/17] net/mlx5: add modify field hws support

2022-09-27 Thread Suanming Mou
This patch introduces support for modify_field rte_flow actions in HWS mode. Support includes: - Ingress and egress domains, - SET and ADD operations, - usage of arbitrary bit offsets and widths for packet and metadata fields. Support is implemented in two phases:

[PATCH v2 01/17] net/mlx5: fix invalid flow attributes

2022-09-27 Thread Suanming Mou
In the function flow_get_drv_type(), attr will be read in non-HWS mode. In case user call the HWS API in SWS mode, attr should be placed in HWS functions, or it will cause crash. Fixes: 572801ab860f ("ethdev: backport upstream rte_flow_async codes") Signed-off-by: Suanming Mou --- drivers/net/m

[PATCH v2 03/17] net/mlx5: add shared header reformat support

2022-09-27 Thread Suanming Mou
As the rte_flow_async API defines, the action mask with field value not be 0 means the action will be used as shared in all the flows in the table. The header reformat action with action mask field not be 0 will be created as constant shared action. For encapsulation header reformat action, there

[PATCH v2 00/17] net/mlx5: HW steering PMD update

2022-09-27 Thread Suanming Mou
The skeleton of mlx5 HW steering(HWS) has been updated into upstream for pretty a long time, but not updated anymore due to missing of the low-level steering layer code. Luckily, better late than never, the steering layer finnaly comes[1]. This series will add more features to the existing PMD cod

[PATCH v2 02/17] net/mlx5: fix IPv6 and TCP RSS hash fields

2022-09-27 Thread Suanming Mou
In the flow_dv_hashfields_set() function, while item_flags was 0, the code went directly to the first if and the else case would never have chance be checked. This caused the IPv6 and TCP hash fileds in the else case would never be set. This commit adds the dedicate HW steering hash field set func

[Bug 1085] [dpdk-22.11]ieee1588: ninja build failed with 'Dc_args=-DRTE_LIBRTE_IEEE1588'

2022-09-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1085 Bug ID: 1085 Summary: [dpdk-22.11]ieee1588: ninja build failed with 'Dc_args=-DRTE_LIBRTE_IEEE1588' Product: DPDK Version: unspecified Hardware: All OS: All

RE: [PATCH v2] net/mlx5: use just sufficient barrier for Arm platforms

2022-09-27 Thread Honnappa Nagarahalli
> > Hi, Honnappa > > We discussed the barrier here: > http://patches.dpdk.org/project/dpdk/patch/20210606164948.35997-1- > honnappa.nagaraha...@arm.com/ > > (BTW, it is good practice to keep the reference to previous patch versions > below Commit Message of the next ones). Apologies, I did not

RE: [PATCH v2] net/mlx5: use just sufficient barrier for Arm platforms

2022-09-27 Thread Honnappa Nagarahalli
> > Hi, Honnappa Hi Slava, thanks for the feedback. > > We discussed the barrier here: > http://patches.dpdk.org/project/dpdk/patch/20210606164948.35997-1- > honnappa.nagaraha...@arm.com/ Yes, I have changed the patch according to the discussion. i.e. barrier is needed, but different (inner s

RE: [EXT] [PATCH v7 6/7] bbdev: add queue related warning and status information

2022-09-27 Thread Chautru, Nicolas
Hi Ferruh, Thanks for your comment. To be totally honest I don't yet see how your suggestion would be better, but I quite possibly miss something. I did not reply in line with your comments so that to try to be clearer and avoid spreading the argument to much. Ray and Bruce feel free to chime

RE: [PATCH v4 2/6] crypto/scheduler: use unified session

2022-09-27 Thread Akhil Goyal
> Have the sym sessions changes been tested with the dpdk-test-crypto-perf tool > ? I have not tested for scheduler pmd. Can you root cause the issue and send a fix? Fan may have tested it. > > root@silpixa00401033:build# ./app/dpdk-test-crypto-perf -l 3,4 --socket-mem > 4096,0 -a :33:01.

RE: [PATCH 0/1] Add security perf application

2022-09-27 Thread Akhil Goyal
Hi Anoob, > Hi Akhil, > > Do you have any further comments? > > > > Subject: [PATCH 0/1] Add security perf application > > > > > > > > Add performance application to test security session create & > > > > destroy rates supported by the security enabled cryptodev PMD. The > > > > application would

RE: [PATCH] security: remove get_userdata function pointer

2022-09-27 Thread Akhil Goyal
> Subject: [PATCH] security: remove get_userdata function pointer > > Removes get_userdata function pointer as it is being unused > and make fast accessing method that uses dynamic field to get > userdata as default for optimizing security path. > > Signed-off-by: Srujana Challa Applied to dpdk-

RE: [EXT] Re: [PATCH v5 1/3] ethdev: add IPsec SA expiry event subtypes

2022-09-27 Thread Akhil Goyal
> 24/09/2022 15:57, Akhil Goyal: > > From: Vamsi Attunuru > > > > Patch adds new event subtypes for notifying expiry > > events upon reaching IPsec SA soft packet expiry and > > hard packet/byte expiry limits. > > > > Signed-off-by: Vamsi Attunuru > > Signed-off-by: Akhil Goyal > > --- > > --- a

Re: [PATCH 12/13] ethdev: remove deprecated flow item PHY PORT

2022-09-27 Thread Ajit Khaparde
On Tue, Sep 27, 2022 at 12:08 AM Thomas Monjalon wrote: > > 22/08/2022 07:33, Ori Kam: > > > Such deprecation was commenced in DPDK 21.11. > > > Since then, no parties have objected. Remove. > > > > > > The patch breaks ABI. > > > > > > Signed-off-by: Ivan Malov > > > Reviewed-by: Andrew Rybchenk

[dpdk-dev] [PATCH 2/2] net/bnxt: fix freeing of representor info memory

2022-09-27 Thread Kalesh A P
From: Kalesh AP Driver allocates "bp->rep_info" inside bnxt_init_rep_info() which is invoked from bnxt_rep_port_probe(). But the memory is freed inside bnxt_uninit_resources(), which is wrong. As a result, after error recovery bp->rep_info will be NULL. The memory should have freed inside bnxt_dr

[dpdk-dev] [PATCH 1/2] net/bnxt: remove unnecessary check

2022-09-27 Thread Kalesh A P
From: Kalesh AP We are not invoking rte_eth_switch_domain_free currently owing to an unnecessary check. This patch fixes that. Fixes: e2895305a5b5 ("net/bnxt: fix resource cleanup") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Ajit Khaparde Reviewed-by: Somnath Kotur --- driver

[PATCH] event/cnxk: fix missing xstats ops registration

2022-09-27 Thread pbhagavatula
From: Pavan Nikhilesh Fix missing xstats ops registration when initializing event device. Fixes: b5a52c9d97e2 ("event/cnxk: add event port and queue xstats") Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn10k_eventdev.c | 4 drivers/event/cnxk/cn9k_eventdev.c | 4 2 files

Re: [PATCH v2 1/1] ethdev: support congestion management

2022-09-27 Thread Bruce Richardson
On Tue, Sep 27, 2022 at 04:36:18PM +0200, Thomas Monjalon wrote: > 19/09/2022 14:15, sk...@marvell.com: > > From: Jerin Jacob > > > > NIC HW controllers often come with congestion management support on > > various HW objects such as Rx queue depth or mempool queue depth. > > > > Also, it can sup

[PATCH v4] event/dlb2: fix max cq_depth/enq_depth cli override

2022-09-27 Thread Abdullah Sevincer
This patch addresses an issue of enqueuing more than max_enq_depth and not able to dequeuing events equal to max_cq_depth in a single call of rte_event_enqueue_burst and rte_event_dequeue_burst. Apply fix for restricting enqueue of events to max_enq_depth so that in a single rte_event_enqueue_burs

Re: [PATCH v2 1/1] ethdev: support congestion management

2022-09-27 Thread Thomas Monjalon
19/09/2022 14:15, sk...@marvell.com: > From: Jerin Jacob > > NIC HW controllers often come with congestion management support on > various HW objects such as Rx queue depth or mempool queue depth. > > Also, it can support various modes of operation such as RED > (Random early discard), WRED etc

Re: [PATCH v4 13/14] baseband/acc: add PF configure companion function

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:20, Chautru, Nicolas wrote: Hi Maxime, Thanks will send an updated serie now. Much appreciated. -Original Message- From: Maxime Coquelin Sent: Friday, September 23, 2022 2:26 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net Cc: t...@redhat.com; m...@ashroe.e

RE: [PATCH] cryptodev: add trace points

2022-09-27 Thread Amit Prakash Shukla
Hi Akhil, Thanks for your feedback. I will do the suggested changes in next version of the patch. > -Original Message- > From: Akhil Goyal > Sent: Tuesday, September 27, 2022 1:37 PM > To: Amit Prakash Shukla ; Fan Zhang > ; Ray Kinsella > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ;

Re: [PATCH v6 11/14] baseband/acc: support interrupt

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:50, Nicolas Chautru wrote: From: Nic Chautru Adding support for capability and functions for MSI/MSI-X interrupt and underlying information ring. Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 303 +- 1 file changed, 301 inse

Re: [PATCH v6 10/14] baseband/acc: add support for FFT operations

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:50, Nicolas Chautru wrote: From: Nic Chautru Add functions and capability for FFT processing Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 242 +- 1 file changed, 240 insertions(+), 2 deletions(-) diff --git a/drivers/baseb

Re: [PATCH v6 09/14] baseband/acc: add LTE processing functions

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:50, Nicolas Chautru wrote: From: Nic Chautru Add functions and capability for 4G FEC Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 854 +- 1 file changed, 850 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc/

Re: [PATCH v2 1/3] eventdev: add element offset to event vector

2022-09-27 Thread Jerin Jacob
On Thu, Sep 22, 2022 at 11:10 AM Mattias Rönnblom wrote: > > On 2022-09-21 18:43, pbhagavat...@marvell.com wrote: > > From: Pavan Nikhilesh > > > > Add `rte_event_vector:elem_offset:12` bit field event vector > > structure the bits are taken from `rte_event_vector::rsvd:15`. > > The element offse

Re: [PATCH v4 09/14] baseband/acc: add LTE processing functions

2022-09-27 Thread Maxime Coquelin
On 9/24/22 00:21, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, September 23, 2022 2:00 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce ; hemant.agra...@nxp.com; david.marc

Re: [PATCH 1/3] eventdev: introduce event cryptodev vector type

2022-09-27 Thread Jerin Jacob
> > > > > > > > > Right now we are targeting crypto_cn10k PMD and ipsec-secgw event > > > > mode to support vectorization. > > > Is there a way to test this? When can be dataplane changes expected? > > > > > If the spec looks okay, support in s/w crypto adapter and other h/w PMDs can > > be added b

Re: [PATCH v6 08/14] baseband/acc: add LDPC processing functions

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:50, Nicolas Chautru wrote: From: Nic Chautru Adding LDPC encode and decode processing functions. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc_common.h | 84 ++ drivers/baseband/acc/rte_acc200_pmd.c | 1384 - 2 files changed, 1464 i

Re: [PATCH v4 08/14] baseband/acc: add LDPC processing functions

2022-09-27 Thread Maxime Coquelin
On 9/23/22 23:55, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, September 23, 2022 1:30 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce ; hemant.agra...@nxp.com; david.marc

Re: [PATCH v6 07/14] baseband/acc: add queue configuration for ACC200

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:50, Nicolas Chautru wrote: From: Nic Chautru Adding function to create and configure queues for the device. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_acc200_pmd.c | 391 +- 2 files change

RE: [PATCH 4/7] net/mlx5: allow hairpin Tx queue in RTE memory

2022-09-27 Thread Slava Ovsiienko
> -Original Message- > From: Dariusz Sosnowski > Sent: Monday, September 19, 2022 19:37 > To: Matan Azrad ; Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [PATCH 4/7] net/mlx5: allow hairpin Tx queue in RTE memory > > This patch adds a capability to place hairpin Tx queue in host memory >

RE: [PATCH 5/7] net/mlx5: allow hairpin Rx queue in locked memory

2022-09-27 Thread Slava Ovsiienko
> -Original Message- > From: Dariusz Sosnowski > Sent: Monday, September 19, 2022 19:37 > To: Matan Azrad ; Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [PATCH 5/7] net/mlx5: allow hairpin Rx queue in locked memory > > This patch adds a capability to place hairpin Rx queue in locked dev

RE: [PATCH 3/7] common/mlx5: add hairpin RQ buffer type capabilities

2022-09-27 Thread Slava Ovsiienko
> -Original Message- > From: Dariusz Sosnowski > Sent: Monday, September 19, 2022 19:37 > To: Matan Azrad ; Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [PATCH 3/7] common/mlx5: add hairpin RQ buffer type capabilities > > This patch adds new HCA capability related to hairpin RQs. This n

Re: [PATCH v6 06/14] baseband/acc: add info get function for ACC200

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:50, Nicolas Chautru wrote: From: Nic Chautru Add support for info_get to allow to query the device. Null capability exposed. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc200_pmd.h | 1 + drivers/baseband/acc/rte_acc200_pmd.c | 239 ++

RE: [PATCH 2/7] common/mlx5: add hairpin SQ buffer type capabilities

2022-09-27 Thread Slava Ovsiienko
> -Original Message- > From: Dariusz Sosnowski > Sent: Monday, September 19, 2022 19:37 > To: Matan Azrad ; Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [PATCH 2/7] common/mlx5: add hairpin SQ buffer type capabilities > > This patch extends HCA_CAP and SQ Context structs available in PR

Re: [PATCH v6 03/14] baseband/acc: rename directory from acc100 to acc

2022-09-27 Thread Maxime Coquelin
On 9/24/22 02:50, Nicolas Chautru wrote: From: Nic Chautru Using a common directory for the ACC PMDs Signed-off-by: Nic Chautru --- MAINTAINERS | 2 +- app/test-bbdev/meson.build| 4 ++-- app/test-bbdev/test_bbdev_pe

RE: [PATCH v5 0/7] ethdev: separate metering and marking from policing

2022-09-27 Thread Dumitrescu, Cristian
> -Original Message- > From: Alexander Kozyrev > Sent: Monday, September 26, 2022 7:48 PM > To: Dumitrescu, Cristian ; dev@dpdk.org > Cc: jerinjac...@gmail.com; Ori Kam ; NBU-Contact- > Thomas Monjalon (EXTERNAL) ; > ivan.ma...@oktetlabs.ru; andrew.rybche...@oktetlabs.ru; > ferruh.yi...

RE: [PATCH v5 0/7] ethdev: separate metering and marking from policing

2022-09-27 Thread Dumitrescu, Cristian
> -Original Message- > From: Alexander Kozyrev > Sent: Monday, September 26, 2022 3:58 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; > jerinjac...@gmail.com; or...@nvidia.com; tho...@monjalon.net; > ivan.ma...@oktetlabs.ru; andrew.rybche...@oktetlabs.ru; > ferruh.yi...@xilinx.com;

Re: [PATCH] vhost: remove deprecated helpers

2022-09-27 Thread Maxime Coquelin
On 9/27/22 13:36, David Marchand wrote: Those helpers have been marked as deprecated for a long time and have documented equivalent helpers. Signed-off-by: David Marchand --- doc/guides/rel_notes/release_22_11.rst | 3 ++ lib/vhost/rte_vhost.h | 55 --

[PATCH] malloc: remove unused function to set limit

2022-09-27 Thread David Marchand
This function was never implemented and has been deprecated for a long time. We can remove it. Signed-off-by: David Marchand --- doc/guides/rel_notes/release_22_11.rst | 2 ++ lib/eal/common/rte_malloc.c| 10 -- lib/eal/include/rte_malloc.h | 17 -

RE: [EXT] [dpdk-dev v2] app/test: random test vectors for Asymc RSA

2022-09-27 Thread Gowrishankar Muthukrishnan
> -Original Message- > From: Przemyslaw Zegan > Sent: Wednesday, August 17, 2022 7:45 PM > To: dev@dpdk.org > Cc: Akhil Goyal ; roy.fan.zh...@intel.com; > Przemyslaw Zegan > Subject: [EXT] [dpdk-dev v2] app/test: random test vectors for Asymc RSA > > External Email > > -

[PATCH] vhost: remove deprecated helpers

2022-09-27 Thread David Marchand
Those helpers have been marked as deprecated for a long time and have documented equivalent helpers. Signed-off-by: David Marchand --- doc/guides/rel_notes/release_22_11.rst | 3 ++ lib/vhost/rte_vhost.h | 55 -- lib/vhost/version.map |

Re: [PATCH v3] event/dlb2: fix max cq_depth/enq_depth cli override

2022-09-27 Thread Jerin Jacob
On Wed, Sep 21, 2022 at 9:59 PM Abdullah Sevincer wrote: > > This patch addresses an issue of enqueuing more than > max_enq_depth and not able to dequeuing events equal > to max_cq_depth in a single call of rte_event_enqueue_burst > and rte_event_dequeue_burst. > > Apply fix for restricting enqueu

RE: [PATCH v4 2/6] crypto/scheduler: use unified session

2022-09-27 Thread Ji, Kai
Have the sym sessions changes been tested with the dpdk-test-crypto-perf tool ? root@silpixa00401033:build# ./app/dpdk-test-crypto-perf -l 3,4 --socket-mem 4096,0 -a :33:01.0,qat_sym_cipher_crc_enable=1 --vdev crypto_aesni_mb1 --vdev "crypto_scheduler,worker=crypto_aesni_mb1,worker=:33

Re: [PATCH v2 3/3] event/cnxk: disable timer resolution estimation

2022-09-27 Thread Jerin Jacob
On Wed, Sep 21, 2022 at 11:48 AM wrote: > > From: Pavan Nikhilesh > > Disable timer resolution estimation, read TIM LF clock registers > to get the current running clock counter as estimating causes > time drift. > > Signed-off-by: Pavan Nikhilesh Applied to dpdk-next-net-eventdev/for-main. Th

Re: [PATCH v2] drivers: remove support to limit XAQ in cnxk event driver

2022-09-27 Thread Jerin Jacob
On Tue, Sep 20, 2022 at 12:33 PM Shijith Thotton wrote: > > Removed support to limit XAQ from devargs. If XAQ is limited, new add > works could run out of XAQ entries and disable the queue. > > Signed-off-by: Shijith Thotton Updated the git commit as follows and applied to dpdk-next-net-eventdev

Re: [PATCH V2 3/6] ethdev: fix push new event

2022-09-27 Thread Thomas Monjalon
15/09/2022 14:45, Huisong Li: > The 'state' in struct rte_eth_dev may be used to update some information > when app receive these events. For example, when app receives a new event, > app may get the socket id of this port by calling rte_eth_dev_socket_id to > setup the attached port. The 'state' i

RE: [PATCH v4] vhost: support CPU copy for small packets

2022-09-27 Thread Morten Brørup
> From: Ma, WenwuX [mailto:wenwux...@intel.com] > Sent: Tuesday, 27 September 2022 09.32 > > > From: Morten Brørup > > Sent: 2022年9月7日 22:47 > > > > > From: Wenwu Ma [mailto:wenwux...@intel.com] > > > Sent: Monday, 29 August 2022 02.57 > > > > > > Offloading small packets to DMA degrades throughp

Re: [PATCH] ethdev: fix push new event

2022-09-27 Thread Thomas Monjalon
11/06/2022 10:59, lihuisong (C): > 在 2022/6/7 14:44, Thomas Monjalon 写道: > > 07/06/2022 03:23, lihuisong (C): > >> 在 2022/6/3 15:42, Thomas Monjalon 写道: > >>> 02/06/2022 13:24, lihuisong (C): > 在 2022/5/30 19:10, Ferruh Yigit 写道: > > On 5/30/2022 9:28 AM, Thomas Monjalon wrote: > >> [C

RE: [PATCH v6 1/2] eventdev/eth_tx: add queue start stop API

2022-09-27 Thread Jayatheerthan, Jay
> -Original Message- > From: Jerin Jacob > Sent: Tuesday, September 27, 2022 3:45 PM > To: Naga Harish K, S V > Cc: Jayatheerthan, Jay ; dev@dpdk.org > Subject: Re: [PATCH v6 1/2] eventdev/eth_tx: add queue start stop API > > On Mon, Sep 26, 2022 at 7:34 AM Naga Harish K S V > wrote: >

Re: [PATCH v6 1/2] eventdev/eth_tx: add queue start stop API

2022-09-27 Thread Jerin Jacob
On Mon, Sep 26, 2022 at 7:34 AM Naga Harish K S V wrote: > > Add support to start or stop a particular queue > that is associated with the adapter. > > Start function enables the Tx adapter to start enqueueing > packets to the Tx queue. > > Stop function stops the Tx adapter from enqueueing any >

[PATCH v3] net/virtio: fix crash when dev is configured twice

2022-09-27 Thread Alexander Chernavin
When first attempt to configure a device with RX interrupt enabled fails for some reason (e.g. because "Multiple intr vector not supported"), second attempt to configure the device with RX interrupt disabled and feature set unchanged will succeed but will leave virtio queues not allocated. Accessin

Re: [PATCH v5 06/10] dts: add ssh connection module

2022-09-27 Thread Stanislaw Kardach
On Mon, Sep 26, 2022 at 02:17:09PM +, Juraj Linkeš wrote: > The module uses the pexpect python library and implements connection to > a node and two ways to interact with the node: > 1. Send a string with specified prompt which will be matched after >the string has been sent to the node. >

[PATCH v5 3/3] test/power: add unit tests for uncore API

2022-09-27 Thread Tadhg Kearney
Add basic unit tests covering all nine uncore API's. Signed-off-by: Tadhg Kearney --- app/test/meson.build | 2 + app/test/test_power_uncore.c | 301 +++ 2 files changed, 303 insertions(+) create mode 100644 app/test/test_power_uncore.c diff --git a/ap

[PATCH v5 2/3] l3fwd-power: add option to call uncore API

2022-09-27 Thread Tadhg Kearney
Add option for setting uncore frequency min/max/index, through uncore API. This will be set for each package and die on the SKU. On exit, uncore min and max frequency will be reverted back to previous frequencies. Signed-off-by: Tadhg Kearney --- .../sample_app_ug/l3_forward_power_man.rst|

[PATCH v5 1/3] power: add uncore frequency control API to the power library

2022-09-27 Thread Tadhg Kearney
Add API to allow uncore frequency adjustment. This is done through manipulating related uncore frequency control sysfs entries to adjust the minimum and maximum uncore frequency values. Nine API's are being added that are all public and experimental. Signed-off-by: Tadhg Kearney --- doc/guides/p

[PATCH v5 0/3] add uncore api to be called through l3fwd-power

2022-09-27 Thread Tadhg Kearney
This is targeting 22.11 and aims to add an API to DPDK power library to allow uncore frequency adjustment. This will be called through the l3fwd-power app and gives the ability to set the minimum and maximum uncore frequency to both min, max or specific frequency index. Signed-off-by: tadhgkearn

Re: [EXT] [PATCH v2 2/5] crypto/uadk: introduce uadk crypto driver

2022-09-27 Thread Zhangfei Gao
On 2022/9/26 下午4:36, Akhil Goyal wrote: Introduce a new crypto PMD for hardware accelerators based on UADK [1]. UADK is a framework for user applications to access hardware accelerators. UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share the same page table between IOMMU a

[PATCH v3] net/iavf: fix TSO offload for tunnel case

2022-09-27 Thread Zhichao Zeng
This patch is to fix the tunnel TSO not enabling issue, simplify the logic of calculating 'Tx Buffer Size' of data descriptor with IPSec, and fix handling that the mbuf size exceeds the TX descriptor hardware limit(1B-16KB) which causes malicious behavior to the NIC. Fixes: 1e728b01120c ("net/iavf

  1   2   >