Re: [dpdk-dev] [PATCH 3/4] app/eventdev: add perf pipeline test

2017-12-11 Thread Pavan Nikhilesh Bhagavatula
On Sun, Dec 10, 2017 at 06:03:07PM +0530, Jerin Jacob wrote: > -Original Message- > > Date: Thu, 30 Nov 2017 12:54:05 +0530 > > From: Pavan Nikhilesh > > To: jerin.jacobkollanukka...@cavium.com, gage.e...@intel.com, > > harry.van.haa...@intel.com, bruce.richard...@intel.com, > > hemant.a

Re: [dpdk-dev] [PATCH v3 8/8] doc: update app eventdev options

2017-12-11 Thread Pavan Nikhilesh Bhagavatula
On Mon, Dec 11, 2017 at 05:34:50PM +, Eads, Gage wrote: > Once the compilation errors are fixed: > (Series) Acked-by: Gage Eads > Thanks for the ack, The compilation issues have been fixed but for some reason patchworks failed to apply the patset Pavan.

Re: [dpdk-dev] [PATCH] eventdev: use links_map to unlink queues

2017-12-11 Thread Pavan Nikhilesh Bhagavatula
On Mon, Dec 11, 2017 at 05:24:57PM +, Eads, Gage wrote: > > > -Original Message- > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Monday, December 11, 2017 9:05 AM > > To: Eads, Gage ; jerin.ja...@caviumnetworks.com; > > Richardson, Bruce ; nipun.gu...@nxp.co

Re: [dpdk-dev] [PATCH 01/13] examples/eventdev: add Rx adapter support

