net/hns3: refactor optimised register write
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 30 Apr 2021 06:28:46 +0000 (14:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 May 2021 16:02:14 +0000 (18:02 +0200)
commit2aca65258eb68cafc2238df56b8d36b0e8410f4c
tree6db506a583498448558a235a017eb6f8136a9564
parent116e3399c06cf408fade9fc2a88c3c783794f7ac
net/hns3: refactor optimised register write

This patch modifies hns3_write_reg_opt() API implementation because
the rte_write32() already uses rte_io_wmb().

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.h