2016-02-24 14:47, Ilya Maximets: > Implementation of rte_vhost_enqueue_burst() based on lockless ring-buffer > algorithm and contains almost all to be thread-safe, but it's not. > > This set adds required changes. > > First patch in set is a standalone patch that fixes many times discussed > issue with barriers on different architectures. > > Second and third adds fixes to make rte_vhost_enqueue_burst thread safe.
My understanding is that we do not want to pollute Rx/Tx with locks. Huawei, Yuanhan, Bruce, do you confirm?