[PATCH 4/4] net/dpaa: fix ethernet event queue de-attach

2022-04-21 Thread Gagandeep Singh
Calling the correct qman queue free APIs to de-attach the queue. Fixes: 5e7455931442 ("net/dpaa: support Rx queue configurations with eventdev") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/net/dpaa/dpaa_ethdev.c | 14 -- 1 file changed, 4 insertions(+), 10 deletio

[PATCH 3/4] net/dpaa2: support ESP in packet type parsing

2022-04-21 Thread Gagandeep Singh
This patch supports ESP packet type in packet parsing. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa2_rxtx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index d536352895..5ebce2b4f4 100644 --- a/drivers/net

[PATCH 2/4] net/dpaa2: support mempool debug

2022-04-21 Thread Gagandeep Singh
This patch supports mempool debug to detect buffer overflows. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa2_rxtx.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index b8844fbdf1

[PATCH 1/4] net/dpaa2: update mc to 10.32

2022-04-21 Thread Gagandeep Singh
From: Rohit Raj Updating the management complex to version 10.32 Signed-off-by: Rohit Raj Signed-off-by: Gagandeep Singh --- drivers/bus/fslmc/mc/fsl_dpmng.h| 4 ++-- drivers/net/dpaa2/mc/dpni.c | 6 -- drivers/net/dpaa2/mc/fsl_dpni.h | 1 + drivers/net/dpaa2/mc/fsl_dpn

RE: [PATCH v1 13/19] rawdev: remove unneeded header includes

2022-04-21 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Sean Morrissey > Sent: Friday, April 22, 2022 12:39 AM > To: Nipun Gupta ; Hemant Agrawal > > Cc: dev@dpdk.org; Sean Morrissey > Subject: [PATCH v1 13/19] rawdev: remove unneeded header includes > Importance: High > > These header

[dpdk-dev][PATCH 3/3] net/cnxk: adding cnxk support to configure custom sa index

2022-04-21 Thread kirankumark
From: Kiran Kumar K Adding cnxk device driver support to configure custom sa index. Custom sa index can be configured as part of the session create as SPI, and later original SPI can be updated using session update. Signed-off-by: Kiran Kumar K --- doc/api/doxy-api-index.md | 3 +-

[dpdk-dev][PATCH 2/3] net/cnxk: add devargs support to parse custom SA action

2022-04-21 Thread kirankumark
From: Kiran Kumar K Adding devargs support to parse custom sa action. Devargs can be specified in the following way. -a 0002:02:00.0,custom_sa_act=1 Signed-off-by: Kiran Kumar K --- doc/guides/nics/cnxk.rst | 20 drivers/net/cnxk/cnxk_ethdev_devargs.c | 10 ++

[dpdk-dev][PATCH 1/3] common/cnxk: add ROC support to parse cnxk custom sa action

2022-04-21 Thread kirankumark
From: Kiran Kumar K Adding ROC Flow changes to parse custom SA action for cnxk device. When custom sa action is enabled, VTAG actions are not allowed. And custom SA index will be calculated based on SA_HI and SA_LO values. This allows the potential for a MCAM entry to match many SAs, rather than

[PATCH 14/14] common/dpaax: fix short MAC-I IV calculation for zuc

2022-04-21 Thread Gagandeep Singh
Fixing the IV caluclation for zuc based short MAC-I as per the HW security engine guidelines. Fixes: 73a24060cd70 ("crypto/dpaa2_sec: add sample PDCP descriptor APIs") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 2 +- 1 file changed, 1 inse

[PATCH 13/14] crypto/dpaa_sec: move cdb prepration to session create

2022-04-21 Thread Gagandeep Singh
Driver is preparing the shared descriptor of session while attaching the session to a queue pair. It should be prepared on session create. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/d

[PATCH 12/14] crypto/dpaa_sec: remove unused thread specific variables

2022-04-21 Thread Gagandeep Singh
Some thread specific variables are not being used in the driver, So removing them. Signed-off-by: Gagandeep Singh --- drivers/bus/dpaa/rte_dpaa_bus.h| 8 +--- drivers/crypto/dpaa_sec/dpaa_sec.c | 4 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/bus/dpaa/rte_

[PATCH 11/14] crypto/dpaa2_sec: fix operation status for simple fd

