Re: [2nd Try]:Re: Traffic Management API Questions

2023-01-16 Thread Venky Venkatesh
and > all the subports would be served individually in round robin manner. If it > doesn’t suit your requirement, you need to make changes as you suggested > above. > > > > Thanks > > -Venky > > > > > > On Wed, Jan 11, 2023 at 9:24 AM Singh, Jasvinder <

Re: [2nd Try]:Re: Traffic Management API Questions

2023-01-16 Thread Venky Venkatesh
ease see inline; > > > > Jasvinder > > > > *From:* Venky Venkatesh > *Sent:* Wednesday, January 11, 2023 11:56 AM > *To:* Singh, Jasvinder > *Cc:* dev@dpdk.org > *Subject:* Re: [2nd Try]:Re: Traffic Management API Questions > > > > Hi Jasvinder, > >

Re: [2nd Try]:Re: Traffic Management API Questions

2023-01-11 Thread Venky Venkatesh
i Venky, > > > > Please see inline. > > > > Thanks, > > Jasvinder > > > > > > *From:* Venky Venkatesh > *Sent:* Tuesday, January 10, 2023 8:52 AM > *To:* dev@dpdk.org > *Subject:* [2nd Try]:Re: Traffic Management API Questions > > >

[2nd Try]:Re: Traffic Management API Questions

