gpudev: remove unnecessary memory barrier
authorElena Agostini <eagostini@nvidia.com>
Thu, 25 Nov 2021 22:40:54 +0000 (22:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Nov 2021 11:26:46 +0000 (12:26 +0100)
commit579147d7aab5e7a999751b0c482bf2f1a9d7dda5
tree44c6265b3d62a6d9b49e206449347453157524b5
parent80b32fa702049db33b4dee043b0c029b9b626231
gpudev: remove unnecessary memory barrier

Remove unnecessary rte_gpu_wmb from rte_gpu_comm_populate_list_pkts.
It causes a performance degradation in case of NVIDIA GPU V100.

This change doesn't affect any functionality as the status resides
in CPU registered memory.

Fixes: c7ebd65c1372 ("gpudev: add communication list")

Signed-off-by: Elena Agostini <eagostini@nvidia.com>
lib/gpudev/gpudev.c