[dpdk-dev] [PATCH] net/virtio: enable packet data prefetch on x86

David Marchand david.marchand at redhat.com
Wed Nov 11 16:45:25 CET 2020


On Wed, Nov 11, 2020 at 4:40 PM Marvin Liu <yong.liu at intel.com> wrote:
>
> Data prefetch instruction can preload data into cpu’s hierarchical
> cache before data access. Virtio datapath utilized this feature for
> data access acceleration. As config RTE_PMD_PACKET_PREFETCH was
> discarded, now packet data prefetch is enabled based on architecture.

IIUC, this config item was set for all architectures under make compilation.

$ git grep RTE_PMD_PACKET_PREFETCH v20.08 config/
v20.08:config/common_base:CONFIG_RTE_PMD_PACKET_PREFETCH=y

Now that we switched to meson, it got lost and this patch only
restores it for x86.
Can other architectures check this?


Thanks.

-- 
David Marchand



More information about the dev mailing list