2017-12-12 Thread Pavan Nikhilesh Bhagavatula
On Mon, Dec 11, 2017 at 04:15:41PM +, Eads, Gage wrote: > Hi Pavan, > > > > > static inline void > > schedule_devices(unsigned int lcore_id) { > > if (fdata->rx_core[lcore_id] && (fdata->rx_single || > > rte_atomic32_cmpset(&(fdata->rx_lock), 0, 1))) { > > - producer()

Re: [dpdk-dev] [PATCH 02/13] examples/eventdev: move common data into pipeline common

2017-12-12 Thread Pavan Nikhilesh Bhagavatula
On Mon, Dec 11, 2017 at 04:15:48PM +, Eads, Gage wrote: > Hi Pavan, > > > > > @@ -2,6 +2,7 @@ > > * BSD LICENSE > > * > > * Copyright(c) 2016-2017 Intel Corporation. All rights reserved. > > + * Copyright 2016 Cavium, Inc. > > Should this be 2017? Same for the copyright dates in pi

Re: [dpdk-dev] [PATCH v2] eventdev: use links map to unlink queues

2017-12-12 Thread Pavan Nikhilesh Bhagavatula
On Tue, Dec 12, 2017 at 04:08:12PM +, Eads, Gage wrote: > > > > -Original Message- > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Tuesday, December 12, 2017 3:34 AM > > To: jerin.ja...@caviumnetworks.com; Richardson, Bruce > > ; Van Haaren, Harry > > ; Eads

Re: [dpdk-dev] [PATCH 1/7] event/octeontx: move eventdev octeontx test to driver

2017-12-13 Thread Pavan Nikhilesh Bhagavatula
On Wed, Dec 13, 2017 at 10:19:51AM +, Van Haaren, Harry wrote: > > -Original Message- > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Tuesday, December 12, 2017 7:27 PM > > To: jerin.ja...@caviumnetworks.com; Richardson, Bruce > > ; Van Haaren, Harry > > ; E

Re: [dpdk-dev] [PATCH 1/7] event/octeontx: move eventdev octeontx test to driver

2017-12-13 Thread Pavan Nikhilesh Bhagavatula
On Wed, Dec 13, 2017 at 10:34:28AM +, Bruce Richardson wrote: > On Wed, Dec 13, 2017 at 10:19:51AM +, Van Haaren, Harry wrote: > > > -Original Message- > > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > > Sent: Tuesday, December 12, 2017 7:27 PM > > > To: jerin

Re: [dpdk-dev] [PATCH 1/7] event/octeontx: move eventdev octeontx test to driver

2017-12-13 Thread Pavan Nikhilesh Bhagavatula
On Wed, Dec 13, 2017 at 11:41:55AM +, Bruce Richardson wrote: > On Wed, Dec 13, 2017 at 04:49:47PM +0530, Pavan Nikhilesh Bhagavatula wrote: > > On Wed, Dec 13, 2017 at 10:19:51AM +, Van Haaren, Harry wrote: > > > > -Original Message- > > > > From:

Re: [dpdk-dev] [PATCH v2 01/11] eal: add common test assert macros

2017-12-15 Thread Pavan Nikhilesh Bhagavatula
On Thu, Dec 14, 2017 at 06:43:24PM +, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pavan Nikhilesh > > Sent: Thursday, December 14, 2017 3:01 PM > > To: jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetworks.com;

Re: [dpdk-dev] [PATCH v2 01/11] eal: add common test assert macros

2017-12-15 Thread Pavan Nikhilesh Bhagavatula
On Fri, Dec 15, 2017 at 10:58:10AM +, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: Pavan Nikhilesh Bhagavatula [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Friday, December 15, 2017 9:05 AM > > To: Ananyev, Konstantin ; >

[dpdk-dev] [PATCH v2 1/2] eal: add macro to align value to the nearest multiple

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Add macro to align value to the nearest multiple of the given value, resultant value might be greater than or less than the first parameter whichever difference is the lowest. Update unit test to include the new macro. Signed-off-by: Pavan Nikhilesh --- v2 Changes: - Spi

[dpdk-dev] [PATCH v2 2/2] eal: roundup tsc frequency when estimating it

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh When estimating tsc frequency using sleep/gettime round it up to the nearest multiple of 10Mhz for more accuracy. Signed-off-by: Pavan Nikhilesh --- Useful in case of ARM64 if we enable RTE_ARM_EAL_RDTSC_USE_PMU, get_tsc_freq_arch() will return 0 as there is no instructi

Re: [dpdk-dev] [EXT] Re: [PATCH v2 2/2] eal: roundup tsc frequency when estimating it

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
On Sat, 2019-03-16 at 14:42 +, Wiles, Keith wrote: > > On Mar 16, 2019, at 2:03 AM, Pavan Nikhilesh Bhagavatula < > > pbhagavat...@marvell.com> wrote: > > > > From: Pavan Nikhilesh > > > > When estimating tsc frequency using sleep/gettime round it u

Re: [dpdk-dev] [EXT] Re: [PATCH v2 2/2] eal: roundup tsc frequency when estimating it

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
On Sat, 2019-03-16 at 17:18 +, Wiles, Keith wrote: > > On Mar 16, 2019, at 10:06 AM, Pavan Nikhilesh Bhagavatula < > > pbhagavat...@marvell.com> wrote: > > > > On Sat, 2019-03-16 at 14:42 +, Wiles, Keith wrote: > > > > On Mar 16, 201

Re: [dpdk-dev] [EXT] Re: [PATCH v2 2/2] eal: roundup tsc frequency when estimating it

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
On Sat, 2019-03-16 at 18:22 +, Wiles, Keith wrote: > > On Mar 16, 2019, at 12:56 PM, Pavan Nikhilesh Bhagavatula < > > pbhagavat...@marvell.com> wrote: > > > > On Sat, 2019-03-16 at 17:18 +, Wiles, Keith wrote: > > > > On Mar 16, 2019

[dpdk-dev] [PATCH v3 1/2] eal: add macro to align value to the nearest multiple

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Add macro to align value to the nearest multiple of the given value, resultant value might be greater than or less than the first parameter whichever difference is the lowest. Update unit test to include the new macro. Signed-off-by: Pavan Nikhilesh --- v2 Changes: - Spi

[dpdk-dev] [PATCH v3 2/2] eal: roundup tsc frequency when estimating

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh When estimating tsc frequency using sleep/gettime round it up to the nearest multiple of 10Mhz for more accuracy. Signed-off-by: Pavan Nikhilesh Reviewed-by: Keith Wiles --- Useful in case of ARM64 if we enable RTE_ARM_EAL_RDTSC_USE_PMU, get_tsc_freq_arch() will return

[dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test compatability

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Check if eventdev is open system eventdevs i.e. max_num_events = -1 before asserting. Allow event timer adapter to adjust the resolution using RTE_EVENT_TIMER_ADAPTER_F_ADJUST_RES and re-calculate timeout ticks based on the adjusted resolution. Signed-off-by: Pavan Nikhiles

[dpdk-dev] [PATCH 1/2] eventdev: check timer adapter status before start

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Check if timer adapter is already started before starting it. Update the unit test accordingly. Signed-off-by: Pavan Nikhilesh --- app/test/test_event_timer_adapter.c | 4 ++-- lib/librte_eventdev/rte_event_timer_adapter.c | 6 ++ lib/librte_eventdev/rte_eve

[dpdk-dev] [PATCH] app/eventdev: add option to set global dequeue tmo

2019-03-18 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Add option to provide a global dequeue timeout that is used to create the eventdev. The dequeue timeout provided will be common across all the worker ports. If the eventdev hardware supports power management through dequeue timeout then this option can be used for verifying

[dpdk-dev] [PATCH v2] app/testpmd: add mempool bulk get for txonly mode

2019-03-19 Thread Pavan Nikhilesh Bhagavatula
On Tue, 2019-03-19 at 16:48 +, Ferruh Yigit wrote: > On 3/1/2019 1:47 PM, Pavan Nikhilesh Bhagavatula wrote: > > From: Pavan Nikhilesh > > > > Use mempool bulk get ops to alloc burst of packets and process > > them. > > If bulk get fails fallback to rte_

Re: [dpdk-dev] [PATCH v3] build: use generic march on arm64 when using 'default' machine

2019-03-19 Thread Pavan Nikhilesh Bhagavatula
On Mon, 2019-01-07 at 14:11 +, Luca Boccassi wrote: > When building for generic distribution we need a stable baseline > architecture, or depending on the build worker the result will vary. > > Force the default flags if the user explicitly sets machine=default > at configuration time. > > Fi

Re: [dpdk-dev] [PATCH] app/eventdev: add option to set global dequeue tmo

2019-03-25 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Tuesday, March 19, 2019 3:16 PM > To: Pavan Nikhilesh Bhagavatula > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] app/eventdev: add option to set global > dequeue tmo > > On Tue, 2019-

Re: [dpdk-dev] [PATCH v2] app/testpmd: add mempool bulk get for txonly mode

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Iremonger, Bernard > Sent: Tuesday, March 26, 2019 5:20 PM > To: Thomas Monjalon ; Pavan Nikhilesh > Bhagavatula > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > arybche...@solarflare.com; Yigit, Ferruh > Subject: [EXT] RE: [

[dpdk-dev] [PATCH v3 1/2] app/testpmd: optimize testpmd txonly mode

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Optimize testpmd txonly mode by 1. Moving per packet ethernet header copy above the loop. 2. Use bulk ops for allocating segments instead of having a inner loop for every segment. Also, move the packet prepare logic into a separate function so that it can be reused later.

[dpdk-dev] [PATCH v3 2/2] app/testpmd: add mempool bulk get for txonly mode

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Use mempool bulk get ops to alloc burst of packets and process them. If bulk get fails fallback to rte_mbuf_raw_alloc. Tested-by: Yingya Han Suggested-by: Andrew Rybchenko Signed-off-by: Pavan Nikhilesh --- app/test-pmd/txonly.c | 37 ++--

[dpdk-dev] [PATCH] eal: make max interrupt vectors configurable

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Make max interrupt vectors configurable so that platforms can choose interrupt vector limit. Signed-off-by: Pavan Nikhilesh --- config/common_base | 1 + lib/librte_eal/common/include/rte_eal_interrupts.h | 2 +- 2 files changed, 2 insertio

[dpdk-dev] [PATCH v4 1/2] app/testpmd: optimize testpmd txonly mode

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Optimize testpmd txonly mode by 1. Moving per packet ethernet header copy above the loop. 2. Use bulk ops for allocating segments instead of having a inner loop for every segment. Also, move the packet prepare logic into a separate function so that it can be reused later.

[dpdk-dev] [PATCH v4 2/2] app/testpmd: add mempool bulk get for txonly mode

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Use mempool bulk get ops to alloc burst of packets and process them. If bulk get fails fallback to rte_mbuf_raw_alloc. Tested-by: Yingya Han Suggested-by: Andrew Rybchenko Signed-off-by: Pavan Nikhilesh --- app/test-pmd/txonly.c | 37 ++--

Re: [dpdk-dev] [PATCH] eal: make max interrupt vectors configurable

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Tuesday, March 26, 2019 6:38 PM > To: tho...@monjalon.net; Pavan Nikhilesh Bhagavatula > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] eal: make max interrupt vectors > configurable > &g

[dpdk-dev] [PATCH v2] eal: make max interrupt vectors configurable

2019-03-26 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Make max interrupt vectors configurable so that platforms can choose interrupt vector limit. Signed-off-by: Pavan Nikhilesh --- v2 Changes: - Add defaults for meson build. (Jerin Jacob) config/common_base | 1 + config/meson.build

[dpdk-dev] [PATCH v2] app/eventdev: add option to set global dequeue tmo

2019-03-27 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Add option to provide a global dequeue timeout that is used to create the eventdev. The dequeue timeout provided will be common across all the worker ports. If the eventdev hardware supports power management through dequeue timeout then this option can be used for verifying

Re: [dpdk-dev] [BUG] Maintainer for lib/librte_eal/common/rte_reciprocal.c?

2019-03-27 Thread Pavan Nikhilesh Bhagavatula
Hi Stefan, Thanks for the heads up, I am planning to use a modified version of https://github.com/hcs0/Hackers-Delight/blob/master/divluh.c.txt for simplicity as we don't require the remainder. Regards, Pavan. > -Original Message- > From: dev On Behalf Of Stefan Kanthak > Sent: Tuesday,

Re: [dpdk-dev] [PATCH v2] app/eventdev: add option to set global dequeue tmo

2019-03-28 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Thursday, March 28, 2019 10:56 AM > To: Pavan Nikhilesh Bhagavatula > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] app/eventdev: add option to set global > dequeue tmo > > On Wed, 2019-

[dpdk-dev] [PATCH v3] app/eventdev: add option to set global dequeue tmo

2019-03-29 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Add option to provide a global dequeue timeout that is used to create the eventdev. The dequeue timeout provided will be common across all the worker ports. If the eventdev hardware supports power management through dequeue timeout then this option can be used for verifying

[dpdk-dev] [PATCH v5 2/2] app/testpmd: add mempool bulk get for txonly mode

2019-03-31 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Use mempool bulk get ops to alloc burst of packets and process them. If bulk get fails fallback to rte_mbuf_raw_alloc. Tested-by: Yingya Han Suggested-by: Andrew Rybchenko Signed-off-by: Pavan Nikhilesh --- app/test-pmd/txonly.c | 37 ++--

[dpdk-dev] [PATCH v5 1/2] app/testpmd: optimize testpmd txonly mode

2019-03-31 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Optimize testpmd txonly mode by 1. Moving per packet ethernet header copy above the loop. 2. Use bulk ops for allocating segments instead of having a inner loop for every segment. Also, move the packet prepare logic into a separate function so that it can be reused later.

[dpdk-dev] [PATCH v3] eal: increase max number of interrupt vectors

2019-03-31 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh MSI-X permits a device to allocate up to 2048 interrupts as per PCIe spec. Increase the max number of vectors to a reasonable value of 512. Signed-off-by: Pavan Nikhilesh --- v3 Changes: - Instead of making it a configurable option set max vectors to a reasonable value

[dpdk-dev] [PATCH] ethdev: fix DMA zone reserve not honoring size

2019-03-31 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh The `rte_eth_dma_zone_reserve()` is generally used to create HW rings. In some scenarios when a driver needs to reconfigure the ring size since the named memzone already exists it returns the previous memzone without checking if a different sized ring is requested. Introduc

Re: [dpdk-dev] [EXT] Re: [PATCH] ethdev: fix DMA zone reserve not honoring size

2019-04-01 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Burakov, Anatoly > Sent: Monday, April 1, 2019 3:11 PM > To: Andrew Rybchenko ; Pavan Nikhilesh > Bhagavatula ; Jerin Jacob Kollanukkaran > ; tho...@monjalon.net; ferruh.yi...@intel.com; > step...@networkplumber.org > Cc: dev@d

Re: [dpdk-dev] [PATCH v5 1/2] app/testpmd: optimize testpmd txonly mode

2019-04-02 Thread Pavan Nikhilesh Bhagavatula
Hi Ali, > -Original Message- > From: Ali Alnubani > Sent: Tuesday, April 2, 2019 2:33 PM > To: Pavan Nikhilesh Bhagavatula > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; Thomas > Monjalon ; arybche...@solarflare.com; > ferruh.yi...@intel.com; bernard.iremon...@inte

[dpdk-dev] [PATCH v6 1/4] app/testpmd: move eth header generation outside the loop

2019-04-02 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Testpmd txonly copies the src/dst mac address of the port being processed to ethernet header structure on the stack for every packet. Move it outside the loop and reuse it. Signed-off-by: Pavan Nikhilesh --- v6 Changes - Rebase onto ToT. - Split the changes further v5

[dpdk-dev] [PATCH v6 4/4] app/testpmd: add mempool bulk get for txonly mode

2019-04-02 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Use mempool bulk get ops to alloc burst of packets and process them. If bulk get fails fallback to rte_mbuf_raw_alloc. Tested-by: Yingya Han Suggested-by: Andrew Rybchenko Signed-off-by: Pavan Nikhilesh --- app/test-pmd/txonly.c | 35 ++-

[dpdk-dev] [PATCH v6 3/4] app/testpmd: move pkt prepare logic into a separate function

2019-04-02 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Move the packet prepare logic into a separate function so that it can be reused later. Signed-off-by: Pavan Nikhilesh --- app/test-pmd/txonly.c | 163 +- 1 file changed, 83 insertions(+), 80 deletions(-) diff --git a/app/test-pmd/t

[dpdk-dev] [PATCH v6 2/4] app/testpmd: use bulk ops for allocating segments

2019-04-02 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Use bulk ops for allocating segments instead of having a inner loop for every segment. This reduces the number of calls to the mempool layer. Signed-off-by: Pavan Nikhilesh --- app/test-pmd/txonly.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

[dpdk-dev] [PATCH] app/testpmd: fix ether header size calculation

2019-04-08 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh Fix ether header size calculation in Tx only mode. Coverity issue: 337684 Fixes: 01b645dcff7f ("app/testpmd: move txonly prepare in separate function") Signed-off-by: Pavan Nikhilesh --- app/test-pmd/txonly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

Re: [dpdk-dev] [EXT] Re: [PATCH] app/testpmd: fix ether header size calculation

2019-04-08 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Bruce Richardson >Sent: Monday, April 8, 2019 5:28 PM >To: Pavan Nikhilesh Bhagavatula >Cc: Jerin Jacob Kollanukkaran ; tho...@monjalon.net; >dev@dpdk.org >Subject: [EXT] Re: [dpdk-dev] [PATCH] app/testpmd: fix ether header size >

Re: [dpdk-dev] [PATCH v2 04/11] examples/l3fwd: add ethdev setup based on eventdev

2019-12-29 Thread Pavan Nikhilesh Bhagavatula
>> -Original Message- >> From: dev On Behalf Of >> pbhagavat...@marvell.com >> Sent: Wednesday, December 4, 2019 8:14 PM >> To: jer...@marvell.com; Marko Kovacevic >; Ori >> Kam ; Bruce Richardson >> ; Radu Nicolau >; >> Akhil Goyal ; Tomasz Kantecki >> ; Sunil Kumar Kori >; >> Pavan Nik

Re: [dpdk-dev] [PATCH v2 04/11] examples/l3fwd: add ethdev setup based on eventdev

2020-01-01 Thread Pavan Nikhilesh Bhagavatula
>> >&local_port_conf); >> >> + if (ret < 0) >> >> + rte_exit(EXIT_FAILURE, >> >> + "Cannot configure device: err=%d, >> >> port=%d\n", >> >> + ret, port_id); >> >> + >> > >> >We should be using number of RX queues as per the

Re: [dpdk-dev] [PATCH v2 01/11] examples/l3fwd: add framework for event device

2020-01-05 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: dev On Behalf Of Ananyev, >Konstantin >Sent: Friday, January 3, 2020 6:19 PM >To: Pavan Nikhilesh Bhagavatula ; Jerin >Jacob Kollanukkaran ; Kovacevic, Marko >; Ori Kam ; >Richardson, Bruce ; Nicolau, Radu >; Akhil Goyal ; >Kante

Re: [dpdk-dev] [PATCH v2 07/11] examples/l3fwd: add service core setup based on caps

2020-01-05 Thread Pavan Nikhilesh Bhagavatula
>> diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c >> index 20df12748..69d212bc2 100644 >> --- a/examples/l3fwd/main.c >> +++ b/examples/l3fwd/main.c >> @@ -826,6 +826,93 @@ prepare_ptype_parser(uint16_t portid, >uint16_t queueid) >> return 0; >> } >> >> +static inline int >> +l3

