HomeFreeBSD

mlx5_core: remove unneccessary LFENCE instruction.

Description

mlx5_core: remove unneccessary LFENCE instruction.

Use fence instead of barrier, which is optimized to take advantage of
the x86 TSO memory model.

Reviewed by: hselasky
Sponsored by: Mellanox Technologies
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS362886: linuxkpi: improvements for linux_pid_task() and linux_get_pid_task().
Branches
Unknown
Tags
Unknown