[dpdk-dev] [PATCH v2 03/33] event/cnxk: add platform specific device probe

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 04/33] event/cnxk: add common configuration validation

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 06/33] event/cnxk: add event queue config functions

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 07/33] event/cnxk: allocate event inflight buffers

2021-04-26 Thread pbhagavatula
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 +++

[dpdk-dev] [PATCH v2 09/33] event/cnxk: add devargs to control SSO HWGRP QoS

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 08/33] event/cnxk: add devargs for inflight buffer count

2021-04-26 Thread pbhagavatula
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: --

[dpdk-dev] [PATCH v2 10/33] event/cnxk: add port config functions

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 12/33] event/cnxk: add devargs to configure getwork mode

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 13/33] event/cnxk: add SSO HW device operations

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 11/33] event/cnxk: add event port link and unlink

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 14/33] event/cnxk: add SSO GWS fastpath enqueue functions

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 15/33] event/cnxk: add SSO GWS dequeue fastpath functions

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 16/33] event/cnxk: add device start function

2021-04-26 Thread pbhagavatula
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 ++

[dpdk-dev] [PATCH v2 17/33] event/cnxk: add device stop and close functions

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 18/33] event/cnxk: add SSO selftest and dump

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 19/33] event/cnxk: add event port and queue xstats

2021-04-26 Thread pbhagavatula
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/

[dpdk-dev] [PATCH v2 20/33] event/cnxk: support event timer

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 21/33] event/cnxk: add timer adapter capabilities

2021-04-26 Thread pbhagavatula
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 +++

[dpdk-dev] [PATCH v2 22/33] event/cnxk: create and free timer adapter

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 23/33] event/cnxk: add devargs to disable NPA

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 24/33] event/cnxk: allow adapters to resize inflights

2021-04-26 Thread pbhagavatula
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_

[dpdk-dev] [PATCH v2 25/33] event/cnxk: add timer adapter info function

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 26/33] event/cnxk: add devargs for chunk size and rings

2021-04-26 Thread pbhagavatula
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 ---

[dpdk-dev] [PATCH v2 27/33] event/cnxk: add TIM bucket operations

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 29/33] event/cnxk: add timer arm timeout burst

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 30/33] event/cnxk: add timer cancel function

2021-04-26 Thread pbhagavatula
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 ++

[dpdk-dev] [PATCH v2 28/33] event/cnxk: add timer arm routine

2021-04-26 Thread pbhagavatula
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_

[dpdk-dev] [PATCH v2 31/33] event/cnxk: add timer stats get and reset

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 32/33] event/cnxk: add timer adapter start and stop

2021-04-26 Thread pbhagavatula
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

[dpdk-dev] [PATCH v2 33/33] event/cnxk: add devargs to control timer adapters

2021-04-26 Thread pbhagavatula
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

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-26 Thread Stephen Hemminger
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, > > > >

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-26 Thread Honnappa Nagarahalli
> > > > > > > > > > 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

Re: [dpdk-dev] L3fwd mode in testpmd

2021-04-26 Thread Honnappa Nagarahalli
> > > > > > > > > > > > > > On Thu, Mar 11, 2021 at 12:01 AM Honnappa > > > > > > > > > > > Nagarahalli wrote: > > > > > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > Performance of L3fwd example application > > > > > > > > > > > > is one of the key > > > > > > > >

[dpdk-dev] [PATCH v2] net/tap: fix log loss when state fails to be restored

2021-04-26 Thread Min Hu (Connor)
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

Re: [dpdk-dev] [PATCH 1/2] net/tap: fix log loss when state fails to be restored

2021-04-26 Thread Min Hu (Connor)
在 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

Re: [dpdk-dev] [PATCH v8 1/4] vhost: abstract and reorganize async split ring code

2021-04-26 Thread Hu, Jiayu
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

Re: [dpdk-dev] [PATCH 4/4] examples/l3fwd: make data struct to be memory efficient

2021-04-26 Thread Ruifeng Wang
> -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]

[dpdk-dev] [PATCH v2] bonding: fix overflow check

2021-04-26 Thread Min Hu (Connor)
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

Re: [dpdk-dev] [PATCH] bonding: fix overflow check

2021-04-26 Thread Min Hu (Connor)
在 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

Re: [dpdk-dev] [PATCH v1 1/2] net/ixgbe: allow get_monitor_addr for VF driver

2021-04-26 Thread Wang, Haiyue
> -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

Re: [dpdk-dev] [PATCH] net/iavf: fix performance drop

2021-04-26 Thread Lu, Wenzhuo
> > +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

[dpdk-dev] [PATCH v2] net/kni: fix rewritten return value

2021-04-26 Thread Min Hu (Connor)
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. ---

Re: [dpdk-dev] [PATCH 2/3] net/kni: fix rewritten return value

2021-04-26 Thread Min Hu (Connor)
在 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

[dpdk-dev] [PATCH] net/iavf: fix l4 checksum error

2021-04-26 Thread Wenzhuo Lu
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

Re: [dpdk-dev] [DPDK] net/ice: fix txq mbuf release mode

2021-04-26 Thread Rong, Leyi
> -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

Re: [dpdk-dev] [PATCH] net/bonding: fix socket id check

2021-04-26 Thread Chengchang Tang
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

[dpdk-dev] [Bug 693] [dpdk-21.05] shutdown_api/change_linkspeed: port config speed is invalid

2021-04-26 Thread bugzilla
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

Re: [dpdk-dev] [PATCH] net/iavf: fix performance drop

2021-04-26 Thread Zhang, Qi Z
> -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

Re: [dpdk-dev] [DPDK] net/ice: fix txq mbuf release mode

2021-04-26 Thread Zhang, Qi Z
> -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

Re: [dpdk-dev] [dpdk-stable] [PATCH] examples/vhost: fix potential overflow in args process

2021-04-26 Thread Jiang, Cheng1
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

Re: [dpdk-dev] [PATCH] net/iavf: fix l4 checksum error

2021-04-26 Thread Zhang, Qi Z
> -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.

[dpdk-dev] [PATCH v2] examples/vhost: fix potential overflow in args process

2021-04-26 Thread Cheng Jiang
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

Re: [dpdk-dev] [PATCH] net/iavf: fix performance drop

2021-04-26 Thread Lu, Wenzhuo
> > > > +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

Re: [dpdk-dev] [PATCH v8 2/4] vhost: add support for packed ring in async vhost

2021-04-26 Thread Hu, Jiayu
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

Re: [dpdk-dev] [PATCH] net/iavf: fix performance drop

2021-04-26 Thread Zhang, Qi Z
> -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

Re: [dpdk-dev] [PATCH v8 2/4] vhost: add support for packed ring in async vhost

2021-04-26 Thread Jiang, Cheng1
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

Re: [dpdk-dev] [PATCH] net/memif: fix missing Tx-bps stats for zero-copy

2021-04-26 Thread Tianyu Li
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

<    1   2