On 9/16/2019 12:27 PM, Gavin Hu wrote: > DPDK has well-defined barriers, such as CIO barriers and IO barriers. > > X86, as a strong ordering model, implements the barriers as compiler > barriers, but on aarch64, as a weak memory ordering model, has fine > grained barriers. Using correct while as relaxed as possible barriers > makes a perf difference. > > Upon investigation on a batch of PMDs and it was found that the barriers > are not always used correctly or relaxedly enough. > > This series of patches is to optimize the barrier usage with some selected > PMDs and aim at best performance on all arches/platforms. > > More PMDs may come next to this series but it takes time. > > Gavin Hu (5): > net/i40e: use relaxed and remove duplicate barrier > net/ice: use relaxed and remove duplicate barrier > net/bnxt: remove duplicate barrier > net/bnxt: replace with cio barrier for doorbell resp > net/bnxt: enforce io barrier for doorbell command
Series applied to dpdk-next-net/master, thanks.