Re: [vpp-dev] Duplicate Prefetching of 128 bytes memory.

2017-08-28 Thread Damjan Marion (damarion)
> On 27 Aug 2017, at 12:04, mrityunjay.kum...@wipro.com wrote: > > Dear Team > I would like bring it to your kind notice of below code of vpp-1707-dpdk > plunging. > > static_always_inline void dpdk_prefetch_buffer_by_index (vlib_main_t * vm, > u32 bi) > { > vlib_buffer_t *b; > struct rte

[vpp-dev] Duplicate Prefetching of 128 bytes memory.

2017-08-28 Thread mrityunjay.kum...@wipro.com
Dear Team I would like bring it to your kind notice of below code of vpp-1707-dpdk plunging. static_always_inline void dpdk_prefetch_buffer_by_index (vlib_main_t * vm, u32 bi) { vlib_buffer_t *b; struct rte_mbuf *mb; b = vlib_get_buffer (vm, bi); mb = rte_mbuf_from_vlib_buffer (b); CLI