[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

Mcnamara, John john.mcnamara at intel.com
Fri Sep 25 13:47:47 CEST 2015


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss
> Sent: Friday, September 25, 2015 1:23 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer
> becomes valid
> 
> +               if (split_packet) {
> +                       rte_prefetch0(&rx_pkts[pos]->cacheline1);
> +                       rte_prefetch0(&rx_pkts[pos + 1]->cacheline1);
> +                       rte_prefetch0(&rx_pkts[pos + 2]->cacheline1);
> +                       rte_prefetch0(&rx_pkts[pos + 3]->cacheline1);
> +               }
> +
>                 /* A* mask out 0~3 bits RSS type */
>                 descs[3] = _mm_and_si128(descs0[3], desc_mask);
>                 descs[2] = _mm_and_si128(descs0[2], desc_mask);

Hi,

This patch doesn't apply cleanly. It looks like all the tabs have been replaced with spaces.

John.




More information about the dev mailing list