Re: [dpdk-dev] [PATCH v2 08/11] examples/l3fwd: add event lpm main loop

2020-01-05 Thread Pavan Nikhilesh Bhagavatula
>> Add lpm main loop for handling events based on capabilities of the >> event device. >> >> Signed-off-by: Pavan Nikhilesh >> --- >> examples/l3fwd/l3fwd.h | 9 ++ >> examples/l3fwd/l3fwd_event.c | 9 ++ >> examples/l3fwd/l3fwd_event.h | 5 + >> examples/l3fwd/l3fwd_lpm.c | 231

Re: [dpdk-dev] [PATCH v2 09/11] examples/l3fwd: add event em main loop

2020-01-05 Thread Pavan Nikhilesh Bhagavatula
>> Add em main loop for handling events based on capabilities of the >> event device. >> >> Signed-off-by: Pavan Nikhilesh >> --- >> examples/l3fwd/l3fwd.h | 10 ++ >> examples/l3fwd/l3fwd_em.c| 177 >+++ >> examples/l3fwd/l3fwd_em.h|

Re: [dpdk-dev] [PATCH v2 10/11] examples/l3fwd: add graceful teardown for eventdevice

2020-01-05 Thread Pavan Nikhilesh Bhagavatula
>> Add graceful teardown that addresses both event mode and poll >mode. >> >> Signed-off-by: Pavan Nikhilesh >> --- >> examples/l3fwd/main.c | 49 ++- > >> 1 file changed, 34 insertions(+), 15 deletions(-) >> >> diff --git a/examples/l3fwd/main.c b/examples