2023-01-10 Thread Venky Venkatesh
Hi, Can someone pls get back on these Thanks -Venky On Thu, Jan 5, 2023 at 4:07 AM Venky Venkatesh < vvenkat...@paloaltonetworks.com> wrote: > Hi, > I was looking at the DPDK Traffic Management API. I wanted to clarify some > things that I understand from the code (for so

Traffic Management API Questions

2023-01-05 Thread Venky Venkatesh
Hi, I was looking at the DPDK Traffic Management API. I wanted to clarify some things that I understand from the code (for software based TM implementation (at 20.11)) vs the documentation. - The documentation says "Traffic shaping: single/*dual rate,* private (*per node*) and shared (by *mu

Traffic Management API Questions

2023-01-02 Thread Venky Venkatesh
Hi, I was looking at the DPDK Traffic Management API. I wanted to clarify some things that I understand from the code (for software based TM implementation (at 20.11)) vs the documentation. - The documentation says "Traffic shaping: single/*dual rate,* private (*per node*) and shared (by *

Traffic Management API Questions

2023-01-02 Thread Venky Venkatesh
Hi, I was looking at the DPDK Traffic Management API. I wanted to clarify some things that I understand from the code (for software based TM implementation (at 20.11)) vs the documentation. - The documentation says "Traffic shaping: single/*dual rate,* private (*per node*) and shared (by *mu

Re: [dpdk-dev] [PATCH] event/dsw: avoid reusing previously recorded events

2020-03-05 Thread Venky Venkatesh
7 ("event/dsw: add load balancing") > Cc: sta...@dpdk.org > > Reported-by: Venky Venkatesh > Signed-off-by: Mattias Rönnblom > --- > drivers/event/dsw/dsw_event.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/event/dsw/dsw_event.c b/dri

[dpdk-dev] DSW eventdev bug?

2020-02-27 Thread Venky Venkatesh
Hi, This is concerning the DSW PMD for eventdev. In our application we put some debugs to see that the same ATOMIC flow isn't scheduled to 2 different cores. Strangely enough we hit it. Not sure if we are missing something OR it is a bug. We put some instrumentation code inside DSW and found the f

[dpdk-dev] eventdev fault handling

2020-01-06 Thread Venky Venkatesh
Hi, This concerns eventdev being used in a DPDK multi-process mode wherein the PRIMARY process sets up the device, ports, queues and linkages and the SECONDARY processes are the real workers to which the events are load balanced to via the queues. My question (for both the sw evdev PMD and the DSW

Re: [dpdk-dev] eventdev DSW question

2019-12-06 Thread Venky Venkatesh
only for FORWARDs ... there are more details of course. Hope this explains Thanks -Venky On Fri, Dec 6, 2019 at 12:37 PM Mattias Rönnblom < mattias.ronnb...@ericsson.com> wrote: > On 2019-12-06 17:32, Venky Venkatesh wrote: > > Thanks Mattias for the clarifications. > > >

Re: [dpdk-dev] eventdev DSW question

2019-12-06 Thread Venky Venkatesh
< mattias.ronnb...@ericsson.com> wrote: > On 2019-12-06 01:26, Venky Venkatesh wrote: > > I see that the provision in 18.11 eventdev DSW for maximum number of > queues > > is > > > > #define DSW_MAX_QUEUES (16) > > > > > > > > 1. If t

[dpdk-dev] eventdev DSW question

2019-12-05 Thread Venky Venkatesh
I see that the provision in 18.11 eventdev DSW for maximum number of queues is #define DSW_MAX_QUEUES (16) 1. If the number of queues needed is to be increased to 7 bits (i.e. 128) is there any issue (correctness, scale, performance) other than increased data structure size? 2. I se

Re: [dpdk-dev] DSW eventdev is getting "stuck"?

2019-04-04 Thread Venky Venkatesh
On 4/4/19, 12:40 AM, "Mattias Rönnblom" wrote: On 2019-04-04 07:39, Venky Venkatesh wrote: > > > On 4/3/19, 12:02 PM, "Mattias Rönnblom" wrote: > > On 2019-04-03 20:36, Venky Venkatesh wrote: > >

Re: [dpdk-dev] DSW eventdev is getting "stuck"?

2019-04-03 Thread Venky Venkatesh
On 4/3/19, 12:02 PM, "Mattias Rönnblom" wrote: On 2019-04-03 20:36, Venky Venkatesh wrote: > > > On 4/3/19, 11:34 AM, "Mattias Rönnblom" wrote: > > On 2019-04-03 20:17, Venky Venkatesh wrote: > > Hi, &g

Re: [dpdk-dev] DSW eventdev is getting "stuck"?

2019-04-03 Thread Venky Venkatesh
On 4/3/19, 11:34 AM, "Mattias Rönnblom" wrote: On 2019-04-03 20:17, Venky Venkatesh wrote: > Hi, > I am using the DSW code from 18.11 with the default settings for all the #defines. Here are some more details: > I have an 8 port system with 1 queue. >

[dpdk-dev] DSW eventdev is getting "stuck"?

2019-04-03 Thread Venky Venkatesh
Hi, I am using the DSW code from 18.11 with the default settings for all the #defines. Here are some more details: I have an 8 port system with 1 queue. All ports can inject events. Port 0 and 7 inject events rarely. Ports 1-6 are linked to the queue and hence dequeue events. I see that in steady

Re: [dpdk-dev] DSW eventdev and multi-process DPDK

2019-01-17 Thread Venky Venkatesh
On 1/17/19, 11:10 AM, "Venky Venkatesh" wrote: On 1/7/19, 7:36 AM, "Mattias Rönnblom" wrote: On 2018-12-21 20:12, Venky Venkatesh wrote: > > > On 12/21/18, 10:59 AM, "Mattias Rönnblom" wrote:

Re: [dpdk-dev] DSW eventdev and multi-process DPDK

2019-01-17 Thread Venky Venkatesh
On 1/7/19, 7:36 AM, "Mattias Rönnblom" wrote: On 2018-12-21 20:12, Venky Venkatesh wrote: > > > On 12/21/18, 10:59 AM, "Mattias Rönnblom" wrote: > > On 2018-12-21 19:34, Venky Venkatesh wrote: > > &g

Re: [dpdk-dev] DSW eventdev and multi-process DPDK

2018-12-21 Thread Venky Venkatesh
On 12/21/18, 10:59 AM, "Mattias Rönnblom" wrote: On 2018-12-21 19:34, Venky Venkatesh wrote: > > > On 12/21/18, 10:24 AM, "Mattias Rönnblom" wrote: > > On 2018-12-21 06:13, Venky Venkatesh wrote: > > Hi,

Re: [dpdk-dev] DSW eventdev and multi-process DPDK

2018-12-21 Thread Venky Venkatesh
On 12/21/18, 10:24 AM, "Mattias Rönnblom" wrote: On 2018-12-21 06:13, Venky Venkatesh wrote: > Hi, > We are considering using a multi-process mode of the DPDK with the event generators and consumers being spread across multiple processes (on different cor

[dpdk-dev] DSW eventdev and multi-process DPDK

2018-12-20 Thread Venky Venkatesh
Hi, We are considering using a multi-process mode of the DPDK with the event generators and consumers being spread across multiple processes (on different cores). We are also considering using the DSW eventdev. Is the DSW designed for such a use case? If so, are there some restrictions and somet

[dpdk-dev] Eventdev DSW correctness and pathologies

2018-12-19 Thread Venky Venkatesh
Couple of questions on DSW scheduling: 1. how was the correctness of the scheduling verified -- specifically the fact that ATOMIC is not scheduled simultaneously to 2 cores? I can think of feeding the same flowid on all cores and see where the various cores are busy. Any other test cases tha

Re: [dpdk-dev] Eventdev DSW and eth_rx_adapters

2018-12-19 Thread Venky Venkatesh
On 12/18/18, 10:53 PM, "Mattias Rönnblom" wrote: On 2018-12-18 02:46, Venky Venkatesh wrote: > Hi, > I am relatively new to DPDK and am trying to use the eventdev library. > The sw_evdev runs on a single core (service core). And then there is rte_event_et

[dpdk-dev] Eventdev DSW and eth_rx_adapters

2018-12-17 Thread Venky Venkatesh
Hi, I am relatively new to DPDK and am trying to use the eventdev library. The sw_evdev runs on a single core (service core). And then there is rte_event_eth_rx_adapter_ which links the sw_evdev to the ethdev. This adapter is also service core based. The DSW runs on all cores – and thus doesn’t u

Re: [dpdk-dev] Application used for DSW event_dev performance testing

2018-11-27 Thread Venky Venkatesh
On 11/14/18, 9:46 PM, "Mattias Rönnblom" wrote: > > > On 11/14/18, 9:46 PM, "Mattias Rönnblom" > wrote: > > On 2018-11-14 22:56, Venky Venkatesh wrote: > > Mattias, > > Thanks for the prompt response. Appreciate your situation

Re: [dpdk-dev] Application used for DSW event_dev performance testing

2018-11-14 Thread Venky Venkatesh
Mattias, Thanks for the prompt response. Appreciate your situation of not being able to share the proprietary code. More answers inline as [VV]: --Venky On 11/14/18, 11:41 AM, "Mattias Rönnblom" wrote: On 2018-11-14 20:16, Venky Venkatesh wrote: > Hi, &g

[dpdk-dev] Application used for DSW event_dev performance testing

2018-11-14 Thread Venky Venkatesh
Hi, https://mails.dpdk.org/archives/dev/2018-September/111344.html mentions that there is a sample application where “worker cores can sustain 300-400 million event/s. With a pipeline with 1000 clock cycles of work per stage, the average event device overhead is somewhere 50-150 clock cycles/eve