[dpdk-dev] [PATCH v1 0/2] virtio: restrict pointer aliasing for loops vectorization

Joyce Kong joyce.kong at arm.com
Thu Jun 11 05:32:46 CEST 2020


This series is to optimize the virtio performance by using restrict
pointer aliasing, which allows the compiler to vectorize loops more
aggressively.

The patches were benchmarked by running PVP case on ThunderX2 platform
and showed positive performance results.

Joyce Kong (2):
  net/virtio: restrict pointer aliasing for NEON vpmd
  lib/vhost: restrict pointer aliasing for packed path

 drivers/net/virtio/virtio_rxtx_simple_neon.c |  4 ++--
 lib/librte_vhost/virtio_net.c                | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

-- 
2.27.0



More information about the dev mailing list