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

2019-03-26 Thread Iremonger, Bernard
: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > > Subject: [dpdk-dev] [PATCH v4 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 ops f

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