2022-04-21 Thread Gagandeep Singh
Driver is not filling the operation status on dequeue in case the FD is simple. So setting the status as per the results. Fixes: 0a23d4b6f4c2 ("crypto/dpaa2_sec: support protocol offload IPsec") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c

[PATCH 10/14] crypto/dpaa2_sec: fix crypto op pointer for atomic and ordered queues

2022-04-21 Thread Gagandeep Singh
Driver is filling the crypto_op variable with an invalid value which can results into segmentation fault. This patch assigning the correct crypto_op and event buffer pointers by extracting from FD. Fixes: a77db24643b7 ("crypto/dpaa2_sec: support atomic queues") Fixes: 4562de326d30 ("crypto/dpaa2_

[PATCH 09/14] crypto/dpaa2_sec: per queue pair fle pool

2022-04-21 Thread Gagandeep Singh
Driver is creating a fle pool with a fixed number of buffers for all queue pairs of a DPSECI object. These fle buffers are equivalent to the number of descriptors. In this patch, creating the fle pool for each queue pair so that user can control the number of descriptors of a queue pair using API

[PATCH 08/14] crypto/dpaa_sec : fix secondary process probe

2022-04-21 Thread Gagandeep Singh
From: Vanshika Shukla DPAA hardware supports non-i/o performing secondary applications only. So we do not have to probe crypto devices in secondary applications. Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform") Cc: sta...@dpdk.org Signed-off-by: Vanshika Shukla

[PATCH 07/14] dpaax/caamflib: remove obsolete code

2022-04-21 Thread Gagandeep Singh
Remove sec era 1 to 7 IPsec and caam operations code as none of the NXP platform use it. Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/ipsec.h| 34 +++- .../dpaax/caamflib/rta/fifo_load_store_cmd.h | 15 --- .../common/dpaax/caamflib/rta/header_cmd.h

[PATCH 06/14] crypto/dpaa_sec: replace use of old build macros

2022-04-21 Thread Gagandeep Singh
Use the newer security macros defined by meson. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c b/drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c index 29f4e6

[PATCH 05/14] crypto/dpaa_sec: physically enable QI

2022-04-21 Thread Gagandeep Singh
To perform crypto operations on DPAA platform, QI interface of HW must be enabled. Earlier DPAA crypto driver was dependent on kernel for QI enable. Now with this patch there is no such dependency on kernel. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.c | 30 +

[PATCH 04/14] crypto/dpaa2_sec: fix length for chain fd in raw sec driver

2022-04-21 Thread Gagandeep Singh
DPAA2 sec raw driver is calculating the wrong lengths while creating the FD for chain. This patch fixes lengths for chain FD. Fixes: aa6ec1fd8443 ("crypto/dpaa2_sec: support authenc with raw buffer API") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_r

[PATCH 03/14] crypto/dpaa_sec: fix length for chain fd in raw sec driver

2022-04-21 Thread Gagandeep Singh
DPAA sec raw driver is calculating the wrong lengths while creating the FD for chain. This patch fixes lengths for chain FD. Fixes: 78156d38e112 ("crypto/dpaa_sec: support authonly and chain with raw API") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec_r

[PATCH 02/14] crypto/dpaa2_sec: fix buffer pool ID check

2022-04-21 Thread Gagandeep Singh
Simple fd rely on bpid of the buffers whereas other FD types can support buffers without bpid of pool. So moving the bpid check to simple fd to mbuf conversion function. Fixes: 8d1f3a5d751b ("crypto/dpaa2_sec: support crypto operation") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- dr

[PATCH 01/14] crypto/dpaa2_sec: fix fle buffer leak

2022-04-21 Thread Gagandeep Singh
Driver allocates a fle buffer for each packet before enqueue and free the buffer on dequeue. But in case if there are enqueue failures, then code should free the fle buffers. Fixes: b15cbf5b2d88 ("crypto/dpaa2_sec: fix fle buffer leak") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- dri

RE: [PATCH v6 2/2] net/ixgbe: Fix SFP detection and linking on hotplug

2022-04-21 Thread Wang, Haiyue
> -Original Message- > From: Jeff Daly > Sent: Friday, April 22, 2022 01:31 > To: Wang, Haiyue ; dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming > Subject: RE: [PATCH v6 2/2] net/ixgbe: Fix SFP detection and linking on > hotplug > > > > > -Original Message- > > From: Wang, Ha

[PATCH v6 3/3] net/iavf: support quanta size configuration

2022-04-21 Thread Wenjun Wu
This patch adds quanta size configuration support. Quanta size should between 256 and 4096, and be a product of 64. Signed-off-by: Wenjun Wu --- doc/guides/nics/intel_vf.rst | 4 +++ doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/iavf/iavf.h| 3 ++ drivers

[PATCH v6 2/3] net/iavf: support queue rate limit configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue rate limit configuration support. Only max bandwidth is supported. Signed-off-by: Ting Xu Signed-off-by: Wenjun Wu --- doc/guides/rel_notes/release_22_07.rst | 3 + drivers/net/iavf/iavf.h| 13 ++ drivers/net/iavf/iavf_tm.c | 190

[PATCH v6 0/3] Enable queue rate limit and quanta size configuration

2022-04-21 Thread Wenjun Wu
This patch set adds queue rate limit and quanta size configuration. Quanta size can be changed by driver devarg quanta_size=xxx. Quanta size should be set to the value between 256 and 4096 and be the product of 64. v2: Rework virtchnl. v3: Add release note. v4: Quanta size configuration will block

[PATCH v6 1/3] common/iavf: support queue rate limit and quanta size configuration

2022-04-21 Thread Wenjun Wu
This patch adds new virtchnl opcodes and structures for rate limit and quanta size configuration, which include: 1. VIRTCHNL_OP_CONFIG_QUEUE_BW, to configure max bandwidth for each VF per queue. 2. VIRTCHNL_OP_CONFIG_QUANTA, to configure quanta size per queue. Signed-off-by: Ting Xu Signed-off-by

RE: [PATCH v1 3/3] maintainers: update for Intel igc

2022-04-21 Thread Guo, Junfeng
> -Original Message- > From: Su, Simei > Sent: Thursday, April 21, 2022 17:31 > To: Wang, Haiyue ; dev@dpdk.org > Cc: Zhang, Qi Z ; Yang, Qiming > ; Guo, Junfeng ; Wu, > Wenjun1 ; Thomas Monjalon > > Subject: RE: [PATCH v1 3/3] maintainers: update for Intel igc > > > > -Original

[PATCH v7 9/9] net/ice: add warning log for unsupported configuration

2022-04-21 Thread Wenjun Wu
Priority configuration is enabled in level 3 and level 4. Weight configuration is enabled in level 4. This patch adds warning log for unsupported priority and weight configuration. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/

[PATCH v7 8/9] net/ice: support queue group priority configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue group priority configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 4d7bb9102c..17f369994b 100644 --- a/drivers/net/ice/ice_tm.c +++

[PATCH v7 7/9] net/ice: support queue weight configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue weight configuration support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 91e420d653..4d7bb9102c 100644 --- a/drivers/net/i

[PATCH v7 6/9] net/ice: support queue priority configuration

2022-04-21 Thread Wenjun Wu
This patch adds queue priority configuration support. The highest priority is 0, and the lowest priority is 7. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_tm.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_

[PATCH v7 5/9] net/ice: support queue group bandwidth limit

2022-04-21 Thread Wenjun Wu
To set up the exact queue group, we need to reconfigure topology by delete and then recreate queue nodes. This patch adds queue group configuration support and queue group bandwidth limit support. Signed-off-by: Wenjun Wu --- drivers/net/ice/ice_ethdev.h | 9 +- drivers/net/ice/ice_tm.c |

[PATCH v7 4/9] net/ice: support queue bandwidth limit

2022-04-21 Thread Wenjun Wu
From: Ting Xu Enable basic TM API for PF only. Support for adding profiles and queue nodes. Only max bandwidth is supported in profiles. Profiles can be assigned to target queues. Only TC0 is valid. Signed-off-by: Wenjun Wu Signed-off-by: Ting Xu --- doc/guides/rel_notes/release_22_07.rst |

[PATCH v7 3/9] net/ice/base: support queue BW allocation configuration

2022-04-21 Thread Wenjun Wu
This patch adds BW allocation support of queue scheduling node to support WFQ in queue level. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 64 drivers/net/ice/base/ice_sched.h | 3 ++ 2 files changed, 67 insertions(+) diff --git a/drivers/net

[PATCH v7 2/9] net/ice/base: support priority configuration of the exact node

2022-04-21 Thread Wenjun Wu
This patch adds priority configuration support of the exact node in the scheduler tree. This function does not need additional calls to the scheduler lock. Signed-off-by: Wenjun Wu --- drivers/net/ice/base/ice_sched.c | 21 + drivers/net/ice/base/ice_sched.h | 3 +++ 2 files

[PATCH v7 1/9] net/ice/base: fix dead lock issue when getting node from ID type

2022-04-21 Thread Wenjun Wu
The function ice_sched_get_node_by_id_type needs to be called with the scheduler lock held. However, the function ice_sched_get_node also requests the scheduler lock. It will cause the dead lock issue. This patch replaces function ice_sched_get_node with function ice_sched_find_node_by_teid to sol

[PATCH v7 0/9] Enable ETS-based TX QoS on PF

2022-04-21 Thread Wenjun Wu
This patch set enables ETS-based TX QoS on PF. It is supported to configure bandwidth and priority in both queue and queue group level, and weight only in queue level. v2: fix code style issue. v3: fix uninitialization issue. v4: fix logical issue. v5: fix CI testing issue. Add explicit cast. v6:

[PATCH] net/mlx5: fix RSS hash types adjustment

2022-04-21 Thread Dariusz Sosnowski
When an indirect action was created with an RSS action configured to hash on both source and destination L3 addresses (or L4 ports), it caused shared hrxq to be configured to hash only on destination address (or port). This patch fixes this behavior by refining RSS types specified in configuration

Re: [PATCH v1 16/19] stack: remove unneeded header includes

2022-04-21 Thread Stephen Hemminger
On Thu, 21 Apr 2022 19:08:56 + Sean Morrissey wrote: > These header includes have been flagged by the iwyu_tool > and removed. > > Signed-off-by: Sean Morrissey > --- > lib/stack/rte_stack.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stac

Re: [PATCH v1 17/19] table: remove unneeded header includes

2022-04-21 Thread Stephen Hemminger
On Thu, 21 Apr 2022 19:08:57 + Sean Morrissey wrote: > These header includes have been flagged by the iwyu_tool > and removed. > > Signed-off-by: Sean Morrissey > --- > lib/table/rte_swx_table_learner.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/lib/table/rte_swx_table_learne

Re: [PATCH v1 18/19] timer: remove unneeded header includes

2022-04-21 Thread Stephen Hemminger
On Thu, 21 Apr 2022 19:08:58 + Sean Morrissey wrote: > diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c > index c51a393e5c..f52ccc33ed 100644 > --- a/lib/timer/rte_timer.c > +++ b/lib/timer/rte_timer.c > @@ -5,12 +5,9 @@ > #include > #include > #include > -#include > #includ

Re: [RFC PATCH v3 3/8] vhost: fix async access

2022-04-21 Thread Maxime Coquelin
On 4/11/22 13:00, David Marchand wrote: vq->async accesses must be protected with vq->access_lock. Fixes: eb666d24085f ("vhost: fix async unregister deadlock") Fixes: 0c0935c5f794 ("vhost: allow to check in-flight packets for async vhost") Cc: sta...@dpdk.org Signed-off-by: David Marchand A

[PATCH v1 19/19] vhost: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/vhost/vhost.h | 3 --- lib/vhost/vhost_user.h | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h index a9edc271aa..711bb8cd83 100644 --- a/lib/

[PATCH v1 18/19] timer: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/timer/rte_timer.c | 3 --- lib/timer/rte_timer.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c index c51a393e5c..f52ccc33ed 100644 ---

[PATCH v1 17/19] table: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/table/rte_swx_table_learner.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c index 15576c2aa3..f9d4d7faac 100644

[PATCH v1 16/19] stack: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/stack/rte_stack.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h index 91fc570767..af8c3804f3 100644 --- a/lib/stack/rte_stack.h +++ b/lib

[PATCH v1 15/19] sched: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/sched/rte_pie.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c index d37b79e6dd..c84f75a18c 100644 --- a/lib/sched/rte_pie.c +++ b/lib/sched/r

[PATCH v1 14/19] regexdev: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/regexdev/rte_regexdev.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/regexdev/rte_regexdev.h b/lib/regexdev/rte_regexdev.h index 3bce8090f6..ce3dba5c10 100644 --- a/lib/regexdev/

[PATCH v1 13/19] rawdev: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/rawdev/rte_rawdev.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h index 14e8eb972f..66080eae9e 100644 --- a/lib/rawdev/rte_rawdev.h +

[PATCH v1 12/19] power: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/power/power_pstate_cpufreq.c | 1 - lib/power/rte_power_empty_poll.h | 3 --- lib/power/rte_power_pmd_mgmt.c | 2 -- lib/power/rte_power_pmd_mgmt.h | 5 - 4 files changed, 11 delet

[PATCH v1 11/19] net: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/net/rte_net.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h index 53a7f4d360..56611fc8f9 100644 --- a/lib/net/rte_net.h +++ b/lib/net/rte_net.h @

[PATCH v1 10/19] meter: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/meter/rte_meter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/meter/rte_meter.c b/lib/meter/rte_meter.c index da01429a8b..4549b97d36 100644 --- a/lib/meter/rte_meter.c +++ b/

[PATCH v1 09/19] mempool: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/mempool/rte_mempool.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h index 3ada37cb86..8d6554fbae 100644 --- a/lib/mempool/rte_mem

[PATCH v1 08/19] jobstats: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/jobstats/rte_jobstats.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/jobstats/rte_jobstats.h b/lib/jobstats/rte_jobstats.h index 023d9dd15c..45b460e603 100644 --- a/lib/jobstats/

[PATCH v1 07/19] ip_frag: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ip_frag/ip_frag_internal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ip_frag/ip_frag_internal.c b/lib/ip_frag/ip_frag_internal.c index b436a4c931..043b0ffba3 100644 --- a/lib/

[PATCH v1 06/19] hash: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/hash/rte_cuckoo_hash.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c index 490f94af4b..de7d941638 100644 --- a/lib/hash/rte_

[PATCH v1 05/19] gso: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/gso/gso_common.c | 1 - lib/gso/gso_common.h | 1 - lib/gso/gso_tcp4.h| 1 - lib/gso/gso_tunnel_tcp4.h | 1 - lib/gso/gso_tunnel_udp4.h | 1 - lib/gso/gso_udp4.h|

[PATCH v1 04/19] gpudev: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/gpudev/gpudev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c index 56033f4a5f..ee3ae80f82 100644 --- a/lib/gpudev/gpudev.c +++ b/lib/gpudev/

[PATCH v1 03/19] ethdev: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ethdev/rte_class_eth.c | 2 -- lib/ethdev/rte_ethdev.c| 9 - lib/ethdev/rte_ethdev.h| 1 - lib/ethdev/rte_flow.c | 2 -- lib/ethdev/rte_flow.h | 3 --- lib/ethdev

[PATCH v1 02/19] eal: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/eal/common/eal_common_config.c | 1 - lib/eal/common/eal_common_launch.c | 1 - lib/eal/common/eal_common_log.c| 1 - lib/eal/common/malloc_heap.h | 1 - lib/eal/linux/eal.c

[PATCH v1 00/19] remove IWYU flagged headers

2022-04-21 Thread Sean Morrissey
This patchset removes unused header includes flagged by the IWYU tool for the 22.07 release. Sean Morrissey (19): cmdline: remove unneeded header includes eal: remove unneeded header includes ethdev: remove unneeded header includes gpudev: remove unneeded header includes gso: remove unne

[PATCH v1 01/19] cmdline: remove unneeded header includes

2022-04-21 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/cmdline/cmdline_cirbuf.h| 1 - lib/cmdline/cmdline_parse_num.c | 3 --- lib/cmdline/cmdline_socket.c| 5 - lib/cmdline/cmdline_socket.h| 1 - 4 files changed, 10 deletions(

[dpdk-dev] [PATCH v4] ethdev: mtr: support protocol based input color selection

2022-04-21 Thread jerinj
From: Jerin Jacob Currently, meter object supports only DSCP based on input color table, The patch enhance that to support VLAN based input color table, color table based on inner field for the tunnel use case, and support for fallback color per meter if packet based on a different field. All of

[PATCH] app/test: fix buffer overflow in table unit tests

2022-04-21 Thread Vladimir Medvedkin
This patch fixes stack buffer overflow reported by ASAN. Bugzilla ID: 820 Fixes: 5205954791cb ("app/test: packet framework unit tests") Cc: cristian.dumitre...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vladimir Medvedkin --- app/test/test_table_tables.c | 10 +- 1 file changed, 5 ins

RE: [PATCH v6 2/2] net/ixgbe: Fix SFP detection and linking on hotplug

2022-04-21 Thread Jeff Daly
> -Original Message- > From: Wang, Haiyue > Sent: Tuesday, April 19, 2022 9:09 PM > To: Jeff Daly ; dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming > Subject: RE: [PATCH v6 2/2] net/ixgbe: Fix SFP detection and linking on > hotplug > > Caution: This is an external email. Please take

[PATCH v2] kni: check abi version between kmod and lib

2022-04-21 Thread youcai
KNI ioctl functions copy data from userspace lib, and this interface of kmod is not compatible indeed. If the user use incompatible rte_kni.ko bad things happen: sometimes various fields contain garbage value, sometimes it cause a kmod soft lockup. Some common distros ship their own rte_kni.ko, so

RE: [PATCH] maintainers: update email address

2022-04-21 Thread Mcnamara, John
> -Original Message- > From: Konstantin Ananyev > Sent: Thursday, April 21, 2022 4:21 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net > Subject: [PATCH] maintainers: update email address > > Use new email address. Acked-by: John McNamara

DPDK Release Status Meeting 2022-04-20

2022-04-21 Thread Mcnamara, John
Release status meeting minutes 2022-04-20 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Intel * Marvell * Nvidia * Red Hat * Xilinx/AMD Release Dates - The following are the proposed current dat

[PATCH 3/3] examples/pipeline: improve learner table timers

2022-04-21 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 2 ++ examples/pipeline/examples/learner.spec | 15 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index d52ad6b61e..0334616bd9 1006

[PATCH 2/3] pipeline: improve learner table timers

2022-04-21 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_ctl.h | 3 + lib/pipeline/rte_swx_pipeline.c | 164 --- lib/pipeline/rte_swx_pipeline.h | 7 +- lib/pipeline/rte_swx_pipeline_internal.h | 70 +- lib/pipeline/rte_swx_pipel

[PATCH 1/3] table: improve learner table timers

2022-04-21 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 3 +- lib/pipeline/rte_swx_pipeline_internal.h | 3 +- lib/table/rte_swx_table_learner.c| 109 --- lib/table/rte_swx_table_learner.h| 90 +-- lib/table/versio

Re: kni: check abi version between kmod and lib

2022-04-21 Thread Stephen Hemminger
On Thu, 21 Apr 2022 11:40:00 -0400 Ray Kinsella wrote: > Stephen Hemminger writes: > > > On Thu, 21 Apr 2022 12:38:26 +0800 > > Stephen Coleman wrote: > > > >> KNI ioctl functions copy data from userspace lib, and this interface > >> of kmod is not compatible indeed. If the user use incompat

Re: kni: check abi version between kmod and lib

2022-04-21 Thread Ray Kinsella
Stephen Hemminger writes: > On Thu, 21 Apr 2022 12:38:26 +0800 > Stephen Coleman wrote: > >> KNI ioctl functions copy data from userspace lib, and this interface >> of kmod is not compatible indeed. If the user use incompatible rte_kni.ko >> bad things happen: sometimes various fields contain

Re: [RFC PATCH v3 2/8] vhost: annotate virtqueue access lock

2022-04-21 Thread Maxime Coquelin
On 4/11/22 13:00, David Marchand wrote: This change simply annotates existing paths of the code leading to manipulations of the vq->access_lock. One small change is required: vhost_poll_enqueue_completed was getting a queue_id to get hold of the vq, while its callers already knew of the vq. F

[PATCH] maintainers: update email address

2022-04-21 Thread Konstantin Ananyev
Use new email address. Signed-off-by: Konstantin Ananyev --- MAINTAINERS | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7c4f541dba..2177839da3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -298,7 +298,7 @@ F: examples/*/*_altivec.

[PATCH 10/10] net/ark: repair meson dependency format

2022-04-21 Thread John Miller
Repair meson dependency format. Signed-off-by: John Miller --- drivers/net/ark/meson.build | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/net/ark/meson.build b/drivers/net/ark/meson.build index 8d87744c22..c48044b8ee 100644 --- a/drivers/net/ark/meson.bu

[PATCH 09/10] baseband/meson.build:

2022-04-21 Thread John Miller
Add ark baseband device to build system. Signed-off-by: John Miller --- drivers/baseband/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build index 686e98b2ed..084ff46155 100644 --- a/drivers/baseband/meson.build +++ b/driver

[PATCH 08/10] baseband/ark: add ark baseband user extensions

2022-04-21 Thread John Miller
Add ark baseband user extensions. Signed-off-by: John Miller --- drivers/baseband/ark/ark_bbdev.c| 146 +++-- drivers/baseband/ark/ark_bbdev_common.h | 8 ++ drivers/baseband/ark/ark_bbext.h| 163 3 files changed, 306 insertions(+), 11 d

[PATCH 07/10] maintainers: add baseband ark maintainers

2022-04-21 Thread John Miller
Add Atomic Rules ARK baseband device. Signed-off-by: John Miller --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4716c92e78..380dd204a6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1330,6 +1330,13 @@ F: drivers/baseband/la12xx/ F: doc

[PATCH 06/10] net/ark: add ark PMD log interface

2022-04-21 Thread John Miller
Added ark PMD log interface for use in arkville devices. Signed-off-by: John Miller --- drivers/net/ark/ark_ethdev.c | 93 --- drivers/net/ark/ark_ethdev_logs.c | 7 +++ drivers/net/ark/ark_ethdev_logs.h | 25 + drivers/net/ark/ark_ethdev_rx.c | 40 +++

[PATCH 05/10] baseband/ark: add ark baseband device

2022-04-21 Thread John Miller
Add new ark baseband device. Signed-off-by: John Miller --- drivers/baseband/ark/ark_bbdev.c| 1064 +++ drivers/baseband/ark/ark_bbdev_common.c | 125 +++ drivers/baseband/ark/ark_bbdev_common.h | 92 ++ drivers/baseband/ark/ark_bbdev_custom.c | 201 + drivers

[PATCH 04/10] common/meson.build:

2022-04-21 Thread John Miller
Add common ark to build system. Signed-off-by: John Miller --- drivers/common/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/common/meson.build b/drivers/common/meson.build index ea261dd70a..5514f4ba83 100644 --- a/drivers/common/meson.build +++ b/drivers/common/meson.bu

[PATCH 03/10] common/ark: move common files to common subdirectory

2022-04-21 Thread John Miller
Add common ark files to drivers/common directory in preparation to support Arkville baseband device. Signed-off-by: John Miller --- drivers/common/ark/ark_common.c | 7 ++ drivers/common/ark/ark_common.h | 48 ++ drivers/common/ark/meson.build | 13 drivers/common/ark/versi

[PATCH 02/10] common/ark: create common subdirectory for baseband support

2022-04-21 Thread John Miller
Create a common directory in drivers/common and move common ark files to prepare support for Arkville baseband device. Signed-off-by: John Miller --- MAINTAINERS | 1 + drivers/{net => common}/ark/ark_ddm.c | 2 +- drivers/{net => common}/ark/ark_ddm.h | 1

[PATCH 01/10] doc/guides/bbdevs: add ark baseband device documentation

2022-04-21 Thread John Miller
Add new ark baseband device documentation. This is the first patch in the series that introduces the Arkville baseband PMD. First we create a common/ark directory and move common files from net/ark to share with the new baseband/ark device. Next we create baseband/ark and introduce the Arkville

OVS DPDK DMA-Dev library/Design Discussion

2022-04-21 Thread Mcnamara, John
BEGIN:VCALENDAR METHOD:REQUEST PRODID:Microsoft Exchange Server 2010 VERSION:2.0 BEGIN:VTIMEZONE TZID:GMT Standard Time BEGIN:STANDARD DTSTART:16010101T02 TZOFFSETFROM:+0100 TZOFFSETTO:+ RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10 END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T01 T

Re: [PATCH v1 3/5] ethdev: add API for direct rearm mode

2022-04-21 Thread Stephen Hemminger
On Wed, 20 Apr 2022 16:16:48 +0800 Feifei Wang wrote: > Add API for enabling direct rearm mode and for mapping RX and TX > queues. Currently, the API supports 1:1(txq : rxq) mapping. > > Suggested-by: Honnappa Nagarahalli > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang > Reviewed-by:

Re: kni: check abi version between kmod and lib

2022-04-21 Thread Stephen Hemminger
On Thu, 21 Apr 2022 12:38:26 +0800 Stephen Coleman wrote: > KNI ioctl functions copy data from userspace lib, and this interface > of kmod is not compatible indeed. If the user use incompatible rte_kni.ko > bad things happen: sometimes various fields contain garbage value, > sometimes it cause a

[PATCH v3 7/7] test-eventdev: support asym ops for crypto adapter

2022-04-21 Thread Akhil Goyal
Test eventdev app is updated to add new option for asymmetric crypto ops for event crypto adapter. Signed-off-by: Akhil Goyal --- app/test-eventdev/evt_common.h | 2 + app/test-eventdev/evt_options.c | 17 ++ app/test-eventdev/evt_options.h | 4 + app/test-eventdev/test_perf

[PATCH v3 6/7] test/event: add asymmetric cases for crypto adapter

2022-04-21 Thread Akhil Goyal
Test app is updated to add cases for asymmetric crypto sessions for event crypto adapter. Signed-off-by: Akhil Goyal --- app/test/test_event_crypto_adapter.c | 491 ++- 1 file changed, 485 insertions(+), 6 deletions(-) diff --git a/app/test/test_event_crypto_adapter.c b

[PATCH v3 5/7] eventdev: use new API to get event crypto metadata

2022-04-21 Thread Akhil Goyal
For getting event crypto metadata from crypto_op, the new API rte_cryptodev_get_session_event_mdata is used instead of getting userdata inside PMD. Signed-off-by: Akhil Goyal --- lib/eventdev/rte_event_crypto_adapter.c | 55 ++--- 1 file changed, 12 insertions(+), 43 deletion

[PATCH v3 4/7] test/event: use new API to set event crypto metadata

2022-04-21 Thread Akhil Goyal
Used the new API rte_cryptodev_set_session_event_mdata to set event crypto metadata from the applications (app/test and app/test-eventdev) instead of using session userdata. Signed-off-by: Akhil Goyal --- app/test-eventdev/test_perf_common.c | 8 ++-- app/test/test_event_crypto_adapter.c |

[PATCH v3 3/7] crypto/octeontx: use new API for event metadata

2022-04-21 Thread Akhil Goyal
For getting event crypto metadata from crypto_op, the new API rte_cryptodev_get_session_event_mdata can be used directly instead of getting userdata inside PMD. Signed-off-by: Akhil Goyal --- drivers/crypto/octeontx/otx_cryptodev_ops.c | 20 +--- 1 file changed, 1 insertion(+), 1

[PATCH v3 2/7] crypto/cnxk: add event metadata set operation

2022-04-21 Thread Akhil Goyal
From: Volodymyr Fialko Added cryptodev operation for setting event crypto metadata for all supported sessions - sym/asym/security. Signed-off-by: Volodymyr Fialko Signed-off-by: Akhil Goyal --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 144 +++--- drivers/crypto/cnxk/cn10k_i

[PATCH v3 1/7] cryptodev: add APIs to get/set event metadata

2022-04-21 Thread Akhil Goyal
From: Volodymyr Fialko Currently, crypto session userdata is used to set event crypto metadata from the application and the driver is dereferencing it in driver which is not correct. User data is meant to be opaque to the driver. To support this, new API is added to get and set event crypto metad

[PATCH v3 0/7] Add new cryptodev op for event metadata

2022-04-21 Thread Akhil Goyal
For using event crypto metadata, event metadata need to be set in session. For this session user data was used for symmetric crypto sessions and no support was present for asymmetric and security sessions. The use of userdata to store event metadata (which is dereferenced in PMD) is not correct as

[PATCH] examples/l3fwd: fix issue with MTU set on event mode

2022-04-21 Thread Nithin Dabilpuram
MTU configuration is missing for ethdev when using eventmode when user provides it via "--max-pkt-len" config. It is only done in poll mode setup. Fix the event mode setup code to do the same. Fixes: 1bb4a528c41f ("ethdev: fix max Rx packet length") Cc: ferruh.yi...@intel.com Cc: sta...@dpdk.org

Re: kni: check abi version between kmod and lib

2022-04-21 Thread Ray Kinsella
Stephen Coleman writes: > KNI ioctl functions copy data from userspace lib, and this interface > of kmod is not compatible indeed. If the user use incompatible rte_kni.ko > bad things happen: sometimes various fields contain garbage value, > sometimes it cause a kmod soft lockup. > > Some commo

RE: [PATCH 2/5] vhost: add per-virtqueue statistics support

2022-04-21 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Thursday, January 27, 2022 10:57 PM > To: dev@dpdk.org; Xia, Chenbo ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH 2/5] vhost: add per-virtqueue statistics support > > This patch introduces new APIs f

  1   2   >