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

2019-04-02 Thread Pavan Nikhilesh Bhagavatula
l.com > Subject: [EXT] RE: [dpdk-dev] [PATCH v5 1/2] app/testpmd: optimize testpmd > txonly mode > > External Email > > -- > Hi Pavan, > > > -Original Message- > > From: dev On B

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

2019-04-02 Thread Ali Alnubani
Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > > Subject: [dpdk-dev] [PATCH v5 1/2] app/testpmd: optimize testpmd txonly > mode > > From: Pavan Nikhilesh > > Optimize testpmd txonly mode by > 1. Moving per packet ethernet header copy above the loop. > 2. Use bulk op

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

2019-04-02 Thread Jerin Jacob Kollanukkaran
On Tue, 2019-04-02 at 09:06 +0200, Thomas Monjalon wrote: > 02/04/2019 03:03, Jerin Jacob Kollanukkaran: > > On Mon, 2019-04-01 at 22:53 +0200, Thomas Monjalon wrote: > > > 01/04/2019 22:25, Ferruh Yigit: > > > > On 3/31/2019 2:14 PM, Pavan Nikhilesh Bhagavatula wrote: > > > > > From: Pavan Nikhile

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

2019-04-02 Thread Thomas Monjalon
02/04/2019 03:03, Jerin Jacob Kollanukkaran: > On Mon, 2019-04-01 at 22:53 +0200, Thomas Monjalon wrote: > > 01/04/2019 22:25, Ferruh Yigit: > > > On 3/31/2019 2:14 PM, Pavan Nikhilesh Bhagavatula wrote: > > > > From: Pavan Nikhilesh > > > > > > > > Optimize testpmd txonly mode by > > > > 1. Movi

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

2019-04-01 Thread Jerin Jacob Kollanukkaran
On Mon, 2019-04-01 at 22:53 +0200, Thomas Monjalon wrote: > 01/04/2019 22:25, Ferruh Yigit: > > On 3/31/2019 2:14 PM, Pavan Nikhilesh Bhagavatula wrote: > > > From: Pavan Nikhilesh > > > > > > Optimize testpmd txonly mode by > > > 1. Moving per packet ethernet header copy above the loop. > > > 2.

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

2019-04-01 Thread Thomas Monjalon
01/04/2019 22:25, Ferruh Yigit: > On 3/31/2019 2:14 PM, Pavan Nikhilesh Bhagavatula wrote: > > 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 > >

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

2019-04-01 Thread Ferruh Yigit
On 3/31/2019 2:14 PM, Pavan Nikhilesh Bhagavatula wrote: > 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

[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.