[ovs-dev] [PATCH v2] netdev: use acquire-release semantics for change_seq in netdev

Ben Pfaff blp at ovn.org
Mon Dec 2 22:53:52 UTC 2019


On Tue, Nov 26, 2019 at 03:35:23PM +0800, Yanqin Wei wrote:
> "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>

Thanks, applied to master.


More information about the dev mailing list