Re: [dpdk-dev] [PATCH v2 10/11] examples/l3fwd: add graceful teardown for eventdevice

2020-01-07 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Ananyev, Konstantin >Sent: Monday, January 6, 2020 5:43 PM >To: Pavan Nikhilesh Bhagavatula ; Jerin >Jacob Kollanukkaran ; Kovacevic, Marko >; Ori Kam ; >Richardson, Bruce ; Nicolau, Radu >; Akhil Goyal ; >Kantecki, Tomasz ;

Re: [dpdk-dev] [PATCH v2 01/11] examples/l3fwd: add framework for event device

2020-01-07 Thread Pavan Nikhilesh Bhagavatula
>> >> +struct l3fwd_event_resources { >> >> + uint8_t sched_type; >> >> + uint8_t enabled; >> >> + uint8_t nb_args; >> >> + char **args; >> >> +}; >> >> + >> >> +static inline struct l3fwd_event_resources * >> >> +l3fwd_get_eventdev_rsrc(void) >> >> +{ >> >> + static const char name[RTE_MEMZONE_NAM

Re: [dpdk-dev] [PATCH] lmp: add lookup x4 with x4 default values

2020-01-13 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: dev On Behalf Of Medvedkin, >Vladimir >Sent: Monday, January 13, 2020 4:37 PM >To: Pavan Nikhilesh Bhagavatula ; Jerin >Jacob Kollanukkaran ; Bruce Richardson >; Gavin Hu >Cc: dev@dpdk.org >Subject: Re: [dpdk-dev] [PATCH] lmp: ad

Re: [dpdk-dev] [PATCH v5] eal: add manual probing option

2020-01-22 Thread Pavan Nikhilesh Bhagavatula
Ping @gr...@u256.net Since, you weren't reachable on regular email I rebased the patch on ToT and sent a v6 http://patches.dpdk.org/patch/64235/ >-Original Message- >From: dev On Behalf Of Gaetan Rivet >Sent: Friday, October 25, 2019 9:17 PM >To: dev@dpdk.org >Cc: Gaetan Rivet ; Vamsi K

Re: [dpdk-dev] [PATCH 01/27] eventdev: dlb upstream prerequisites

2020-06-30 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: dev On Behalf Of McDaniel, Timothy >Sent: Wednesday, July 1, 2020 12:57 AM >To: Jerin Jacob >Cc: Ray Kinsella ; Neil Horman >; Jerin Jacob Kollanukkaran >; Mattias Rönnblom >; dpdk-dev ; Eads, >Gage ; Van Haaren, Harry > >Subject: Re: [dpdk-dev] [PATCH 01/27]

Re: [dpdk-dev] [PATCH 1/6] app/test-eventdev: Enhancing perf-queue packet flow

2020-07-01 Thread Pavan Nikhilesh Bhagavatula
>Subject: [dpdk-dev] [PATCH 1/6] app/test-eventdev: Enhancing perf- >queue packet flow > >The event ethernet Tx adapter provides data path for the ethernet >transmit >stage. Enqueue a burst of events objects supplied on an event device. > NAK, please use pipeline_atq/queue to test Rx->Tx performan

Re: [dpdk-dev] [PATCH 5/6] app/test-eventdev: Enhancing perf-atq packet flow

2020-07-01 Thread Pavan Nikhilesh Bhagavatula
>Subject: [dpdk-dev] [PATCH 5/6] app/test-eventdev: Enhancing perf-atq >packet flow > >The event ethernet Tx adapter provides data path for the ethernet >transmit >stage. Enqueue a burst of events objects supplied on an event device. NAK, same as 1/6 use pipeline_atq/queue to test Rx->Tx performac

Re: [dpdk-dev] [PATCH 6/6] app/test-eventdev: fix eventdev queues

2020-07-01 Thread Pavan Nikhilesh Bhagavatula
>Subject: [dpdk-dev] [PATCH 6/6] app/test-eventdev: fix eventdev >queues > >In pipeline_queue test case, if event queues are greater than the >max event queues it will fail. Nak, it should fail. If sufficient queues are not available how would the pipeline work? /* * The pipeli

Re: [dpdk-dev] [PATCH v4 3/3] ipfrag: add unit test case

2020-04-15 Thread Pavan Nikhilesh Bhagavatula
>Initial IP fragmentation unit test. > >Signed-off-by: Aaron Conole >--- > MAINTAINERS| 1 + > app/test/meson.build | 2 + > app/test/test_ipfrag.c | 276 >+ > 3 files changed, 279 insertions(+) > create mode 100644 app/test/test_ipfrag.c >

Re: [dpdk-dev] [EXT] Re: [dpdk-dev v3] [PATCH] mempool/octeontx2: add devargs to lock ctx in cache

2020-04-21 Thread Pavan Nikhilesh Bhagavatula
>06/04/2020 10:39, Jerin Jacob: >> On Thu, Mar 26, 2020 at 12:04 PM >wrote: >> > >> > From: Pavan Nikhilesh >> > >> > Add device arguments to lock NPA aura and pool contexts in NDC >cache. >> > The device args take hexadecimal bitmask where each bit represent >the >> > corresponding aura/pool id.

Re: [dpdk-dev] [PATCH v3] examples/l2fwd: add cmdline option for forwarding port info

2020-04-27 Thread Pavan Nikhilesh Bhagavatula
>>diff --git a/doc/guides/sample_app_ug/l2_forward_real_virtual.rst >>b/doc/guides/sample_app_ug/l2_forward_real_virtual.rst >>index 39d6b0067..b54321b5b 100644 >>--- a/doc/guides/sample_app_ug/l2_forward_real_virtual.rst >>+++ b/doc/guides/sample_app_ug/l2_forward_real_virtual.rst >>@@ -91,7 +91,1

Re: [dpdk-dev] [PATCH] eal: Place EAL thread stack in a reserved per-lcore memzone

2020-04-27 Thread Pavan Nikhilesh Bhagavatula
> lib/librte_eal/linux/eal.c | 20 > 1 file changed, 20 insertions(+) > >diff --git a/lib/librte_eal/linux/eal.c b/lib/librte_eal/linux/eal.c >index 9530ee5..e047107 100644 >--- a/lib/librte_eal/linux/eal.c >+++ b/lib/librte_eal/linux/eal.c >@@ -68,6 +68,8 @@ > > #define KERNEL

Re: [dpdk-dev] [RFC] hash: unify crc32 API header for x86 and ARM

2020-04-30 Thread Pavan Nikhilesh Bhagavatula
>> -Original Message- >> From: dev On Behalf Of >pbhagavat...@marvell.com >> Sent: Wednesday, April 29, 2020 7:05 PM >> To: jer...@marvell.com; tho...@monjalon.net; Wang, Yipeng1 >> ; Gobriel, Sameh >; >> Richardson, Bruce ; Ruifeng Wang >> >> Cc: dev@dpdk.org; Pavan Nikhilesh >> Subject

Re: [dpdk-dev] [PATCH v4] mempool/octeontx2: add devargs to lock ctx in cache

2020-05-01 Thread Pavan Nikhilesh Bhagavatula
>Subject: [dpdk-dev] [PATCH v4] mempool/octeontx2: add devargs to >lock ctx in cache > >From: Pavan Nikhilesh > >Add device arguments to lock NPA aura and pool contexts in NDC cache. >The device args take hexadecimal bitmask where each bit represent the >corresponding aura/pool id. >Example: >

Re: [dpdk-dev] [PATCH v2] event/octeontx2: fix queue removal from Rx adapter

2020-05-01 Thread Pavan Nikhilesh Bhagavatula
>When eth port queue is removed from Rx adapter using >rte_event_eth_rx_adapter_queue_del() it incorrectly >initializes CQ context instead of modifying it. This >might lead to a crash when CQ context is modified >as a part of rte_eth_dev_stop() sequence as CQ will >hold invalid entries. This is res

Re: [dpdk-dev] [PATCH] examples/l3fwd: fix error checking

2020-05-01 Thread Pavan Nikhilesh Bhagavatula
>Subject: [PATCH] examples/l3fwd: fix error checking > >Patch fixes coverity issues which handle return values from AP >calling. > >Coverity issue: 354227, 354232, 354238, 354239, 354240 > >Fixes: aaf58cb85b62 ("examples/l3fwd: add event port and queue >setup") > >Signed-off-by: Sunil Kumar Kori

Re: [dpdk-dev] [PATCH v4] examples/l2fwd: add cmdline option for forwarding port info

2020-05-01 Thread Pavan Nikhilesh Bhagavatula
>Hi Vamsi & Pavan, > >I like this idea, couple of queries > >snipped >> +static int >> +check_port_pair_config(void) >> +{ >> +uint32_t port_pair_config_mask = 0; >> +uint32_t port_pair_mask = 0; >> +uint16_t index, i, portid; >> + >> +for (index = 0; index < nb_port_pair_params;

Re: [dpdk-dev] [PATCH] eventdev: fix device probe and remove for secondary process

2020-05-02 Thread Pavan Nikhilesh Bhagavatula
Hi Vipin, >Hi Pavan, > >snipped >> > > >> > > When probing event device in secondary process skip reinitializing >> > > the device data structure as it is already done in primary process. >> > > >> > > When removing event device in secondary process skip closing the >> > > event device as it shoul

Re: [dpdk-dev] [EXT] Re: [PATCH v4] mempool/octeontx2: add devargs to lock ctx in cache

2020-05-10 Thread Pavan Nikhilesh Bhagavatula
>01/05/2020 12:21, Pavan Nikhilesh Bhagavatula: >> >Subject: [dpdk-dev] [PATCH v4] mempool/octeontx2: add devargs >to >> >lock ctx in cache >> > >> >From: Pavan Nikhilesh >> > >> >Add device arguments to lock NPA aura and pool contexts

Re: [dpdk-dev] [RFC] hash: unify crc32 API header for x86 and ARM

2020-05-10 Thread Pavan Nikhilesh Bhagavatula
>> Subject: [dpdk-dev] [RFC] hash: unify crc32 API header for x86 and >ARM >> >> From: Pavan Nikhilesh >> >> Merge crc32 hash calculation public API headers for x86 and ARM, split >> implementations of x86 and ARM into their respective private >headers. >> This reduces the ifdef code clutter while

Re: [dpdk-dev] [RFC] hash: unify crc32 API header for x86 and ARM

2020-05-10 Thread Pavan Nikhilesh Bhagavatula
>> From: Pavan Nikhilesh >> >> Merge crc32 hash calculation public API headers for x86 and ARM, >> split implementations of x86 and ARM into their respective private >> headers. >> This reduces the ifdef code clutter while keeping current ABI intact. >> >> Although we install `rte_crc_arm64.h` it

Re: [dpdk-dev] [PATCH v4] examples/l2fwd: add cmdline option for forwarding port info

2020-05-10 Thread Pavan Nikhilesh Bhagavatula
Hi Vipin, >Hi Pavan, > >snipped >> > >> >Should we check & warn the user if >> >1. port speed mismatch >> >2. on different NUMA >> >3. port pairs are physical and vdev like tap, and KNI (performance). >> > >> >> Sure, it can be a separate patch as it will be applicable for multiple >examples. >I b

Re: [dpdk-dev] [RFC] hash: unify crc32 API header for x86 and ARM

2020-05-11 Thread Pavan Nikhilesh Bhagavatula
>> >> From: Pavan Nikhilesh >> >> >> >> Merge crc32 hash calculation public API headers for x86 and ARM, >> >> split implementations of x86 and ARM into their respective private >> >> headers. >> >> This reduces the ifdef code clutter while keeping current ABI >intact. >> >> >> >> Although we inst

Re: [dpdk-dev] [RFC] hash: unify crc32 API header for x86 and ARM

2020-05-11 Thread Pavan Nikhilesh Bhagavatula
>> >> >> From: Pavan Nikhilesh >> >> >> >> >> >> Merge crc32 hash calculation public API headers for x86 and >ARM, >> >> >> split implementations of x86 and ARM into their respective >private >> >> >> headers. >> >> >> This reduces the ifdef code clutter while keeping current ABI >> >intact. >> >>

Re: [dpdk-dev] [RFC] hash: unify crc32 API header for x86 and ARM

2020-05-11 Thread Pavan Nikhilesh Bhagavatula
>> >> >> >> From: Pavan Nikhilesh >> >> >> >> >> >> >> >> Merge crc32 hash calculation public API headers for x86 and >> >ARM, >> >> >> >> split implementations of x86 and ARM into their respective >> >private >> >> >> >> headers. >> >> >> >> This reduces the ifdef code clutter while keeping curre

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/2] common/octeontx2: move internal symbols to INTERNAL section

2020-05-13 Thread Pavan Nikhilesh Bhagavatula
>On 13/05/2020 09:58, David Marchand wrote: >> On Wed, May 13, 2020 at 3:05 AM >wrote: >>> diff --git a/devtools/libabigail.abignore >b/devtools/libabigail.abignore >>> index c9ee73cb3..dfe346db4 100644 >>> --- a/devtools/libabigail.abignore >>> +++ b/devtools/libabigail.abignore >>> @@ -48,3 +48,

Re: [dpdk-dev] [dpdk-dev v2] [PATCH] examples/l2fwd-event: add option to configure port pairs

2020-03-31 Thread Pavan Nikhilesh Bhagavatula
>> --- >> v2 Changes: >> - Fix minor formatting error. >> - Change uint8_t to bool. >[...] >> @@ -99,6 +103,69 @@ l2fwd_event_parse_eventq_sched(const char >*optarg, >> rsrc->sched_type = RTE_SCHED_TYPE_PARALLEL; >> } >> >> +static int >> +l2fwd_parse_port_pair_config(const char *q

Re: [dpdk-dev] [PATCH v3 01/33] meson: add libatomic as a global dependency for i686 clang

2020-03-31 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: dev On Behalf Of Bruce Richardson >Sent: Monday, March 30, 2020 6:47 PM >To: Jerin Jacob Kollanukkaran >Cc: Thomas Monjalon ; Pavan Nikhilesh >Bhagavatula ; Liang Ma >; Peter Mccarthy ; >Marko Kovacevic ; Ori Kam >; Radu Nico

Re: [dpdk-dev] [PATCH 1/2] build: meson make experimental tag as global

2020-04-02 Thread Pavan Nikhilesh Bhagavatula
an ; >david.march...@redhat.com; tho...@monjalon.net; >bruce.richard...@intel.com; mattias.ronnb...@ericsson.com; >ferruh.yi...@intel.com; arybche...@solarflare.com; >declan.dohe...@intel.com; olivier.m...@6wind.com; >nhor...@tuxdriver.com >Cc: dev@dpdk.org; Pavan Nikhilesh Bhagav

Re: [dpdk-dev] [PATCH 2/2] build: makefile make experimental tag as global

2020-04-02 Thread Pavan Nikhilesh Bhagavatula
> >On 4/2/2020 4:06 PM, pvnnikhil...@gmail.com wrote: >> From: Pavan Nikhilesh >> >> Make ALLOW_EXPERIMENTAL_API global across lib, drivers and apps. >> >> Signed-off-by: Pavan Nikhilesh > >I am OK to not require this flag for DPDK internally. > >But I remember this has been suggested when __rte_

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/2] build: meson make experimental tag as global

2020-04-03 Thread Pavan Nikhilesh Bhagavatula
> wrote: >> On Thu, Apr 2, 2020 at 8:33 PM Jerin Jacob >wrote: >> - You can still find traces in meson files. >> $ git grep -il allow.experimental.api |grep meson.build$ |grep -vE >> '^((app|drivers|lib)/meson.build|examples/)' >> app/test/meson.build >> drivers/net/e1000/base/meson.build >> drive

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/2] build: meson make experimental tag as global

2020-04-03 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Thomas Monjalon >Sent: Friday, April 3, 2020 4:26 PM >To: Pavan Nikhilesh Bhagavatula >Cc: David Marchand ; Jerin Jacob >; Ferruh Yigit ; Bruce >Richardson ; dev ; Neil >Horman >Subject: Re: [EXT] Re: [dpdk-dev] [PATC

Re: [dpdk-dev] [EXT] Re: [PATCH] test: add reassembly perf test

2020-04-03 Thread Pavan Nikhilesh Bhagavatula
>> From: Pavan Nikhilesh >> >> Add reassembly perf autotest for both ipv4 and ipv6 reassembly. >> Each test is performed with vairable number of fragments per flow, >> either ordered or unorderd fragments and interleaved flows. >> >> Signed-off-by: Pavan Nikhilesh >> --- >> app/test/meson.build

Re: [dpdk-dev] [EXT] [PATCH v1 0/4] add RegEx class

2020-04-04 Thread Pavan Nikhilesh Bhagavatula
Hi Ori, Looks like the series is missing support for virtual devices i.e. vdev @see rte_eventdev_pmd_vdev.h, rte_ethdev_vdev.h. Hyperscan and PCRE based regexdev would need vdev support. Thanks, Pavan. >This patch set adds the RegEx class, which enables RegEx pattern >matching, both on HW/SW

Re: [dpdk-dev] [EXT] [PATCH v1 4/4] regexdev: implement regex rte level functions

2020-04-04 Thread Pavan Nikhilesh Bhagavatula
>This commit implements all the RegEx public API. > >Signed-off-by: Ori Kam >--- > lib/librte_regexdev/rte_regexdev.c | 298 >+ > 1 file changed, 298 insertions(+) > >diff --git a/lib/librte_regexdev/rte_regexdev.c >b/lib/librte_regexdev/rte_regexdev.c >index 439

Re: [dpdk-dev] [EXT] [PATCH v1 3/4] regexdev: add regexdev core functions

2020-04-04 Thread Pavan Nikhilesh Bhagavatula
Looks like this implementation is incomplete? I don't see any pmd specific helper functions for @see rte_cryptodev_pmd.c, rte_eventdev_pmd* >This commit introduce the API that is needed by the RegEx devices in >order to work with the RegEX lib. > >During the probe of a RegEx device, the device sh

Re: [dpdk-dev] [EXT] [PATCH v1 1/4] regexdev: introduce regexdev subsystem

2020-04-04 Thread Pavan Nikhilesh Bhagavatula
> # >+# Compile regex device support >+# >+CONFIG_RTE_LIBRTE_REGEXDEV=y >+CONFIG_RTE_LIBRTE_REGEXDEV_DEBUG=n The above flag is never used in the patchset. >+ >+# > # Compile librte_ring > # > CONFIG_RTE_LIBRTE_RING=y >@@ -,3 +1117,4 @@ CONFIG_RTE_APP_CRYPTO_PERF=y > # Compile the eventdev a

Re: [dpdk-dev] [PATCH v3 4/4] ipfrag: add unit test case

2020-04-04 Thread Pavan Nikhilesh Bhagavatula
>Subject: [dpdk-dev] [PATCH v3 4/4] ipfrag: add unit test case > >Initial IP fragmentation unit test. > >Signed-off-by: Aaron Conole >--- > MAINTAINERS| 1 + > app/test/meson.build | 2 + > app/test/test_ipfrag.c | 277 >+ > 3 files changed, 2

Re: [dpdk-dev] [EXT] [PATCH v1 4/4] regexdev: implement regex rte level functions

2020-04-05 Thread Pavan Nikhilesh Bhagavatula
>> >+ >> >+int >> >+rte_regexdev_configure(uint8_t dev_id, const struct >> >rte_regexdev_config *cfg) >> >+{ >> >+ if (dev_id >= RTE_MAX_REGEXDEV_DEVS) >> >+ return -EINVAL; >> >+ if (regex_devices[dev_id] == NULL) >> >+ return -EINVAL; >> >+ if (cfg == NULL) >> >+

Re: [dpdk-dev] [EXT] [PATCH v1 3/4] regexdev: add regexdev core functions

2020-04-05 Thread Pavan Nikhilesh Bhagavatula
Hi Ori, >> From: dev On Behalf Of Pavan Nikhilesh >Bhagavatula >> >> Looks like this implementation is incomplete? >> I don't see any pmd specific helper functions for @see >rte_cryptodev_pmd.c, >> rte_eventdev_pmd* >> >I think the current imple

Re: [dpdk-dev] [EXT] [PATCH v1 4/4] regexdev: implement regex rte level functions

2020-04-06 Thread Pavan Nikhilesh Bhagavatula
>> From: Pavan Nikhilesh Bhagavatula >> > >+uint16_t >> > >+rte_regexdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id, >> > >+struct rte_regex_ops **ops, uint16_t nb_ops) >> > >+{ >> > >+ return

Re: [dpdk-dev] [EXT] [PATCH v1 3/4] regexdev: add regexdev core functions

2020-04-06 Thread Pavan Nikhilesh Bhagavatula
Hi Ori, >Hi Pavan, > >> -Original Message- >> From: dev On Behalf Of Pavan Nikhilesh >Bhagavatula >> Sent: Sunday, April 5, 2020 8:11 PM >> To: Ori Kam ; Jerin Jacob Kollanukkaran >> ; xiang.w.w...@intel.com >> Cc: dev@dpdk.org; Shahaf Sh

Re: [dpdk-dev] [EXT] [PATCH v1 4/4] regexdev: implement regex rte level functions

2020-04-06 Thread Pavan Nikhilesh Bhagavatula
>06/04/2020 14:33, Pavan Nikhilesh Bhagavatula: >> >> From: Pavan Nikhilesh Bhagavatula >> >> > >+uint16_t >> >> > >+rte_regexdev_enqueue_burst(uint8_t dev_id, uint16_t >qp_id, >> >> > >+ struct r

Re: [dpdk-dev] [EXT] [PATCH v1 4/4] regexdev: implement regex rte level functions

2020-04-06 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Thomas Monjalon >Sent: Monday, April 6, 2020 7:07 PM >To: Pavan Nikhilesh Bhagavatula >Cc: Ori Kam ; Jerin Jacob Kollanukkaran >; xiang.w.w...@intel.com; dev@dpdk.org; >Shahaf Shuler ; hemant.agra...@nxp.com; >Opher Reviv ; Alex Ros

Re: [dpdk-dev] [PATCH] examples/l2fwd-event: fix return value handling from API

2020-02-02 Thread Pavan Nikhilesh Bhagavatula
>Subject: [PATCH] examples/l2fwd-event: fix return value handling from >API > >Patch fixes coverity issues which handles return values from API >calling. > >Coverity issue: 350588 >Coverity issue: 350594 >Coverity issue: 350598 >Coverity issue: 350599 > >Fixes: 3b5476db4823 ("examples/l2fwd-event:

<    1   2   3   4   5   6   >