Re: [dpdk-dev] [PATCH 2/4] examples/l3fwd: eliminate unnecessary calculations

2021-04-13 Thread Jerin Jacob
On Thu, Mar 18, 2021 at 3:56 PM Ruifeng Wang wrote: > > Both L2 and L3 headers will be used in forward processing. And these > two headers are in the same cache line. It has the same effect for > prefetching with L2 header address and prefetching with L3 header > address. > > Changed to use L2 hea

[dpdk-dev] [PATCH 2/4] examples/l3fwd: eliminate unnecessary calculations

2021-03-18 Thread Ruifeng Wang
Both L2 and L3 headers will be used in forward processing. And these two headers are in the same cache line. It has the same effect for prefetching with L2 header address and prefetching with L3 header address. Changed to use L2 header address for prefetching. The change showed no measurable perfo