From: Pavan Nikhilesh
Add platform specific event device probe and remove, also add
event device info get function.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 101 +++
drivers/event/cnxk/cn9k_eventdev.c | 10
From: Pavan Nikhilesh
Add configuration validation, port and queue configuration
functions.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_eventdev.c | 70 ++
drivers/event/cnxk/cnxk_eventdev.h | 6 +++
2 files changed, 7
From: Shijith Thotton
Add setup and release functions for event queues i.e.
SSO HWGRPs.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 2 ++
drivers/event/cnxk/cn9k_eventdev.c | 2 ++
drivers/event/cnxk/cnxk_eventdev.c | 19
From: Pavan Nikhilesh
Allocate buffers in DRAM that hold inflight events.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 7 ++
drivers/event/cnxk/cn9k_eventdev.c | 7 ++
drivers/event/cnxk/cnxk_eventdev.c | 105 +++
From: Shijith Thotton
SSO HWGRPs i.e. queue uses DRAM & SRAM buffers to hold in-flight
events. By default the buffers are assigned to the SSO HWGRPs to
satisfy minimum HW requirements. SSO is free to assign the remaining
buffers to HWGRPs based on a preconfigured threshold.
We can control the QoS
From: Shijith Thotton
The number of events for a *open system* event device is specified
as -1 as per the eventdev specification.
Since, SSO inflight events are only limited by DRAM size, the
xae_cnt devargs parameter is introduced to provide upper limit for
in-flight events.
Example:
--
From: Shijith Thotton
Add SSO HWS aka event port setup and release functions.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 121 +++
drivers/event/cnxk/cn9k_eventdev.c | 147
drivers/ev
From: Pavan Nikhilesh
Add devargs to configure the platform specific getwork mode.
CN9K getwork mode by default is set to use dual workslot mode.
Add option to force single workslot mode.
Example:
--dev "0002:0e:00.0,single_ws=1"
CN10K supports multiple getwork prefetch modes, by defaul
From: Pavan Nikhilesh
Add SSO HW device operations used for enqueue/dequeue.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_worker.c | 7 +
drivers/event/cnxk/cn10k_worker.h | 151 +
drivers/event/cnxk/cn9k_worker.c | 7 +
drivers/event/cnxk/cn9k_worker.h
From: Shijith Thotton
Add platform specific event port, queue link and unlink APIs.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 64 +-
drivers/event/cnxk/cn9k_eventdev.c | 101
drivers/e
From: Pavan Nikhilesh
Add SSO GWS fastpath event device enqueue functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 16 +++-
drivers/event/cnxk/cn10k_worker.c | 54 ++
drivers/event/cnxk/cn10k_worker.h | 12 +++
drivers/event/cnxk/cn9k_eventde
From: Pavan Nikhilesh
Add SSO GWS event dequeue fastpath functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_eventdev.c | 10 ++-
drivers/event/cnxk/cn10k_worker.c | 54 +
drivers/event/cnxk/cn10k_worker.h | 12 +++
drivers/event/cnxk/cn9k_eventdev.c | 1
From: Shijith Thotton
Add eventdev start function along with few cleanup API's to maintain
sanity.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 127
drivers/event/cnxk/cn9k_eventdev.c | 113 ++
From: Shijith Thotton
Add event device stop and close callback functions.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 15 +
drivers/event/cnxk/cn9k_eventdev.c | 14 +
drivers/event/cnxk/cnxk_eventdev.c | 48
From: Pavan Nikhilesh
Add selftest to verify sanity of SSO and also add function to
dump internal state of SSO.
Signed-off-by: Pavan Nikhilesh
---
app/test/test_eventdev.c| 14 +
drivers/event/cnxk/cn10k_eventdev.c |8 +
drivers/event/cnxk/cn9k_eventdev.c
From: Pavan Nikhilesh
Add support for retrieving statistics from SSO HWS and HWGRP.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso.c| 63 +
drivers/common/cnxk/roc_sso.h| 19 ++
drivers/event/cnxk/cnxk_eventdev.h | 15 ++
drivers/event/cnxk/
From: Shijith Thotton
Add event timer adapter aka TIM initialization on SSO probe.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
doc/guides/eventdevs/cnxk.rst | 6
drivers/event/cnxk/cnxk_eventdev.c | 3 ++
drivers/event/cnxk/cnxk_eventdev.h | 2 ++
drivers
From: Shijith Thotton
Add function to retrieve event timer adapter capabilities.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cn10k_eventdev.c | 2 ++
drivers/event/cnxk/cn9k_eventdev.c | 2 ++
drivers/event/cnxk/cnxk_tim_evdev.c | 22 +++
From: Shijith Thotton
When the application calls timer adapter create the following is used:
- Allocate a TIM LF based on number of LF's provisioned.
- Verify the config parameters supplied.
- Allocate memory required for
* Buckets based on min and max timeout supplied.
* Allocate
From: Pavan Nikhilesh
If the chunks are allocated from NPA then TIM can automatically free
them when traversing the list of chunks.
Add devargs to disable NPA and use software mempool to manage chunks.
Example:
--dev "0002:0e:00.0,tim_disable_npa=1"
Signed-off-by: Shijith Thotton
Signe
From: Pavan Nikhilesh
Add internal SSO functions to allow event adapters to resize SSO buffers
that are used to hold in-flight events in DRAM.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_eventdev.c | 33
drivers/event/cnxk/cnxk_
From: Shijith Thotton
Add TIM event timer adapter info get function.
Signed-off-by: Shijith Thotton
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cnxk_tim_evdev.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/event/cnxk/cnxk_tim_evdev.c
b/drivers/event/cn
From: Shijith Thotton
Add devargs to control default chunk size and max numbers of
timer rings to attach to a given RVU PF.
Example:
--dev "0002:1e:00.0,tim_chnk_slots=1024"
--dev "0002:1e:00.0,tim_rings_lmt=4"
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
From: Pavan Nikhilesh
Add TIM bucket operations used for event timer arm and cancel.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.h | 30 +++
drivers/event/cnxk/cnxk_tim_worker.c | 6 ++
drivers/event/cnxk/cnxk_tim_worker.h | 123
From: Pavan Nikhilesh
Add event timer arm timeout burst function.
All the timers requested to be armed have the same timeout.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 7 ++
drivers/event/cnxk/cnxk_tim_evdev.h | 12 +++
driver
From: Pavan Nikhilesh
Add function to cancel event timer that has been armed.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 1 +
drivers/event/cnxk/cnxk_tim_evdev.h | 5
drivers/event/cnxk/cnxk_tim_worker.c | 30 ++
From: Pavan Nikhilesh
Add event timer arm routine.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 18 ++
drivers/event/cnxk/cnxk_tim_evdev.h | 23 ++
drivers/event/cnxk/cnxk_tim_worker.c | 95 +
drivers/event/cnxk/cnxk_tim_
From: Shijith Thotton
Add event timer adapter statistics get and reset functions.
Stats are disabled by default and can be enabled through devargs.
Example:
--dev "0002:1e:00.0,tim_stats_ena=1"
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
doc/guides/eventdevs/cnx
From: Shijith Thotton
Add event timer adapter start and stop functions.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Shijith Thotton
---
drivers/event/cnxk/cnxk_tim_evdev.c | 71 -
1 file changed, 70 insertions(+), 1 deletion(-)
diff --git a/drivers/event/cnxk/cn
From: Shijith Thotton
Add devargs to control each event timer adapter i.e. TIM rings internal
parameters uniquely. The following dict format is expected
[ring-chnk_slots-disable_npa-stats_ena]. 0 represents default values.
Example:
--dev "0002:1e:00.0,tim_ring_ctl=[2-1023-1-0]"
Signed-o
On Mon, 26 Apr 2021 15:14:59 +0530
Jerin Jacob wrote:
> On Sat, Apr 24, 2021 at 5:56 AM Honnappa Nagarahalli
> wrote:
> >
> >
> >
> > > > > > > > > > On Thu, Mar 11, 2021 at 12:01 AM Honnappa Nagarahalli
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hello,
> > > >
> > > > > > > > > > On Thu, Mar 11, 2021 at 12:01 AM Honnappa Nagarahalli
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hello,
> > > > > > > > > > > Performance of L3fwd example application is
> > > > > > > > > > > one of the key
> > > > > > > > > > benchmarks in
> > >
> > > > > > > > > > > On Thu, Mar 11, 2021 at 12:01 AM Honnappa
> > > > > > > > > > > Nagarahalli wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hello,
> > > > > > > > > > > > Performance of L3fwd example application
> > > > > > > > > > > > is one of the key
> > > > > > > >
From: Chengchang Tang
After restoring the remote states, the return value of ioctl() is not
checked. Therefore, users cannot know whether the remote state is
restored successfully.
This patch add log for restoring failure.
Fixes: 4810d3af8343 ("net/tap: restore state of remote device when closi
在 2021/4/26 23:30, Ferruh Yigit 写道:
On 4/22/2021 12:27 PM, Min Hu (Connor) wrote:
From: Chengchang Tang
After restoring the remote states, the return value of ioctl() is not
checked. Therefore, users cannot know whether the remote state is
restored successfully.
This patch add log for rest
Reviewed-by: Jiayu Hu
> -Original Message-
> From: Jiang, Cheng1
> Sent: Monday, April 19, 2021 4:51 PM
> To: maxime.coque...@redhat.com; Xia, Chenbo
> Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX
> ; Wang, Yinan ; Liu,
> Yong ; Jiang, Cheng1
> Subject: [PATCH v8 1/4] vhost: abstract an
> -Original Message-
> From: Walsh, Conor
> Sent: Monday, April 26, 2021 6:55 PM
> To: hemant.agra...@nxp.com; Jerin Jacob ;
> Ruifeng Wang
> Cc: jer...@marvell.com; Yigit, Ferruh ;
> tho...@monjalon.net; David Marchand ;
> dpdk-dev ; nd ; Honnappa Nagarahalli
>
> Subject: RE: [dpdk-dev]
Buffer 'test_params->slave_port_ids' of size 6 accessed may
overflow, since its index 'i' can have value be is out of range.
This patch fixed it.
Fixes: 92073ef961ee ("bond: unit tests")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
---
v2:
* fix bonded_slave_count value.
---
app/test/tes
在 2021/4/26 23:08, Ferruh Yigit 写道:
On 4/22/2021 10:22 AM, Min Hu (Connor) wrote:
Buffer 'test_params->slave_port_ids' of size 6 accessed may
overflow, since its index 'i' can have value be is out of range.
This patch fixed it.
Fixes: 92073ef961ee ("bond: unit tests")
Cc: sta...@dpdk.org
S
> -Original Message-
> From: Hunt, David
> Sent: Monday, April 26, 2021 22:20
> To: Burakov, Anatoly ; dev@dpdk.org; Guo, Jia
> ; Wang,
> Haiyue ; Ananyev, Konstantin
> ; Liang Ma
>
> Subject: Re: [PATCH v1 1/2] net/ixgbe: allow get_monitor_addr for VF driver
>
> Hi Anatoly,
>
> On 26
> > +use_sse = true;
> > +if ((rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX2) == 1 ||
> > + rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F) == 1) &&
> > +rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_256)
> > +use_avx2 = true;
>
>
> Not sure if the right path will be selected when avx512 is
Return value of function 'eth_kni_dev_stop' passed to 'ret' is
rewritten later, and this is unreasonable.
This patch fixes it.
Fixes: 62024eb82756 ("ethdev: change stop operation callback to return int")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
---
v2:
* just log but not return.
---
在 2021/4/26 21:18, Ferruh Yigit 写道:
On 4/22/2021 4:56 AM, Min Hu (Connor) wrote:
Return value of function 'eth_kni_dev_stop' passed to 'ret' is
rewritten later, and this is unreasonable.
This patch fixes it.
Fixes: 62024eb82756 ("ethdev: change stop operation callback to return int")
Cc: st
leverage the behavior of the scalar path, preparing
packets is necessary for the checksum offload.
Fixes: 059f18ae2aec ("net/iavf: add offload path for Tx AVX512")
Signed-off-by: Wenzhuo Lu
---
drivers/net/iavf/iavf_rxtx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dr
> -Original Message-
> From: dev On Behalf Of Alvin Zhang
> Sent: Sunday, April 25, 2021 5:27 PM
> To: Zhang, Qi Z ; Yang, Qiming
> Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org
> Subject: [dpdk-dev] [DPDK] net/ice: fix txq mbuf release mode
>
> In some cases, it seems that the txq
On 2021/4/26 22:54, Ferruh Yigit wrote:
> On 4/22/2021 8:12 AM, Min Hu (Connor) wrote:
>> From: Chengchang Tang
>>
>> The socket ID entered by user is cast to an unsigned integer. However,
>> the value may be an illegal negative value, which may cause some
>> problems. In this case, an error sh
https://bugs.dpdk.org/show_bug.cgi?id=693
Bug ID: 693
Summary: [dpdk-21.05] shutdown_api/change_linkspeed: port
config speed is invalid
Product: DPDK
Version: unspecified
Hardware: x86
OS: Linux
> -Original Message-
> From: Lu, Wenzhuo
> Sent: 2021年4月27日 9:51
> To: Zhang, Qi Z ; dev@dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] net/iavf: fix performance drop
>
> > > +use_sse = true;
> > > +if ((rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX2) == 1 ||
> > > + rte_cpu_get_flag_enable
> -Original Message-
> From: Rong, Leyi
> Sent: 2021年4月27日 10:32
> To: Zhang, AlvinX ; Zhang, Qi Z
> ; Yang, Qiming
> Cc: dev@dpdk.org; Zhang, AlvinX ;
> sta...@dpdk.org
> Subject: RE: [dpdk-dev] [DPDK] net/ice: fix txq mbuf release mode
>
>
> > -Original Message-
> > From: d
Hi,
> -Original Message-
> From: David Marchand
> Sent: Monday, April 26, 2021 4:25 PM
> To: Jiang, Cheng1
> Cc: Maxime Coquelin ; Xia, Chenbo
> ; dev ; dpdk stable
>
> Subject: Re: [dpdk-stable] [PATCH] examples/vhost: fix potential overflow in
> args process
>
> On Mon, Apr 19, 2021
> -Original Message-
> From: dev On Behalf Of Wenzhuo Lu
> Sent: 2021年4月27日 10:24
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo
> Subject: [dpdk-dev] [PATCH] net/iavf: fix l4 checksum error
>
> leverage the behavior of the scalar path, preparing packets is necessary for
> the checksum offload.
Change the way passing args to fix potential overflow in args process.
Coverity issue: 363741
Fixes: 965b06f0358 ("examples/vhost: enhance getopt_long usage")
Signed-off-by: Cheng Jiang
---
v2:
* Change the way passing args
* Change git log
examples/vhost/main.c | 11 ---
1 file chan
> > > > +use_sse = true;
> > > > +if ((rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX2) == 1 ||
> > > > + rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F) == 1) &&
> > > > +rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_256)
> > > > +use_avx2 = true;
> > >
> > >
> > > Not sure if the right path w
Hi Cheng,
Some comments are inline.
> -Original Message-
> From: Jiang, Cheng1
> Sent: Monday, April 19, 2021 4:51 PM
> To: maxime.coque...@redhat.com; Xia, Chenbo
> Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX
> ; Wang, Yinan ; Liu,
> Yong ; Jiang, Cheng1
> Subject: [PATCH v8 2/4] vhos
> -Original Message-
> From: dev On Behalf Of Wenzhuo Lu
> Sent: Monday, April 26, 2021 1:30 PM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo
> Subject: [dpdk-dev] [PATCH] net/iavf: fix performance drop
>
> AVX2 and SSE don't have the offload path.
> Not necessary doing any check. Or the scala
Hi Jiayu,
> -Original Message-
> From: Hu, Jiayu
> Sent: Tuesday, April 27, 2021 1:16 PM
> To: Jiang, Cheng1 ; maxime.coque...@redhat.com;
> Xia, Chenbo
> Cc: dev@dpdk.org; Yang, YvonneX ; Wang, Yinan
> ; Liu, Yong
> Subject: RE: [PATCH v8 2/4] vhost: add support for packed ring in asyn
Hi Jakub,
Any comments about the patch?
-Original Message-
From: Ferruh Yigit
Sent: Wednesday, April 14, 2021 4:13 PM
To: Tianyu Li ; Jakub Grajciar
Cc: dev@dpdk.org; nd ; sta...@dpdk.org
Subject: Re: [PATCH] net/memif: fix missing Tx-bps stats for zero-copy
On 4/12/2021 9:22 AM, Tian
101 - 157 of 157 matches
Mail list logo