On 23 Jul 2021, at 23:11, Ilya Maximets wrote:
> Atomic variables must be read atomically. And since we already have
> 'smc_enable_db' in the PMD context, we need to use it from there to
> avoid reading atomically twice.
>
> Also, 'smc_enable_db' is a global configuration, there is no need
> to read it per-port or per-rxq.
>
> CC: Harry van Haaren <[email protected]>
> Fixes: 9ac84a1a3698 ("dpif-avx512: Add ISA implementation of dpif.")
> Signed-off-by: Ilya Maximets <[email protected]>
Changes look good to me.
Acked-by: Eelco Chaudron <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev