[ovs-git] [openvswitch/ovs] 3343f8: netdev: use acquire-release semantics for change_s...
noreply at github.com
Mon Dec 2 22:53:49 UTC 2019
Author: Yanqin Wei <Yanqin.Wei at arm.com>
Date: 2019-12-02 (Mon, 02 Dec 2019)
netdev: use acquire-release semantics for change_seq in netdev
"rxq_enabled" of netdev is writen in the vhost thread and read by pmd
thread once it observes 'change_seq' is updated. This patch is to keep
order on aarch64 or other weak memory model CPU to ensure 'rxq_enabled' is
observed before 'change_seq'.
Reviewed-by: Gavin Hu <Gavin.Hu at arm.com>
Signed-off-by: Yanqin Wei <Yanqin.Wei at arm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git