[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid
Zoltan Kiss
zoltan.kiss at linaro.org
Fri Sep 25 19:42:07 CEST 2015
On 25/09/15 04:47, Mcnamara, John wrote:
>> -----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.
Sorry, my bad, I'll resend
>
> John.
>
>
More information about the dev
mailing list